Update extension icon registrations
parent
42e7f2d8ff
commit
bf123cb4ae
|
@ -2,10 +2,6 @@
|
|||
"$schema": "vscode://schemas/color-theme",
|
||||
"name": "Light High Contrast",
|
||||
"colors": {
|
||||
"extensionIcon.verifiedForeground": "#0F4A85",
|
||||
"extensionIcon.starForeground": "#0F4A85",
|
||||
"extensionIcon.preReleaseForeground": "#0F4A85",
|
||||
|
||||
"welcomePage.tileBackground": "#ffffff",
|
||||
"welcomePage.tileHoverBackground": "#0000",
|
||||
|
||||
|
|
|
@ -592,9 +592,9 @@ export class ExtensionHoverWidget extends ExtensionWidget {
|
|||
}
|
||||
|
||||
// Rating icon
|
||||
export const extensionRatingIconColor = registerColor('extensionIcon.starForeground', { light: '#DF6100', dark: '#FF8E00', hcDark: '#FF8E00' }, localize('extensionIconStarForeground', "The icon color for extension ratings."), true);
|
||||
export const extensionRatingIconColor = registerColor('extensionIcon.starForeground', { light: '#DF6100', dark: '#FF8E00', hcDark: '#FF8E00', hcLight: textLinkForeground }, localize('extensionIconStarForeground', "The icon color for extension ratings."), true);
|
||||
export const extensionVerifiedPublisherIconColor = registerColor('extensionIcon.verifiedForeground', { dark: textLinkForeground, light: textLinkForeground, hcDark: textLinkForeground, hcLight: textLinkForeground }, localize('extensionIconVerifiedForeground', "The icon color for extension verified publisher."), true);
|
||||
export const extensionPreReleaseIconColor = registerColor('extensionIcon.preReleaseForeground', { dark: '#1d9271', light: '#1d9271', hcDark: '#1d9271' }, localize('extensionPreReleaseForeground', "The icon color for pre-release extension."), true);
|
||||
export const extensionPreReleaseIconColor = registerColor('extensionIcon.preReleaseForeground', { dark: '#1d9271', light: '#1d9271', hcDark: '#1d9271', hcLight: textLinkForeground }, localize('extensionPreReleaseForeground', "The icon color for pre-release extension."), true);
|
||||
|
||||
registerThemingParticipant((theme, collector) => {
|
||||
const extensionRatingIcon = theme.getColor(extensionRatingIconColor);
|
||||
|
|
Loading…
Reference in New Issue