We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f60787a commit 72c475bCopy full SHA for 72c475b
src/theme/app/ThemeManager.js
@@ -58,7 +58,8 @@ export const ThemeManagerProvider = (props) => {
58
const root = window.document.documentElement;
59
const initialColorValue = (root.style.getPropertyValue("--initial-color-mode") || "").trim();
60
const actualTheme = window.__theme || initialColorValue || ThemeSetting.LIGHT;
61
-
+
62
+ // Get stored theme from localStorage
63
const storedTheme = localStorage.getItem(DarkThemeKey);
64
65
if (storedTheme && storedTheme !== ThemeSetting.SYSTEM) {
0 commit comments