This commit is contained in:
Cory LaViska
2020-08-16 11:27:47 -04:00
parent 6d09a43fbf
commit c0ab6abc83

View File

@@ -15,7 +15,7 @@
label: 'Toggle dark mode'
});
toggle.classList.add('theme-toggle');
// Set initial theme
if (isDark) {
document.body.classList.add('sl-theme-dark');