We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e803328 commit efbe600Copy full SHA for efbe600
1 file changed
_layouts/default.html
@@ -60,8 +60,8 @@ <h1>{{ site.title }}</h1>
60
const themeIcon = document.getElementById('themeIcon');
61
const body = document.body;
62
63
- // Check for saved theme preference or default to 'light'
64
- const currentTheme = localStorage.getItem('theme') || 'light';
+ // Check for saved theme preference or default to 'dark'
+ const currentTheme = localStorage.getItem('theme') || 'dark';
65
body.setAttribute('data-theme', currentTheme);
66
updateThemeIcon(currentTheme);
67
0 commit comments