rename to activityBarForeground

This commit is contained in:
Benjamin Pasero 2017-04-24 11:44:26 +02:00
parent 5b5b221d2c
commit d79d621bd7
3 changed files with 5 additions and 5 deletions

View file

@ -301,7 +301,7 @@
"sideBarBackground": "#EEE8D5",
"sideBarTitleForeground": "#586E75",
"activityBarBackground": "#DDD6C1",
"activityIconForeground": "#584c27",
"activityBarForeground": "#584c27",
"activityBarDragAndDropBackground": "#EEE8D5",
"activityBadgeBackground": "#B58900",
"editorWidgetBackground": "#EEE8D5",

View file

@ -24,7 +24,7 @@ import { dispose } from 'vs/base/common/lifecycle';
import { IViewletService, } from 'vs/workbench/services/viewlet/browser/viewlet';
import { IPartService, Parts } from 'vs/workbench/services/part/common/partService';
import { IThemeService, ITheme } from "vs/platform/theme/common/themeService";
import { ACTIVITY_BADGE_FOREGROUND, ACTIVITY_BADGE_BACKGROUND, ACTIVITY_BAR_DRAG_AND_DROP_BACKGROUND, ACTIVITY_ICON_FOREGROUND } from "vs/workbench/common/theme";
import { ACTIVITY_BADGE_FOREGROUND, ACTIVITY_BADGE_BACKGROUND, ACTIVITY_BAR_DRAG_AND_DROP_BACKGROUND, ACTIVITY_BAR_FOREGROUND } from "vs/workbench/common/theme";
import { highContrastBorder } from "vs/platform/theme/common/colorRegistry";
export class ActivityAction extends Action {
@ -153,7 +153,7 @@ export class ActivityActionItem extends BaseActionItem {
// Label
if (this.$e) {
const background = theme.getColor(ACTIVITY_ICON_FOREGROUND);
const background = theme.getColor(ACTIVITY_BAR_FOREGROUND);
this.$e.style('background-color', background ? background.toString() : null);
}

View file

@ -182,11 +182,11 @@ export const ACTIVITY_BAR_BACKGROUND = registerColor('activityBarBackground', {
hc: '#000000'
}, nls.localize('activityBarBackground', "Activity bar background color. The activity bar is showing on the far left or right and allows to switch between views of the side bar."));
export const ACTIVITY_ICON_FOREGROUND = registerColor('activityIconForeground', {
export const ACTIVITY_BAR_FOREGROUND = registerColor('activityBarForeground', {
dark: Color.white,
light: Color.white,
hc: Color.white
}, nls.localize('activityIconForeground', "Activity icon foreground color. The activity bar is showing on the far left or right and allows to switch between views of the side bar."));
}, nls.localize('activityBarForeground', "Activity bar foreground color (e.g. used for the icons). The activity bar is showing on the far left or right and allows to switch between views of the side bar."));
export const ACTIVITY_BAR_DRAG_AND_DROP_BACKGROUND = registerColor('activityBarDragAndDropBackground', {
dark: '#403F3F',