Skip to content

Commit c252941

Browse files
committed
classic is defualt theme
1 parent f35018b commit c252941

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/lightDarkToggle.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="theme-switcher">
22
<select id="theme-select">
3-
<option value="classic">Classic</option>
3+
<option value="classic" selected>Classic</option>
44
<option value="future">Future</option>
55
<option value="vintage">Vintage</option>
66
<option value="ocean">Ocean</option>

static/assets/scripts/lightDarkToggle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ document.addEventListener('DOMContentLoaded', () => {
1313
setTheme(themeSelect.value);
1414
});
1515

16-
const savedTheme = localStorage.getItem('theme') || 'vintage';
16+
const savedTheme = localStorage.getItem('theme') || 'classic';
1717
setTheme(savedTheme);
1818
});

0 commit comments

Comments
 (0)