Add darkmode on customCSS

This commit is contained in:
Mumbi Francis
2024-01-30 17:46:04 +03:00
parent cbcf3dd422
commit 88608fbb08
2 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ func DefaultCSS(log *zap.Logger, customCSS string) string {
func Transpile(transpiler *godartsass.Transpiler, log *zap.Logger, themeID, themeSASS, customCSS, sassDirPath string) (err error) {
// process root section
err = processSass(transpiler, log, SectionRoot, themeID, themeSASS, customCSS, sassDirPath)
err = processSass(transpiler, log, SectionRoot, themeID, themeSASS, "", sassDirPath)
if err != nil {
return err
}