aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-08-04 20:08:13 +0200
committerV <vendicated@riseup.net>2023-08-04 20:08:13 +0200
commit3e7d4e2623f03c5d436fca0434b2bc924c396620 (patch)
tree643376cc2ca1a086a6a32a079a27199770ee7279
parentd3691f74c47c611faeff261e379f52cd4e6ca417 (diff)
downloadVencord-3e7d4e2623f03c5d436fca0434b2bc924c396620.tar.gz
Vencord-3e7d4e2623f03c5d436fca0434b2bc924c396620.tar.bz2
Vencord-3e7d4e2623f03c5d436fca0434b2bc924c396620.zip
make QuickCSS have priority over themes
-rw-r--r--src/utils/quickCss.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/quickCss.ts b/src/utils/quickCss.ts
index 488dcfb..eee39ab 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);