Skip to content

Commit 1af516b

Browse files
committed
update color names
1 parent a54ff66 commit 1af516b

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

src/vs/workbench/common/theme.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -309,17 +309,17 @@ export const STATUS_BAR_PROMINENT_ITEM_HOVER_BACKGROUND = registerColor('statusB
309309
hc: Color.black.transparent(0.3),
310310
}, nls.localize('statusBarProminentItemHoverBackground', "Status bar prominent items background color when hovering. Prominent items stand out from other status bar entries to indicate importance. Change mode `Toggle Tab Key Moves Focus` from command palette to see an example. The status bar is shown in the bottom of the window."));
311311

312-
export const STATUS_BAR_HOST_NAME_BACKGROUND = registerColor('statusBarItem.hostBackground', {
312+
export const STATUS_BAR_HOST_NAME_BACKGROUND = registerColor('statusBarItem.remoteBackground', {
313313
dark: '#C40057',
314314
light: '#C40057',
315315
hc: '#C40057'
316-
}, nls.localize('statusBarItemHostBackground', "Background color for the host indicator on the status bar."));
316+
}, nls.localize('statusBarItemHostBackground', "Background color for the remote indicator on the status bar."));
317317

318-
export const STATUS_BAR_HOST_NAME_FOREGROUND = registerColor('statusBarItem.hostForeground', {
318+
export const STATUS_BAR_HOST_NAME_FOREGROUND = registerColor('statusBarItem.remoteForeground', {
319319
dark: '#FFFFFF',
320320
light: '#FFFFFF',
321321
hc: '#FFFFFF'
322-
}, nls.localize('statusBarItemHostForeground', "Foreground color for the host indicator on the status bar."));
322+
}, nls.localize('statusBarItemHostForeground', "Foreground color for the remote indicator on the status bar."));
323323

324324

325325
// < --- Activity Bar --- >
@@ -366,17 +366,17 @@ export const ACTIVITY_BAR_BADGE_FOREGROUND = registerColor('activityBarBadge.for
366366
hc: Color.white
367367
}, nls.localize('activityBarBadgeForeground', "Activity notification badge foreground color. The activity bar is showing on the far left or right and allows to switch between views of the side bar."));
368368

369-
export const HOST_BADGE_BACKGROUND = registerColor('hostBadge.background', {
369+
export const EXTENSION_BADGE_REMOTE_BACKGROUND = registerColor('extensionBadge.remoteBackground', {
370370
dark: ACTIVITY_BAR_BADGE_BACKGROUND,
371371
light: ACTIVITY_BAR_BADGE_BACKGROUND,
372372
hc: ACTIVITY_BAR_BADGE_BACKGROUND
373-
}, nls.localize('hostBadgeBackground', "Background color for the host badge in the extensions view"));
373+
}, nls.localize('extensionBadge.remoteBackground', "Background color for the remote badge in the extensions view"));
374374

375-
export const HOST_BADGE_FOREGROUND = registerColor('hostBadge.foreground', {
375+
export const EXTENSION_BADGE_REMOTE_FOREGROUND = registerColor('extensionBadge.remoteForeground', {
376376
dark: ACTIVITY_BAR_BADGE_FOREGROUND,
377377
light: ACTIVITY_BAR_BADGE_FOREGROUND,
378378
hc: ACTIVITY_BAR_BADGE_FOREGROUND
379-
}, nls.localize('hostBadgeForeground', "Foreground color for the host badge in the extensions view"));
379+
}, nls.localize('extensionBadge.remoteForeground', "Foreground color for the remote badge in the extensions view"));
380380

381381

382382
// < --- Side Bar --- >

src/vs/workbench/contrib/extensions/electron-browser/extensionsWidgets.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { IExtensionManagementServerService, IExtensionTipsService } from 'vs/pla
1313
import { ILabelService } from 'vs/platform/label/common/label';
1414
import { extensionButtonProminentBackground, extensionButtonProminentForeground, DisabledLabelAction, ReloadAction } from 'vs/workbench/contrib/extensions/electron-browser/extensionsActions';
1515
import { IThemeService, ITheme } from 'vs/platform/theme/common/themeService';
16-
import { HOST_BADGE_BACKGROUND, HOST_BADGE_FOREGROUND } from 'vs/workbench/common/theme';
16+
import { EXTENSION_BADGE_REMOTE_BACKGROUND, EXTENSION_BADGE_REMOTE_FOREGROUND } from 'vs/workbench/common/theme';
1717
import { REMOTE_HOST_SCHEME } from 'vs/platform/remote/common/remoteHosts';
1818
import { IWorkbenchEnvironmentService } from 'vs/workbench/services/environment/common/environmentService';
1919
import { Emitter, Event } from 'vs/base/common/event';
@@ -323,8 +323,8 @@ class RemoteBadge extends Disposable {
323323
if (!this.element) {
324324
return;
325325
}
326-
const bgColor = this.themeService.getTheme().getColor(HOST_BADGE_BACKGROUND);
327-
const fgColor = this.themeService.getTheme().getColor(HOST_BADGE_FOREGROUND);
326+
const bgColor = this.themeService.getTheme().getColor(EXTENSION_BADGE_REMOTE_BACKGROUND);
327+
const fgColor = this.themeService.getTheme().getColor(EXTENSION_BADGE_REMOTE_FOREGROUND);
328328
this.element.style.backgroundColor = bgColor ? bgColor.toString() : '';
329329
this.element.style.color = fgColor ? fgColor.toString() : '';
330330
};

0 commit comments

Comments
 (0)