Get rid of set-dark-mode.js as it can't work as intended. Add class cursor-pointer to themeToggle Button.

This commit is contained in:
2025-04-22 15:24:24 -08:00
parent 9d1c878e42
commit e35e359f60
5 changed files with 4 additions and 9 deletions

View File

@@ -5,5 +5,4 @@ import './dark-mode';
import './navbar';
import './current-year';
import './contact-form';
import './plausible-banner';
import './set-dark-mode';
import './plausible-banner';

View File

@@ -1,4 +0,0 @@
colorTheme = window.localStorage.getItem('color-theme');
if (!colorTheme){
window.localStorage.setItem('color-theme', 'dark');
}