mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-21 17:27:54 +00:00
Revert "Update semantic color tokens" (#6365)
This commit is contained in:
@@ -43,6 +43,8 @@ const noColorSemanticColors: SemanticColors = {
|
||||
focused: '',
|
||||
},
|
||||
ui: {
|
||||
comment: '',
|
||||
symbol: '',
|
||||
gradient: [],
|
||||
},
|
||||
status: {
|
||||
|
||||
@@ -25,6 +25,8 @@ export interface SemanticColors {
|
||||
focused: string;
|
||||
};
|
||||
ui: {
|
||||
comment: string;
|
||||
symbol: string;
|
||||
gradient: string[] | undefined;
|
||||
};
|
||||
status: {
|
||||
@@ -53,6 +55,8 @@ export const lightSemanticColors: SemanticColors = {
|
||||
focused: lightTheme.AccentBlue,
|
||||
},
|
||||
ui: {
|
||||
comment: lightTheme.Comment,
|
||||
symbol: lightTheme.Gray,
|
||||
gradient: lightTheme.GradientColors,
|
||||
},
|
||||
status: {
|
||||
@@ -81,6 +85,8 @@ export const darkSemanticColors: SemanticColors = {
|
||||
focused: darkTheme.AccentBlue,
|
||||
},
|
||||
ui: {
|
||||
comment: darkTheme.Comment,
|
||||
symbol: darkTheme.Gray,
|
||||
gradient: darkTheme.GradientColors,
|
||||
},
|
||||
status: {
|
||||
@@ -109,6 +115,8 @@ export const ansiSemanticColors: SemanticColors = {
|
||||
focused: ansiTheme.AccentBlue,
|
||||
},
|
||||
ui: {
|
||||
comment: ansiTheme.Comment,
|
||||
symbol: ansiTheme.Gray,
|
||||
gradient: ansiTheme.GradientColors,
|
||||
},
|
||||
status: {
|
||||
|
||||
@@ -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.text?.secondary ?? customTheme.Comment ?? '',
|
||||
Comment: customTheme.ui?.comment ?? customTheme.Comment ?? '',
|
||||
Gray: customTheme.text?.secondary ?? customTheme.Gray ?? '',
|
||||
GradientColors: customTheme.ui?.gradient ?? customTheme.GradientColors,
|
||||
};
|
||||
@@ -397,6 +397,8 @@ export function createCustomTheme(customTheme: CustomTheme): Theme {
|
||||
focused: colors.AccentBlue,
|
||||
},
|
||||
ui: {
|
||||
comment: colors.Comment,
|
||||
symbol: colors.Gray,
|
||||
gradient: colors.GradientColors,
|
||||
},
|
||||
status: {
|
||||
|
||||
Reference in New Issue
Block a user