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";
|
@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 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 input = builder(flavor, accent);
|
||||||
const result = sass.compileString(input, {
|
const result = sass.compileString(input, {
|
||||||
loadPaths: [
|
loadPaths: [
|
||||||
|
|
Loading…
Reference in a new issue