Skip to content

Commit

Permalink
fix #44784
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Mar 1, 2018
1 parent 815720c commit 326782b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ export const CLEAR_ALL_NOTIFICATIONS = 'notifications.clearAll';
const notificationFocusedId = 'notificationFocus';
export const NotificationFocusedContext = new RawContextKey<boolean>(notificationFocusedId, true);

const notificationsCenterVisibleId = 'notificationsCenterVisible';
const notificationsCenterVisibleId = 'notificationCenterVisible';
export const NotificationsCenterVisibleContext = new RawContextKey<boolean>(notificationsCenterVisibleId, false);

const notificationsToastsVisibleId = 'notificationsToastsVisible';
const notificationsToastsVisibleId = 'notificationToastsVisible';
export const NotificationsToastsVisibleContext = new RawContextKey<boolean>(notificationsToastsVisibleId, false);

export interface INotificationsCenterController {
Expand Down
16 changes: 8 additions & 8 deletions src/vs/workbench/common/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,17 +366,17 @@ export const TITLE_BAR_BORDER = registerColor('titleBar.border', {

// < --- Notifications --- >

export const NOTIFICATIONS_CENTER_BORDER = registerColor('notificationsCenter.border', {
export const NOTIFICATIONS_CENTER_BORDER = registerColor('notificationCenter.border', {
dark: null,
light: null,
hc: contrastBorder
}, nls.localize('notificationsCenterBorder', "Notifications center border color. Notifications slide in from the bottom right of the window."));
}, nls.localize('notificationCenterBorder', "Notifications center border color. Notifications slide in from the bottom right of the window."));

export const NOTIFICATIONS_TOAST_BORDER = registerColor('notificationsToast.border', {
export const NOTIFICATIONS_TOAST_BORDER = registerColor('notificationToast.border', {
dark: null,
light: null,
hc: contrastBorder
}, nls.localize('notificationsToastBorder', "Notification toast border color. Notifications slide in from the bottom right of the window."));
}, nls.localize('notificationToastBorder', "Notification toast border color. Notifications slide in from the bottom right of the window."));

export const NOTIFICATIONS_FOREGROUND = registerColor('notifications.foreground', {
dark: null,
Expand All @@ -396,17 +396,17 @@ export const NOTIFICATIONS_LINKS = registerColor('notificationLink.foreground',
hc: textLinkForeground
}, nls.localize('notificationsLink', "Notification links foreground color. Notifications slide in from the bottom right of the window."));

export const NOTIFICATIONS_CENTER_HEADER_FOREGROUND = registerColor('notificationsCenterHeader.foreground', {
export const NOTIFICATIONS_CENTER_HEADER_FOREGROUND = registerColor('notificationCenterHeader.foreground', {
dark: null,
light: null,
hc: null
}, nls.localize('notificationsCenterHeaderForeground', "Notifications center header foreground color. Notifications slide in from the bottom right of the window."));
}, nls.localize('notificationCenterHeaderForeground', "Notifications center header foreground color. Notifications slide in from the bottom right of the window."));

export const NOTIFICATIONS_CENTER_HEADER_BACKGROUND = registerColor('notificationsCenterHeader.background', {
export const NOTIFICATIONS_CENTER_HEADER_BACKGROUND = registerColor('notificationCenterHeader.background', {
dark: lighten(NOTIFICATIONS_BACKGROUND, 0.3),
light: darken(NOTIFICATIONS_BACKGROUND, 0.05),
hc: NOTIFICATIONS_BACKGROUND
}, nls.localize('notificationsCenterHeaderBackground', "Notifications center header background color. Notifications slide in from the bottom right of the window."));
}, nls.localize('notificationCenterHeaderBackground', "Notifications center header background color. Notifications slide in from the bottom right of the window."));

export const NOTIFICATIONS_BORDER = registerColor('notifications.border', {
dark: NOTIFICATIONS_CENTER_HEADER_BACKGROUND,
Expand Down

0 comments on commit 326782b

Please sign in to comment.