Skip to content

Commit efbe600

Browse files
committed
тема
1 parent e803328 commit efbe600

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

_layouts/default.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ <h1>{{ site.title }}</h1>
6060
const themeIcon = document.getElementById('themeIcon');
6161
const body = document.body;
6262

63-
// Check for saved theme preference or default to 'light'
64-
const currentTheme = localStorage.getItem('theme') || 'light';
63+
// Check for saved theme preference or default to 'dark'
64+
const currentTheme = localStorage.getItem('theme') || 'dark';
6565
body.setAttribute('data-theme', currentTheme);
6666
updateThemeIcon(currentTheme);
6767

0 commit comments

Comments
 (0)