Use theme manager to update mui theme

This commit is contained in:
Bill Thornton
2025-08-18 11:13:53 -04:00
parent 7694ee695b
commit 723369acec
4 changed files with 14 additions and 52 deletions
+4
View File
@@ -39,6 +39,10 @@ function setTheme(id) {
currentThemeId = info.id;
// set the theme attribute for mui
document.documentElement.setAttribute('data-theme', info.id);
// set the meta theme color
document.getElementById('themeColor').content = info.color;
});
});