module change

This commit is contained in:
nate@necloud.us committed 2025-07-03 09:42:40 -04:00
1 parent ed1cafe761
commit 77d5f9b196
15 files changed
+886 -698

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
// 🎨 Apply saved theme on load
function applySavedTheme() {
const savedTheme = localStorage.getItem('theme') || 'playground';
document.body.className = savedTheme;
const themeSelector = document.getElementById('themeSelect');
if (themeSelector) themeSelector.value = savedTheme;
}
// 🎨 Change theme dynamically
function changeTheme(themeName) {
document.body.className = themeName;
localStorage.setItem('theme', themeName);
}