Update inlay hint colors (#186658)

* Update inlay hints colors

* Update new themes
This commit is contained in:
David Dossett 2023-06-29 12:49:50 -07:00 committed by GitHub
parent 6314fae1a3
commit a3231fc857
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 10 deletions

View file

@ -40,10 +40,8 @@
"editorGutter.addedBackground": "#2ea043",
"editorGutter.deletedBackground": "#f85149",
"editorGutter.modifiedBackground": "#0078d4",
"editorInlayHint.background": "#8b949e33",
"editorInlayHint.foreground": "#8b949e",
"editorInlayHint.typeBackground": "#8b949e33",
"editorInlayHint.typeForeground": "#8b949e",
"editorInlayHint.background": "#8b949e1b",
"editorInlayHint.typeBackground": "#8b949e1b",
"editorLineNumber.activeForeground": "#cccccc",
"editorLineNumber.foreground": "#6e7681",
"editorOverviewRuler.border": "#010409",

View file

@ -41,10 +41,8 @@
"editorGutter.deletedBackground": "#f85149",
"editorGutter.modifiedBackground": "#005FB8",
"editorIndentGuide.background": "#D3D3D3",
"editorInlayHint.background": "#8b949e33",
"editorInlayHint.foreground": "#8b949e",
"editorInlayHint.typeBackground": "#8b949e33",
"editorInlayHint.typeForeground": "#8b949e",
"editorInlayHint.background": "#8b949e1b",
"editorInlayHint.typeBackground": "#8b949e1b",
"editorLineNumber.activeForeground": "#171184",
"editorLineNumber.foreground": "#6e7681",
"editorOverviewRuler.border": "#0000001a",

View file

@ -387,8 +387,8 @@ export const editorActiveLinkForeground = registerColor('editorLink.activeForegr
/**
* Inline hints
*/
export const editorInlayHintForeground = registerColor('editorInlayHint.foreground', { dark: badgeForeground, light: badgeForeground, hcDark: Color.black, hcLight: badgeForeground }, nls.localize('editorInlayHintForeground', 'Foreground color of inline hints'));
export const editorInlayHintBackground = registerColor('editorInlayHint.background', { dark: transparent(badgeBackground, .8), light: transparent(badgeBackground, .6), hcDark: '#f38518', hcLight: badgeBackground }, nls.localize('editorInlayHintBackground', 'Background color of inline hints'));
export const editorInlayHintForeground = registerColor('editorInlayHint.foreground', { dark: foreground, light: foreground, hcDark: Color.black, hcLight: badgeForeground }, nls.localize('editorInlayHintForeground', 'Foreground color of inline hints'));
export const editorInlayHintBackground = registerColor('editorInlayHint.background', { dark: transparent(badgeBackground, .25), light: transparent(badgeBackground, .3), hcDark: '#f38518', hcLight: badgeBackground }, nls.localize('editorInlayHintBackground', 'Background color of inline hints'));
export const editorInlayHintTypeForeground = registerColor('editorInlayHint.typeForeground', { dark: editorInlayHintForeground, light: editorInlayHintForeground, hcDark: editorInlayHintForeground, hcLight: editorInlayHintForeground }, nls.localize('editorInlayHintForegroundTypes', 'Foreground color of inline hints for types'));
export const editorInlayHintTypeBackground = registerColor('editorInlayHint.typeBackground', { dark: editorInlayHintBackground, light: editorInlayHintBackground, hcDark: editorInlayHintBackground, hcLight: editorInlayHintBackground }, nls.localize('editorInlayHintBackgroundTypes', 'Background color of inline hints for types'));
export const editorInlayHintParameterForeground = registerColor('editorInlayHint.parameterForeground', { dark: editorInlayHintForeground, light: editorInlayHintForeground, hcDark: editorInlayHintForeground, hcLight: editorInlayHintForeground }, nls.localize('editorInlayHintForegroundParameter', 'Foreground color of inline hints for parameters'));