2 Commits

Author SHA1 Message Date
winston
0be3601c50 docs: link to latest release 2023-03-26 18:06:07 +02:00
winston
0362a838df fix: only build accent colors, skip text through crust 2023-03-26 18:05:15 +02:00
2 changed files with 19 additions and 2 deletions

View File

@@ -36,7 +36,7 @@
## Usage
1. Download the latest release.
1. Download the [latest release](https://github.com/catppuccin/gitea/releases/latest).
2. Place the CSS files in your `$GITEA_CUSTOM/public/css` directory.
3. Add the themes to your [`app.ini`](https://docs.gitea.io/en-us/customizing-gitea/#customizing-the-look-of-gitea).
4. Restart your Gitea instance.

View File

@@ -10,8 +10,25 @@ $isDark: ${flavor !== "latte"};
@import "theme";
`;
const accents = [
"rosewater",
"flamingo",
"pink",
"mauve",
"red",
"maroon",
"peach",
"yellow",
"green",
"teal",
"sky",
"sapphire",
"blue",
"lavender",
];
for (const flavor of Object.keys(ctp.variants)) {
for (const accent of Object.keys(ctp.labels)) {
for (const accent of accents) {
const input = builder(flavor, accent);
const result = sass.compileString(input, {
loadPaths: [