mirror of
https://github.com/DerTyp7/obs-twitch-camera-frame.git
synced 2025-10-29 12:52:14 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f403822921 | ||
|
|
1c80395b5a |
@@ -3,6 +3,7 @@ let ws;
|
||||
let channelId;
|
||||
|
||||
function changeColorTheme(theme) {
|
||||
localStorage.setItem("theme", JSON.stringify(theme));
|
||||
rootElem.style.setProperty("--border-color-1", theme[0]);
|
||||
rootElem.style.setProperty("--border-color-2", theme[1]);
|
||||
}
|
||||
@@ -104,4 +105,4 @@ function pubSubMain() {
|
||||
}
|
||||
|
||||
pubSubMain();
|
||||
// changeColorTheme(CONFIG.themes.purple);
|
||||
changeColorTheme(JSON.parse(localStorage.getItem("theme")));
|
||||
|
||||
Reference in New Issue
Block a user