Theming system implemented, started work on "The Network" theme

This commit is contained in:
rainbow napkin 2026-10-01 02:52:11 -04:00
parent c2d78b8681
commit 294f0292ab
7 changed files with 883 additions and 4 deletions

View file

@ -287,6 +287,11 @@ class channel{
//Set syncronization delta
this.player.syncDelta = value;
return;
case 'theme':
//Set theme
ThemeManager.setTheme(value);
//We're fuckin' done here
return;
case 'chatWidthMin':
//If the chat isn't loaded
if(this.chatBox == null){
@ -336,9 +341,10 @@ class channel{
static defaultConfig = new Map([
["ytPlayerType","raw"],
["IACDN",""],
["syncTolerance",0.4],
["liveSyncTolerance", 2],
["syncTolerance",1],
["liveSyncTolerance", 10],
["syncDelta", 6],
["theme", "Movie Night"],
["chatWidthMin", 20],
["userlistHidden", false],
["cinemaMode", false],