Changed default theme for new users to 'The Network'

This commit is contained in:
rainbow napkin 2026-10-03 07:49:15 -04:00
parent 4af9d25573
commit 315c5340f3
2 changed files with 8 additions and 2 deletions

View file

@ -357,7 +357,7 @@ class channel{
["syncTolerance",1], ["syncTolerance",1],
["liveSyncTolerance", 10], ["liveSyncTolerance", 10],
["syncDelta", 6], ["syncDelta", 6],
["theme", "Movie Night"], ["theme", "The Network"],
["chatWidthMin", 20], ["chatWidthMin", 20],
["disablePortrait", false], ["disablePortrait", false],
["disableSendButton", false], ["disableSendButton", false],

View file

@ -30,6 +30,12 @@ class themeManager{
["The Network", "/css/theme/the-network.css"] ["The Network", "/css/theme/the-network.css"]
]); ]);
/**
* Sets default theme for new users
*/
this.defaultTheme = "The Network";
/** /**
* Define property to hold theme link DOM node * Define property to hold theme link DOM node
*/ */
@ -47,7 +53,7 @@ class themeManager{
//If we didnt get a theme to set //If we didnt get a theme to set
if(theme == null){ if(theme == null){
//Use the first theme in the list //Use the first theme in the list
theme = Array.from(this.themes.keys())[0]; theme = this.defaultTheme;
} }
//If we have a link already setup //If we have a link already setup