|
@@ -32,7 +32,7 @@
|
|
|
|
|
|
function applyTheme(theme: string) {
|
|
function applyTheme(theme: string) {
|
|
localStorage.theme = theme;
|
|
localStorage.theme = theme;
|
|
- const themeClassList = document.documentElement.classList;
|
|
|
|
|
|
+
|
|
if (theme === 'system') {
|
|
if (theme === 'system') {
|
|
updateSystemTheme();
|
|
updateSystemTheme();
|
|
return;
|
|
return;
|