Skip to content

Commit fdff54a

Browse files
authored
Swap light and dark toggle
1 parent 7fe549f commit fdff54a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/head/custom.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@
295295
const icon = button.querySelector('.theme-toggle-icon');
296296
const text = button.querySelector('.theme-toggle-text');
297297

298-
if (currentTheme === THEME_DARK) {
298+
if (currentTheme === THEME_LIGHT) {
299299
icon.innerHTML = '☀️';
300300
text.textContent = 'Light';
301301
button.setAttribute('aria-label', 'Switch to light mode');

0 commit comments

Comments
 (0)