|
4 | 4 | *--------------------------------------------------------------------------------------------*/ |
5 | 5 |
|
6 | 6 | import nls = require('vs/nls'); |
7 | | -import { registerColor, editorBackground, contrastBorder, transparent } from 'vs/platform/theme/common/colorRegistry'; |
| 7 | +import { registerColor, editorBackground, contrastBorder, transparent, badgeForeground, badgeBackground } from 'vs/platform/theme/common/colorRegistry'; |
8 | 8 | import { IDisposable, Disposable, dispose } from 'vs/base/common/lifecycle'; |
9 | 9 | import { IThemeService, ITheme } from 'vs/platform/theme/common/themeService'; |
10 | 10 | import { Color } from 'vs/base/common/color'; |
@@ -177,15 +177,15 @@ export const ACTIVITY_BAR_DRAG_AND_DROP_BACKGROUND = registerColor('activityBar. |
177 | 177 | }, 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.")); |
178 | 178 |
|
179 | 179 | export const ACTIVITY_BAR_BADGE_BACKGROUND = registerColor('activityBarBadge.background', { |
180 | | - dark: '#007ACC', |
181 | | - light: '#007ACC', |
182 | | - hc: '#000000' |
| 180 | + dark: badgeBackground, |
| 181 | + light: badgeBackground, |
| 182 | + hc: badgeBackground |
183 | 183 | }, 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.")); |
184 | 184 |
|
185 | 185 | export const ACTIVITY_BAR_BADGE_FOREGROUND = registerColor('activityBarBadge.foreground', { |
186 | | - dark: Color.white, |
187 | | - light: Color.white, |
188 | | - hc: Color.white |
| 186 | + dark: badgeForeground, |
| 187 | + light: badgeForeground, |
| 188 | + hc: badgeForeground |
189 | 189 | }, 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.")); |
190 | 190 |
|
191 | 191 |
|
|
0 commit comments