diff --git a/src/utils/themes/usercss/compiler.ts b/src/utils/themes/usercss/compiler.ts index 5acfc805b..471557752 100644 --- a/src/utils/themes/usercss/compiler.ts +++ b/src/utils/themes/usercss/compiler.ts @@ -79,7 +79,7 @@ export async function compileUsercss(fileName: string) { switch (v.type) { case "checkbox": { if (["less", "stylus"].includes(preprocessor)) { - varsToPass[k] = varsToPass[k] ? "1" : "0"; + varsToPass[k] = varsToPass[k] === "1" ? "true" : "false"; } break; }