Skip to content

Commit 41f2f20

Browse files
committed
nav.js: dark button says Dark/Light
1 parent 9f75a01 commit 41f2f20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assets/nav.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
document.body.setAttribute('data-dark', on ? '1' : '');
9898
const btn = document.getElementById('nav-dark-btn');
9999
if (btn) {
100-
btn.textContent = on ? '☀️' : '🌙';
100+
btn.textContent = on ? '☀️ Light' : '🌙 Dark';
101101
btn.style.background = on ? '#16213e' : '#111';
102102
btn.style.color = on ? '#e0e0e0' : '#fff';
103103
btn.style.borderColor = on ? '#0f3460' : '#333';

0 commit comments

Comments
 (0)