diff --git a/assets/js/theme.js b/assets/js/theme.js index 07a7fe248000..7a09310f256f 100644 --- a/assets/js/theme.js +++ b/assets/js/theme.js @@ -201,11 +201,11 @@ let transTheme = () => { }, 500); }; -// Determine the expected state of the theme toggle, which can be "dark" or "light". Default is "light". +// Determine the expected state of the theme toggle, which can be "dark" or "light". Default is "dark". let determineThemeSetting = () => { let themeSetting = localStorage.getItem("theme"); if (themeSetting != "dark" && themeSetting != "light") { - themeSetting = "light"; + themeSetting = "dark"; } return themeSetting; };