Skip to content

Commit 57c5e37

Browse files
authored
Merge pull request microsoft#199543 from microsoft/aiday/decreasingOpacity
Decreasing the opacity of the code action menu sparkle icon
2 parents 9fc2a7a + b49fc60 commit 57c5e37

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

build/lib/stylelint/vscode-known-variables.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@
241241
"--vscode-editorInlayHint-typeBackground",
242242
"--vscode-editorInlayHint-typeForeground",
243243
"--vscode-editorLightBulb-foreground",
244+
"--vscode-editorLightBulbAi-foreground",
244245
"--vscode-editorLightBulbAutoFix-foreground",
245246
"--vscode-editorLineNumber-activeForeground",
246247
"--vscode-editorLineNumber-dimmedForeground",
@@ -794,4 +795,4 @@
794795
"--zoom-factor",
795796
"--test-bar-width"
796797
]
797-
}
798+
}

src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
color: var(--vscode-editorLightBulbAutoFix-foreground, var(--vscode-editorLightBulb-foreground));
2424
}
2525

26+
.monaco-editor .lightBulbWidget.codicon-sparkle-filled {
27+
color: var(--vscode-editorLightBulbAi-foreground, var(--vscode-icon-foreground));
28+
}
29+
2630
.monaco-editor .lightBulbWidget:before {
2731
position: relative;
2832
z-index: 2;

src/vs/platform/theme/common/colorRegistry.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ export const editorInlayHintParameterBackground = registerColor('editorInlayHint
400400
*/
401401
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."));
402402
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."));
403+
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."));
403404

404405
/**
405406
* Diff Editor Colors

0 commit comments

Comments
 (0)