added experimental theming system

This commit is contained in:
SethBurkart123
2023-10-29 16:16:31 +11:00
parent d723c128e4
commit f28cb23656
6 changed files with 118 additions and 137 deletions
+2
View File
@@ -15,6 +15,7 @@ import { MessageHandler } from "./seqta/utils/MessageListener.js";
import { updateBgDurations } from "./seqta/ui/Animation.js";
import { updateAllColors } from "./seqta/ui/colors/Manager.js";
import { appendBackgroundToUI } from "./seqta/ui/ImageBackgrounds.js";
import { EnableThemes } from "./seqta/ui/Themes.js";
export let isChrome = window.chrome;
let SettingsClicked = false;
@@ -650,6 +651,7 @@ function main(storedSetting) {
if (storedSetting.onoff) {
console.log("[BetterSEQTA+] Enabled");
InjectStyles();
EnableThemes();
InjectCustomIcons();
updateAllColors(storedSetting);
ApplyCSSToHiddenMenuItems();