definining a new color for the lightbulb ai icon

pull/199543/head
Aiday Marlen Kyzy 2023-11-29 16:07:41 +01:00
parent a98f43cfdf
commit b49fc606c5
No known key found for this signature in database
GPG Key ID: 24A8B53DBD26FF4E
3 changed files with 4 additions and 3 deletions

View File

@ -241,6 +241,7 @@
"--vscode-editorInlayHint-typeBackground", "--vscode-editorInlayHint-typeBackground",
"--vscode-editorInlayHint-typeForeground", "--vscode-editorInlayHint-typeForeground",
"--vscode-editorLightBulb-foreground", "--vscode-editorLightBulb-foreground",
"--vscode-editorLightBulbAi-foreground",
"--vscode-editorLightBulbAutoFix-foreground", "--vscode-editorLightBulbAutoFix-foreground",
"--vscode-editorLineNumber-activeForeground", "--vscode-editorLineNumber-activeForeground",
"--vscode-editorLineNumber-dimmedForeground", "--vscode-editorLineNumber-dimmedForeground",
@ -794,4 +795,4 @@
"--zoom-factor", "--zoom-factor",
"--test-bar-width" "--test-bar-width"
] ]
} }

View File

@ -24,8 +24,7 @@
} }
.monaco-editor .lightBulbWidget.codicon-sparkle-filled { .monaco-editor .lightBulbWidget.codicon-sparkle-filled {
color: var(--vscode-icon-foreground); color: var(--vscode-editorLightBulbAi-foreground, var(--vscode-icon-foreground));
opacity: 0.5;
} }
.monaco-editor .lightBulbWidget:before { .monaco-editor .lightBulbWidget:before {

View File

@ -400,6 +400,7 @@ export const editorInlayHintParameterBackground = registerColor('editorInlayHint
*/ */
export const editorLightBulbForeground = registerColor('editorLightBulb.foreground', { dark: '#FFCC00', light: '#DDB100', hcDark: '#FFCC00', hcLight: '#007ACC' }, nls.localize('editorLightBulbForeground', "The color used for the lightbulb actions icon.")); export const editorLightBulbForeground = registerColor('editorLightBulb.foreground', { dark: '#FFCC00', light: '#DDB100', hcDark: '#FFCC00', hcLight: '#007ACC' }, nls.localize('editorLightBulbForeground', "The color used for the lightbulb actions icon."));
export const editorLightBulbAutoFixForeground = registerColor('editorLightBulbAutoFix.foreground', { dark: '#75BEFF', light: '#007ACC', hcDark: '#75BEFF', hcLight: '#007ACC' }, nls.localize('editorLightBulbAutoFixForeground', "The color used for the lightbulb auto fix actions icon.")); export const editorLightBulbAutoFixForeground = registerColor('editorLightBulbAutoFix.foreground', { dark: '#75BEFF', light: '#007ACC', hcDark: '#75BEFF', hcLight: '#007ACC' }, nls.localize('editorLightBulbAutoFixForeground', "The color used for the lightbulb auto fix actions icon."));
export const editorLightBulbAiForeground = registerColor('editorLightBulbAi.foreground', { dark: darken(iconForeground, 0.4), light: lighten(iconForeground, 1.7), hcDark: iconForeground, hcLight: iconForeground }, nls.localize('editorLightBulbAiForeground', "The color used for the lightbulb AI icon."));
/** /**
* Diff Editor Colors * Diff Editor Colors