kopia lustrzana https://github.com/shoelace-style/shoelace
Update
rodzic
6d09a43fbf
commit
c0ab6abc83
|
@ -15,7 +15,7 @@
|
||||||
label: 'Toggle dark mode'
|
label: 'Toggle dark mode'
|
||||||
});
|
});
|
||||||
toggle.classList.add('theme-toggle');
|
toggle.classList.add('theme-toggle');
|
||||||
|
|
||||||
// Set initial theme
|
// Set initial theme
|
||||||
if (isDark) {
|
if (isDark) {
|
||||||
document.body.classList.add('sl-theme-dark');
|
document.body.classList.add('sl-theme-dark');
|
||||||
|
|
Ładowanie…
Reference in New Issue