Update badge colors in light/dark modern themes (#189503)

* Update badge background and foreground colors for Light/Dark Modern themes

* Fix hc-dark
This commit is contained in:
David Dossett 2023-08-02 15:00:24 -07:00 committed by GitHub
parent bc9375dedc
commit f78157b2b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 9 deletions

View file

@ -10,8 +10,8 @@
"activityBar.inactiveForeground": "#ffffff80",
"activityBarBadge.background": "#0078d4",
"activityBarBadge.foreground": "#ffffff",
"badge.background": "#0078d4",
"badge.foreground": "#ffffff",
"badge.background": "#4D4D4D",
"badge.foreground": "#f2f2f2",
"button.background": "#0078d4",
"button.border": "#ffffff12",
"button.foreground": "#ffffff",
@ -36,8 +36,6 @@
"editorGutter.addedBackground": "#2ea043",
"editorGutter.deletedBackground": "#f85149",
"editorGutter.modifiedBackground": "#0078d4",
"editorInlayHint.background": "#8b949e1b",
"editorInlayHint.typeBackground": "#8b949e1b",
"editorLineNumber.activeForeground": "#cccccc",
"editorLineNumber.foreground": "#6e7681",
"editorOverviewRuler.border": "#010409",

View file

@ -10,8 +10,8 @@
"activityBar.inactiveForeground": "#0000009e",
"activityBarBadge.background": "#005FB8",
"activityBarBadge.foreground": "#ffffff",
"badge.background": "#005FB8",
"badge.foreground": "#ffffff",
"badge.background": "#CCCCCC",
"badge.foreground": "#3b3b3b",
"button.background": "#005FB8",
"button.border": "#0000001a",
"button.foreground": "#ffffff",
@ -37,8 +37,6 @@
"editorGutter.deletedBackground": "#f85149",
"editorGutter.modifiedBackground": "#005FB8",
"editorIndentGuide.background": "#D3D3D3",
"editorInlayHint.background": "#8b949e1b",
"editorInlayHint.typeBackground": "#8b949e1b",
"editorLineNumber.activeForeground": "#171184",
"editorLineNumber.foreground": "#6e7681",
"editorOverviewRuler.border": "#0000001a",

View file

@ -388,7 +388,7 @@ export const editorActiveLinkForeground = registerColor('editorLink.activeForegr
* Inline hints
*/
export const editorInlayHintForeground = registerColor('editorInlayHint.foreground', { dark: '#969696', light: '#969696', hcDark: Color.white, hcLight: Color.black }, nls.localize('editorInlayHintForeground', 'Foreground color of inline hints'));
export const editorInlayHintBackground = registerColor('editorInlayHint.background', { dark: transparent(badgeBackground, .10), light: transparent(badgeBackground, .10), hcDark: Color.white, hcLight: transparent(badgeBackground, .10) }, nls.localize('editorInlayHintBackground', 'Background color of inline hints'));
export const editorInlayHintBackground = registerColor('editorInlayHint.background', { dark: transparent(badgeBackground, .10), light: transparent(badgeBackground, .10), hcDark: transparent(Color.white, .10), hcLight: transparent(badgeBackground, .10) }, 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'));