Skip to content

Commit cdb0a45

Browse files
committed
fix(preprocess): add missing --spice-main-elevated
1 parent 3f16dbd commit cdb0a45

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/preprocess/preprocess.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,13 @@ func colorVariableReplace(content string) string {
305305
return "var(--spice-card)"
306306
},
307307
},
308+
{
309+
Name: "CSS: --spice-main-elevated",
310+
Regex: "#(242424|1f1f1f)",
311+
Replacement: func(submatches ...string) string {
312+
return "var(--spice-main-elevated)"
313+
},
314+
},
308315
{
309316
Name: "CSS: --spice-main",
310317
Regex: "#121212",

0 commit comments

Comments
 (0)