separate light and dark theme

This commit is contained in:
nieve 2025-02-11 21:55:01 -05:00
parent d7ec07cd0d
commit 80e0d539fa
11 changed files with 66 additions and 84 deletions

View file

@ -137,7 +137,8 @@ impl InstanceInfo {
Table::from([
["Hide awards", &convert(&self.config.default_hide_awards)],
["Hide score", &convert(&self.config.default_hide_score)],
["Theme", &convert(&self.config.default_theme)],
["Light Theme", &convert(&self.config.default_theme_light)],
["Dark Theme", &convert(&self.config.default_theme_dark)],
["Front page", &convert(&self.config.default_front_page)],
["Layout", &convert(&self.config.default_layout)],
["Wide", &convert(&self.config.default_wide)],
@ -173,7 +174,8 @@ impl InstanceInfo {
Banner: {:?}\n
Hide awards: {:?}\n
Hide score: {:?}\n
Default theme: {:?}\n
Default light theme: {:?}\n
Default dark theme: {:?}\n
Default front page: {:?}\n
Default layout: {:?}\n
Default wide: {:?}\n
@ -199,7 +201,8 @@ impl InstanceInfo {
self.config.banner,
self.config.default_hide_awards,
self.config.default_hide_score,
self.config.default_theme,
self.config.default_theme_light,
self.config.default_theme_dark,
self.config.default_front_page,
self.config.default_layout,
self.config.default_wide,