diff --git a/src/plugins/clientTheme/index.tsx b/src/plugins/clientTheme/index.tsx index c0e447de0..4051910ec 100644 --- a/src/plugins/clientTheme/index.tsx +++ b/src/plugins/clientTheme/index.tsx @@ -163,8 +163,7 @@ function generateColorOffsets(styles) { source: [ `.theme-light {\n ${genThemeSpecificOffsets(variableLightness, lightVariableRegex, "--primary-345-hsl")} \n}`, `.theme-dark {\n ${genThemeSpecificOffsets(variableLightness, darkVariableRegex, "--primary-600-hsl")} \n}`, - ].join("\n\n"), - enabled: true + ].join("\n\n") }); } @@ -197,8 +196,7 @@ function generateLightModeFixes(styles) { reassignBackgrounds, reassignBackgroundColors, reassignVariables, - ].join("\n\n"), - enabled: true + ].join("\n\n") }); } @@ -220,8 +218,7 @@ function updateColorVars(color: string) { --theme-h: ${hue}; --theme-s: ${saturation}%; --theme-l: ${lightness}%; - }`, - enabled: true + }` }); } diff --git a/src/utils/quickCss.ts b/src/utils/quickCss.ts index 70a1129bf..1002ea8a1 100644 --- a/src/utils/quickCss.ts +++ b/src/utils/quickCss.ts @@ -29,8 +29,7 @@ async function initSystemValues() { setStyle({ name: "vencord-os-theme-values", - source: `:root{${variables}}`, - enabled: true + source: `:root{${variables}}` }); } @@ -72,8 +71,7 @@ async function initThemes() { setStyle({ name: "vencord-themes", - source: links.map(link => `@import url("${link.trim()}");`).join("\n"), - enabled: true + source: links.map(link => `@import url("${link.trim()}");`).join("\n") }); }