提交 326782bc 编写于 作者: B Benjamin Pasero

fix #44784

上级 815720cb
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册