Skip to content

Commit 6dd344d

Browse files
authored
dark mode by default
1 parent 1a7c904 commit 6dd344d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tool/web-app/script.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
document.addEventListener('DOMContentLoaded', () => {
2+
// Enable dark mode by default
3+
document.body.classList.add('dark-mode');
4+
25
const steps = document.querySelectorAll('.step');
36
let currentStep = 0;
47

@@ -393,4 +396,4 @@ advToggle.addEventListener('click', function () {
393396
advToggle.setAttribute('aria-expanded', !expanded);
394397
advSettings.style.display = expanded ? 'none' : 'block';
395398
advToggle.textContent = expanded ? 'Show Advanced Settings' : 'Hide Advanced Settings';
396-
});
399+
});

0 commit comments

Comments
 (0)