mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
fix #44784
This commit is contained in:
parent
815720cb58
commit
326782bc28
|
@ -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 {
|
||||
|
|
|
@ -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,
|
||||
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue