theming - inherit badge colors in activity bar

This commit is contained in:
Benjamin Pasero 2017-05-09 10:14:19 +02:00
parent 7a47589cac
commit f97acb341c
9 changed files with 13 additions and 17 deletions

View file

@ -369,7 +369,7 @@
// Workbench: Activity Bar
"activityBar.background": "#051336",
// "activityBar.foreground": "",
"activityBarBadge.background": "#0063a5",
// "activityBarBadge.background": "",
// "activityBarBadge.foreground": "",
// "activityBar.dropBackground": "",

View file

@ -7,6 +7,7 @@
"editor.inactiveSelectionBackground": "#3A3D41",
"editorIndentGuide.background": "#404040",
"editor.selectionHighlightBackground": "#add6ff26",
"list.dropBackground": "#383B3D"
"list.dropBackground": "#383B3D",
"activityBarBadge.background": "#007ACC"
}
}

View file

@ -7,6 +7,7 @@
"editor.inactiveSelectionBackground": "#E5EBF1",
"editorIndentGuide.background": "#d3d3d3",
"editor.selectionHighlightBackground": "#add6ff4d",
"editorSuggestWidget.background": "#F3F3F3"
"editorSuggestWidget.background": "#F3F3F3",
"activityBarBadge.background": "#007ACC"
}
}

View file

@ -26,7 +26,6 @@
"statusBar.noFolderBackground": "#423523",
"activityBar.background": "#221a0f",
"activityBar.foreground": "#d3af86",
"activityBarBadge.background": "#7f5d38",
"sideBar.background": "#362712",
"editor.lineHighlightBackground": "#5e452b",
"editorCursor.foreground": "#d3af86",

View file

@ -40,8 +40,6 @@
"statusBar.noFolderBackground": "#414339",
"statusBar.debuggingBackground": "#75715E",
"activityBar.background": "#272822",
"activityBarBadge.foreground": "#f8f8f2",
"activityBarBadge.background": "#75715E",
"activityBar.foreground": "#f8f8f2",
"activityBar.dropBackground": "#414339",
"sideBar.background": "#1e1f1c",

View file

@ -2,7 +2,6 @@
"tokenColors": "./red.tmTheme",
"colors": {
// window
"activityBarBadge.background": "#cc3333",
"activityBar.background": "#580000",
"tab.inactiveBackground": "#300a0a",
"tab.activeBackground": "#490000",

View file

@ -412,7 +412,7 @@
// Workbench: Activity Bar
"activityBar.background": "#003847",
"activityBarBadge.background": "#047aa6",
// "activityBarBadge.background": "",
// "activityBar.dropBackground": "",
// "activityBar.foreground": "",
// "activityBarBadge.foreground": "",

View file

@ -31,8 +31,6 @@
"statusBar.noFolderBackground": "#001126",
"statusBar.debuggingBackground": "#001126",
"activityBar.background": "#001733",
"activityBarBadge.background": "#bbdaff",
"activityBarBadge.foreground": "#001733",
"badge.background": "#bbdaffcc",
"badge.foreground": "#001733",
"sideBar.background": "#001c40",

View file

@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import nls = require('vs/nls');
import { registerColor, editorBackground, contrastBorder, transparent } from 'vs/platform/theme/common/colorRegistry';
import { registerColor, editorBackground, contrastBorder, transparent, badgeForeground, badgeBackground } from 'vs/platform/theme/common/colorRegistry';
import { IDisposable, Disposable, dispose } from 'vs/base/common/lifecycle';
import { IThemeService, ITheme } from 'vs/platform/theme/common/themeService';
import { Color } from 'vs/base/common/color';
@ -177,15 +177,15 @@ export const ACTIVITY_BAR_DRAG_AND_DROP_BACKGROUND = registerColor('activityBar.
}, nls.localize('activityBarDragAndDropBackground', "Drag and drop feedback color for the activity bar items. 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_BADGE_BACKGROUND = registerColor('activityBarBadge.background', {
dark: '#007ACC',
light: '#007ACC',
hc: '#000000'
dark: badgeBackground,
light: badgeBackground,
hc: badgeBackground
}, nls.localize('activityBarBadgeBackground', "Activity notification badge 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_BAR_BADGE_FOREGROUND = registerColor('activityBarBadge.foreground', {
dark: Color.white,
light: Color.white,
hc: Color.white
dark: badgeForeground,
light: badgeForeground,
hc: badgeForeground
}, 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."));