diff options
Diffstat (limited to 'packages/cli/src/ui/themes')
| -rw-r--r-- | packages/cli/src/ui/themes/no-color.ts | 2 | ||||
| -rw-r--r-- | packages/cli/src/ui/themes/semantic-tokens.ts | 8 | ||||
| -rw-r--r-- | packages/cli/src/ui/themes/theme.ts | 4 |
3 files changed, 1 insertions, 13 deletions
diff --git a/packages/cli/src/ui/themes/no-color.ts b/packages/cli/src/ui/themes/no-color.ts index 161b407e..4d5dc1bb 100644 --- a/packages/cli/src/ui/themes/no-color.ts +++ b/packages/cli/src/ui/themes/no-color.ts @@ -43,8 +43,6 @@ const noColorSemanticColors: SemanticColors = { focused: '', }, ui: { - comment: '', - symbol: '', gradient: [], }, status: { diff --git a/packages/cli/src/ui/themes/semantic-tokens.ts b/packages/cli/src/ui/themes/semantic-tokens.ts index 56430304..a2079934 100644 --- a/packages/cli/src/ui/themes/semantic-tokens.ts +++ b/packages/cli/src/ui/themes/semantic-tokens.ts @@ -25,8 +25,6 @@ export interface SemanticColors { focused: string; }; ui: { - comment: string; - symbol: string; gradient: string[] | undefined; }; status: { @@ -55,8 +53,6 @@ export const lightSemanticColors: SemanticColors = { focused: lightTheme.AccentBlue, }, ui: { - comment: lightTheme.Comment, - symbol: lightTheme.Gray, gradient: lightTheme.GradientColors, }, status: { @@ -85,8 +81,6 @@ export const darkSemanticColors: SemanticColors = { focused: darkTheme.AccentBlue, }, ui: { - comment: darkTheme.Comment, - symbol: darkTheme.Gray, gradient: darkTheme.GradientColors, }, status: { @@ -115,8 +109,6 @@ export const ansiSemanticColors: SemanticColors = { focused: ansiTheme.AccentBlue, }, ui: { - comment: ansiTheme.Comment, - symbol: ansiTheme.Gray, gradient: ansiTheme.GradientColors, }, status: { diff --git a/packages/cli/src/ui/themes/theme.ts b/packages/cli/src/ui/themes/theme.ts index e46c7f48..40900deb 100644 --- a/packages/cli/src/ui/themes/theme.ts +++ b/packages/cli/src/ui/themes/theme.ts @@ -235,7 +235,7 @@ export function createCustomTheme(customTheme: CustomTheme): Theme { customTheme.background?.diff?.added ?? customTheme.DiffAdded ?? '', DiffRemoved: customTheme.background?.diff?.removed ?? customTheme.DiffRemoved ?? '', - Comment: customTheme.ui?.comment ?? customTheme.Comment ?? '', + Comment: customTheme.text?.secondary ?? customTheme.Comment ?? '', Gray: customTheme.text?.secondary ?? customTheme.Gray ?? '', GradientColors: customTheme.ui?.gradient ?? customTheme.GradientColors, }; @@ -397,8 +397,6 @@ export function createCustomTheme(customTheme: CustomTheme): Theme { focused: colors.AccentBlue, }, ui: { - comment: colors.Comment, - symbol: colors.Gray, gradient: colors.GradientColors, }, status: { |
