提交 f97acb34 编写于 作者: B Benjamin Pasero

theming - inherit badge colors in activity bar

上级 7a47589c
...@@ -369,7 +369,7 @@ ...@@ -369,7 +369,7 @@
// Workbench: Activity Bar // Workbench: Activity Bar
"activityBar.background": "#051336", "activityBar.background": "#051336",
// "activityBar.foreground": "", // "activityBar.foreground": "",
"activityBarBadge.background": "#0063a5", // "activityBarBadge.background": "",
// "activityBarBadge.foreground": "", // "activityBarBadge.foreground": "",
// "activityBar.dropBackground": "", // "activityBar.dropBackground": "",
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
"editor.inactiveSelectionBackground": "#3A3D41", "editor.inactiveSelectionBackground": "#3A3D41",
"editorIndentGuide.background": "#404040", "editorIndentGuide.background": "#404040",
"editor.selectionHighlightBackground": "#add6ff26", "editor.selectionHighlightBackground": "#add6ff26",
"list.dropBackground": "#383B3D" "list.dropBackground": "#383B3D",
"activityBarBadge.background": "#007ACC"
} }
} }
\ No newline at end of file
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
"editor.inactiveSelectionBackground": "#E5EBF1", "editor.inactiveSelectionBackground": "#E5EBF1",
"editorIndentGuide.background": "#d3d3d3", "editorIndentGuide.background": "#d3d3d3",
"editor.selectionHighlightBackground": "#add6ff4d", "editor.selectionHighlightBackground": "#add6ff4d",
"editorSuggestWidget.background": "#F3F3F3" "editorSuggestWidget.background": "#F3F3F3",
"activityBarBadge.background": "#007ACC"
} }
} }
\ No newline at end of file
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
"statusBar.noFolderBackground": "#423523", "statusBar.noFolderBackground": "#423523",
"activityBar.background": "#221a0f", "activityBar.background": "#221a0f",
"activityBar.foreground": "#d3af86", "activityBar.foreground": "#d3af86",
"activityBarBadge.background": "#7f5d38",
"sideBar.background": "#362712", "sideBar.background": "#362712",
"editor.lineHighlightBackground": "#5e452b", "editor.lineHighlightBackground": "#5e452b",
"editorCursor.foreground": "#d3af86", "editorCursor.foreground": "#d3af86",
......
...@@ -40,8 +40,6 @@ ...@@ -40,8 +40,6 @@
"statusBar.noFolderBackground": "#414339", "statusBar.noFolderBackground": "#414339",
"statusBar.debuggingBackground": "#75715E", "statusBar.debuggingBackground": "#75715E",
"activityBar.background": "#272822", "activityBar.background": "#272822",
"activityBarBadge.foreground": "#f8f8f2",
"activityBarBadge.background": "#75715E",
"activityBar.foreground": "#f8f8f2", "activityBar.foreground": "#f8f8f2",
"activityBar.dropBackground": "#414339", "activityBar.dropBackground": "#414339",
"sideBar.background": "#1e1f1c", "sideBar.background": "#1e1f1c",
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
"tokenColors": "./red.tmTheme", "tokenColors": "./red.tmTheme",
"colors": { "colors": {
// window // window
"activityBarBadge.background": "#cc3333",
"activityBar.background": "#580000", "activityBar.background": "#580000",
"tab.inactiveBackground": "#300a0a", "tab.inactiveBackground": "#300a0a",
"tab.activeBackground": "#490000", "tab.activeBackground": "#490000",
......
...@@ -412,7 +412,7 @@ ...@@ -412,7 +412,7 @@
// Workbench: Activity Bar // Workbench: Activity Bar
"activityBar.background": "#003847", "activityBar.background": "#003847",
"activityBarBadge.background": "#047aa6", // "activityBarBadge.background": "",
// "activityBar.dropBackground": "", // "activityBar.dropBackground": "",
// "activityBar.foreground": "", // "activityBar.foreground": "",
// "activityBarBadge.foreground": "", // "activityBarBadge.foreground": "",
......
...@@ -31,8 +31,6 @@ ...@@ -31,8 +31,6 @@
"statusBar.noFolderBackground": "#001126", "statusBar.noFolderBackground": "#001126",
"statusBar.debuggingBackground": "#001126", "statusBar.debuggingBackground": "#001126",
"activityBar.background": "#001733", "activityBar.background": "#001733",
"activityBarBadge.background": "#bbdaff",
"activityBarBadge.foreground": "#001733",
"badge.background": "#bbdaffcc", "badge.background": "#bbdaffcc",
"badge.foreground": "#001733", "badge.foreground": "#001733",
"sideBar.background": "#001c40", "sideBar.background": "#001c40",
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/ *--------------------------------------------------------------------------------------------*/
import nls = require('vs/nls'); 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 { IDisposable, Disposable, dispose } from 'vs/base/common/lifecycle';
import { IThemeService, ITheme } from 'vs/platform/theme/common/themeService'; import { IThemeService, ITheme } from 'vs/platform/theme/common/themeService';
import { Color } from 'vs/base/common/color'; import { Color } from 'vs/base/common/color';
...@@ -177,15 +177,15 @@ export const ACTIVITY_BAR_DRAG_AND_DROP_BACKGROUND = registerColor('activityBar. ...@@ -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.")); }, 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', { export const ACTIVITY_BAR_BADGE_BACKGROUND = registerColor('activityBarBadge.background', {
dark: '#007ACC', dark: badgeBackground,
light: '#007ACC', light: badgeBackground,
hc: '#000000' 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.")); }, 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', { export const ACTIVITY_BAR_BADGE_FOREGROUND = registerColor('activityBarBadge.foreground', {
dark: Color.white, dark: badgeForeground,
light: Color.white, light: badgeForeground,
hc: Color.white 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.")); }, 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."));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册