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:
Zack Spear
2025-05-19 17:03:31 -07:00
parent c002f7ad5c
commit 12b31bc28d

View File

@@ -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.';