From 3e7d4e2623f03c5d436fca0434b2bc924c396620 Mon Sep 17 00:00:00 2001 From: V Date: Fri, 4 Aug 2023 20:08:13 +0200 Subject: [PATCH] make QuickCSS have priority over themes --- src/utils/quickCss.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/quickCss.ts b/src/utils/quickCss.ts index 488dcfb5..eee39ab5 100644 --- a/src/utils/quickCss.ts +++ b/src/utils/quickCss.ts @@ -66,10 +66,11 @@ async function initThemes() { } document.addEventListener("DOMContentLoaded", () => { + initThemes(); + toggle(Settings.useQuickCss); addSettingsListener("useQuickCss", toggle); - initThemes(); addSettingsListener("themeLinks", initThemes); addSettingsListener("enabledThemes", initThemes);