feat: set default theme to dark
This commit is contained in:
parent
c96eb7cdea
commit
ac92ea29e9
@ -1611,7 +1611,7 @@
|
|||||||
|
|
||||||
// Theme Management
|
// Theme Management
|
||||||
function initializeTheme() {
|
function initializeTheme() {
|
||||||
const savedTheme = localStorage.getItem('theme') || 'light';
|
const savedTheme = localStorage.getItem('theme') || 'dark';
|
||||||
document.documentElement.setAttribute('data-theme', savedTheme);
|
document.documentElement.setAttribute('data-theme', savedTheme);
|
||||||
updateThemeIcon(savedTheme);
|
updateThemeIcon(savedTheme);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user