Update semantic color tokens (#6253)

Co-authored-by: jacob314 <jacob314@gmail.com>
This commit is contained in:
Miguel Solorio
2025-08-15 15:39:54 -07:00
committed by GitHub
parent 5246aa11f4
commit 3c0af3654a
60 changed files with 606 additions and 502 deletions

View File

@@ -43,8 +43,6 @@ const noColorSemanticColors: SemanticColors = {
focused: '',
},
ui: {
comment: '',
symbol: '',
gradient: [],
},
status: {

View File

@@ -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: {

View File

@@ -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: {