mirror of
https://github.com/catppuccin/gitea.git
synced 2024-11-21 22:21:01 -05:00
fix: only build accent colors, skip text through crust
This commit is contained in:
parent
b45ffcda64
commit
0362a838df
1 changed files with 18 additions and 1 deletions
19
build.js
19
build.js
|
@ -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: [
|
||||
|
|
Loading…
Reference in a new issue