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

@ -30,6 +30,12 @@ class themeManager{
["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
*/
@ -47,7 +53,7 @@ class themeManager{
//If we didnt get a theme to set
if(theme == null){
//Use the first theme in the list
theme = Array.from(this.themes.keys())[0];
theme = this.defaultTheme;
}
//If we have a link already setup