Summary Files Commits Branches @commit @diff @stats
path: root / src / scripts / theme-changer-preload.js
diff options
context:
space:
mode:
Commitd2c7b4eb144d674ad174bf33b43706e7a967ae9f (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-12-11 10:57:42 +0200
Committer
 Syndamia <kamen@syndamia.com>
2023-12-11 10:57:42 +0200
Filesc366cfab1674a90852dd2a3c6c2aad33032f8e23 /src/scripts/theme-changer-preload.js
syndamia.com-d2c7b4eb144d674ad174bf33b43706e7a967ae9f.tar
syndamia.com-d2c7b4eb144d674ad174bf33b43706e7a967ae9f.tar.gz
syndamia.com-d2c7b4eb144d674ad174bf33b43706e7a967ae9f.zip
Parent7e0ce6bdc7d2d46662ba5adc90a63f195f64ae1c (diff)
(styling-preload) Combined js-styling-preload and theme-changer-preload into one
1 files changed, 0 insertions, 4 deletions
-rw-r--r--src/scripts/theme-changer-preload.js4
diff --git a/src/scripts/theme-changer-preload.js b/src/scripts/theme-changer-preload.js
deleted file mode 100644
index bb53b6c..0000000
--- a/src/scripts/theme-changer-preload.js
+++ /dev/null
@@ -1,4 +0,0 @@
-const darkThemeStyle = document.styleSheets[1];
-
-if (localStorage.getItem('theme') === 'light')
- darkThemeStyle.disabled = true;