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