Unset foreground in default themes (#9765)

This commit is contained in:
Miguel Solorio
2025-09-25 15:12:10 -07:00
committed by GitHub
parent 70bc2933cc
commit 18e5113754
2 changed files with 3 additions and 3 deletions

View File

@@ -80,7 +80,7 @@ export interface CustomTheme {
export const lightTheme: ColorsTheme = {
type: 'light',
Background: '#FAFAFA',
Foreground: '#3C3C43',
Foreground: '',
LightBlue: '#89BDCD',
AccentBlue: '#3B82F6',
AccentPurple: '#8B5CF6',
@@ -98,7 +98,7 @@ export const lightTheme: ColorsTheme = {
export const darkTheme: ColorsTheme = {
type: 'dark',
Background: '#1E1E2E',
Foreground: '#CDD6F4',
Foreground: '',
LightBlue: '#ADD8E6',
AccentBlue: '#89B4FA',
AccentPurple: '#CBA6F7',

View File

@@ -28,5 +28,5 @@ export const getStatusColor = (
if (value >= thresholds.yellow) {
return theme.status.warning;
}
return options.defaultColor || theme.status.error;
return options.defaultColor ?? theme.status.error;
};