mirror of
https://github.com/unraid/webgui.git
synced 2026-01-04 16:40:21 -06:00
fix: correct color assignments in ThemeHelper for updateDockerLogColor
- Updated color mappings in the FGCOLORS array to ensure proper theme color representation. - Changed THEME_AZURE to map to COLOR_BLACK and THEME_BLACK to map to COLOR_WHITE, enhancing visual clarity across themes.
This commit is contained in:
@@ -18,10 +18,10 @@ class ThemeHelper {
|
||||
private const LIGHT_THEMES = [self::THEME_WHITE, self::THEME_AZURE];
|
||||
|
||||
private const FGCOLORS = [
|
||||
self::THEME_BLACK => self::COLOR_BLACK,
|
||||
self::THEME_AZURE => self::COLOR_BLACK,
|
||||
self::THEME_WHITE => self::COLOR_BLACK,
|
||||
self::THEME_BLACK => self::COLOR_WHITE,
|
||||
self::THEME_GRAY => self::COLOR_WHITE,
|
||||
self::THEME_AZURE => self::COLOR_WHITE
|
||||
];
|
||||
|
||||
private const INIT_ERROR = 'ThemeHelper not initialized. Call initWithCurrentThemeSetting() first.';
|
||||
|
||||
Reference in New Issue
Block a user