fix: only build accent colors, skip text through crust
parent
b45ffcda64
commit
0362a838df
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 New Issue