fix: only build accent colors, skip text through crust

This commit is contained in:
winston 2023-03-26 18:05:15 +02:00
parent b45ffcda64
commit 0362a838df
No known key found for this signature in database
GPG key ID: 3786770EDBC2B481

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: [