There was an error while loading. Please reload this page.
1 parent 9f75a01 commit 41f2f20Copy full SHA for 41f2f20
1 file changed
assets/nav.js
@@ -97,7 +97,7 @@
97
document.body.setAttribute('data-dark', on ? '1' : '');
98
const btn = document.getElementById('nav-dark-btn');
99
if (btn) {
100
- btn.textContent = on ? '☀️' : '🌙';
+ btn.textContent = on ? '☀️ Light' : '🌙 Dark';
101
btn.style.background = on ? '#16213e' : '#111';
102
btn.style.color = on ? '#e0e0e0' : '#fff';
103
btn.style.borderColor = on ? '#0f3460' : '#333';
0 commit comments