@opensumi/ide-theme 2.20.10 → 2.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/icon-theme-data.js +1 -0
- package/lib/browser/icon-theme-data.js.map +1 -1
- package/lib/browser/icon.service.d.ts +2 -2
- package/lib/browser/icon.service.d.ts.map +1 -1
- package/lib/browser/icon.service.js.map +1 -1
- package/lib/browser/theme-data.d.ts.map +1 -1
- package/lib/browser/theme-data.js +16 -8
- package/lib/browser/theme-data.js.map +1 -1
- package/lib/browser/theme.contribution.d.ts.map +1 -1
- package/lib/browser/theme.contribution.js +2 -5
- package/lib/browser/theme.contribution.js.map +1 -1
- package/lib/browser/workbench.theme.service.d.ts.map +1 -1
- package/lib/browser/workbench.theme.service.js +7 -6
- package/lib/browser/workbench.theme.service.js.map +1 -1
- package/lib/common/color-tokens/activity-bar.d.ts.map +1 -1
- package/lib/common/color-tokens/activity-bar.js +18 -9
- package/lib/common/color-tokens/activity-bar.js.map +1 -1
- package/lib/common/color-tokens/badge.d.ts.map +1 -1
- package/lib/common/color-tokens/badge.js +12 -2
- package/lib/common/color-tokens/badge.js.map +1 -1
- package/lib/common/color-tokens/base.d.ts +1 -0
- package/lib/common/color-tokens/base.d.ts.map +1 -1
- package/lib/common/color-tokens/base.js +17 -12
- package/lib/common/color-tokens/base.js.map +1 -1
- package/lib/common/color-tokens/breadcrumb.d.ts.map +1 -1
- package/lib/common/color-tokens/breadcrumb.js +30 -5
- package/lib/common/color-tokens/breadcrumb.js.map +1 -1
- package/lib/common/color-tokens/button.d.ts.map +1 -1
- package/lib/common/color-tokens/button.js +32 -7
- package/lib/common/color-tokens/button.js.map +1 -1
- package/lib/common/color-tokens/charts.d.ts.map +1 -1
- package/lib/common/color-tokens/charts.js +28 -8
- package/lib/common/color-tokens/charts.js.map +1 -1
- package/lib/common/color-tokens/checkbox.d.ts +1 -0
- package/lib/common/color-tokens/checkbox.d.ts.map +1 -1
- package/lib/common/color-tokens/checkbox.js +5 -3
- package/lib/common/color-tokens/checkbox.js.map +1 -1
- package/lib/common/color-tokens/custom/actionbar.d.ts.map +1 -1
- package/lib/common/color-tokens/custom/actionbar.js +16 -5
- package/lib/common/color-tokens/custom/actionbar.js.map +1 -1
- package/lib/common/color-tokens/custom/activity-bar.d.ts.map +1 -1
- package/lib/common/color-tokens/custom/activity-bar.js +2 -1
- package/lib/common/color-tokens/custom/activity-bar.js.map +1 -1
- package/lib/common/color-tokens/custom/badge.d.ts.map +1 -1
- package/lib/common/color-tokens/custom/badge.js +4 -2
- package/lib/common/color-tokens/custom/badge.js.map +1 -1
- package/lib/common/color-tokens/custom/base.d.ts.map +1 -1
- package/lib/common/color-tokens/custom/base.js +33 -13
- package/lib/common/color-tokens/custom/base.js.map +1 -1
- package/lib/common/color-tokens/custom/button.d.ts.map +1 -1
- package/lib/common/color-tokens/custom/button.js +98 -51
- package/lib/common/color-tokens/custom/button.js.map +1 -1
- package/lib/common/color-tokens/custom/checkbox.js +6 -6
- package/lib/common/color-tokens/custom/checkbox.js.map +1 -1
- package/lib/common/color-tokens/custom/decoration.d.ts.map +1 -1
- package/lib/common/color-tokens/custom/decoration.js +12 -6
- package/lib/common/color-tokens/custom/decoration.js.map +1 -1
- package/lib/common/color-tokens/custom/editor.d.ts.map +1 -1
- package/lib/common/color-tokens/custom/editor.js +4 -2
- package/lib/common/color-tokens/custom/editor.js.map +1 -1
- package/lib/common/color-tokens/custom/extension.js +1 -1
- package/lib/common/color-tokens/custom/extension.js.map +1 -1
- package/lib/common/color-tokens/custom/icon.js +5 -5
- package/lib/common/color-tokens/custom/icon.js.map +1 -1
- package/lib/common/color-tokens/custom/input.d.ts.map +1 -1
- package/lib/common/color-tokens/custom/input.js +10 -9
- package/lib/common/color-tokens/custom/input.js.map +1 -1
- package/lib/common/color-tokens/custom/menu.d.ts.map +1 -1
- package/lib/common/color-tokens/custom/menu.js +13 -7
- package/lib/common/color-tokens/custom/menu.js.map +1 -1
- package/lib/common/color-tokens/custom/modal.d.ts.map +1 -1
- package/lib/common/color-tokens/custom/modal.js +17 -7
- package/lib/common/color-tokens/custom/modal.js.map +1 -1
- package/lib/common/color-tokens/custom/notification.d.ts.map +1 -1
- package/lib/common/color-tokens/custom/notification.js +6 -1
- package/lib/common/color-tokens/custom/notification.js.map +1 -1
- package/lib/common/color-tokens/custom/panel.d.ts.map +1 -1
- package/lib/common/color-tokens/custom/panel.js +18 -9
- package/lib/common/color-tokens/custom/panel.js.map +1 -1
- package/lib/common/color-tokens/custom/popover.js +4 -4
- package/lib/common/color-tokens/custom/popover.js.map +1 -1
- package/lib/common/color-tokens/custom/select.d.ts +1 -0
- package/lib/common/color-tokens/custom/select.d.ts.map +1 -1
- package/lib/common/color-tokens/custom/select.js +55 -17
- package/lib/common/color-tokens/custom/select.js.map +1 -1
- package/lib/common/color-tokens/custom/settings.d.ts.map +1 -1
- package/lib/common/color-tokens/custom/settings.js +12 -2
- package/lib/common/color-tokens/custom/settings.js.map +1 -1
- package/lib/common/color-tokens/custom/statusbar.d.ts.map +1 -1
- package/lib/common/color-tokens/custom/statusbar.js +2 -1
- package/lib/common/color-tokens/custom/statusbar.js.map +1 -1
- package/lib/common/color-tokens/custom/tab.d.ts.map +1 -1
- package/lib/common/color-tokens/custom/tab.js +9 -4
- package/lib/common/color-tokens/custom/tab.js.map +1 -1
- package/lib/common/color-tokens/custom/tooltip.d.ts.map +1 -1
- package/lib/common/color-tokens/custom/tooltip.js +8 -4
- package/lib/common/color-tokens/custom/tooltip.js.map +1 -1
- package/lib/common/color-tokens/custom/tree.d.ts.map +1 -1
- package/lib/common/color-tokens/custom/tree.js +26 -9
- package/lib/common/color-tokens/custom/tree.js.map +1 -1
- package/lib/common/color-tokens/debug.d.ts +2 -0
- package/lib/common/color-tokens/debug.d.ts.map +1 -1
- package/lib/common/color-tokens/debug.js +24 -17
- package/lib/common/color-tokens/debug.js.map +1 -1
- package/lib/common/color-tokens/debugToolbar.d.ts.map +1 -1
- package/lib/common/color-tokens/debugToolbar.js +24 -12
- package/lib/common/color-tokens/debugToolbar.js.map +1 -1
- package/lib/common/color-tokens/dropdown.d.ts +4 -4
- package/lib/common/color-tokens/dropdown.d.ts.map +1 -1
- package/lib/common/color-tokens/dropdown.js +5 -5
- package/lib/common/color-tokens/dropdown.js.map +1 -1
- package/lib/common/color-tokens/editor.d.ts +28 -5
- package/lib/common/color-tokens/editor.d.ts.map +1 -1
- package/lib/common/color-tokens/editor.js +235 -86
- package/lib/common/color-tokens/editor.js.map +1 -1
- package/lib/common/color-tokens/input.d.ts +4 -2
- package/lib/common/color-tokens/input.d.ts.map +1 -1
- package/lib/common/color-tokens/input.js +28 -17
- package/lib/common/color-tokens/input.js.map +1 -1
- package/lib/common/color-tokens/list-tree.d.ts +10 -0
- package/lib/common/color-tokens/list-tree.d.ts.map +1 -1
- package/lib/common/color-tokens/list-tree.js +41 -20
- package/lib/common/color-tokens/list-tree.js.map +1 -1
- package/lib/common/color-tokens/menu-bar.d.ts.map +1 -1
- package/lib/common/color-tokens/menu-bar.js +9 -6
- package/lib/common/color-tokens/menu-bar.js.map +1 -1
- package/lib/common/color-tokens/menu.d.ts.map +1 -1
- package/lib/common/color-tokens/menu.js +17 -7
- package/lib/common/color-tokens/menu.js.map +1 -1
- package/lib/common/color-tokens/merge-conflict.d.ts.map +1 -1
- package/lib/common/color-tokens/merge-conflict.js +18 -12
- package/lib/common/color-tokens/merge-conflict.js.map +1 -1
- package/lib/common/color-tokens/minimap.d.ts +5 -0
- package/lib/common/color-tokens/minimap.d.ts.map +1 -1
- package/lib/common/color-tokens/minimap.js +38 -6
- package/lib/common/color-tokens/minimap.js.map +1 -1
- package/lib/common/color-tokens/notification.d.ts.map +1 -1
- package/lib/common/color-tokens/notification.js +25 -14
- package/lib/common/color-tokens/notification.js.map +1 -1
- package/lib/common/color-tokens/panel.d.ts +6 -1
- package/lib/common/color-tokens/panel.d.ts.map +1 -1
- package/lib/common/color-tokens/panel.js +50 -14
- package/lib/common/color-tokens/panel.js.map +1 -1
- package/lib/common/color-tokens/pick-view.d.ts.map +1 -1
- package/lib/common/color-tokens/pick-view.js +25 -14
- package/lib/common/color-tokens/pick-view.js.map +1 -1
- package/lib/common/color-tokens/picker.js +2 -2
- package/lib/common/color-tokens/picker.js.map +1 -1
- package/lib/common/color-tokens/progress-bar.js +1 -1
- package/lib/common/color-tokens/progress-bar.js.map +1 -1
- package/lib/common/color-tokens/quick-input.d.ts.map +1 -1
- package/lib/common/color-tokens/quick-input.js +20 -4
- package/lib/common/color-tokens/quick-input.js.map +1 -1
- package/lib/common/color-tokens/scrollbar.d.ts.map +1 -1
- package/lib/common/color-tokens/scrollbar.js +7 -4
- package/lib/common/color-tokens/scrollbar.js.map +1 -1
- package/lib/common/color-tokens/settings.d.ts +3 -0
- package/lib/common/color-tokens/settings.d.ts.map +1 -1
- package/lib/common/color-tokens/settings.js +29 -17
- package/lib/common/color-tokens/settings.js.map +1 -1
- package/lib/common/color-tokens/sidebar.d.ts.map +1 -1
- package/lib/common/color-tokens/sidebar.js +23 -14
- package/lib/common/color-tokens/sidebar.js.map +1 -1
- package/lib/common/color-tokens/snippet.d.ts.map +1 -1
- package/lib/common/color-tokens/snippet.js +5 -4
- package/lib/common/color-tokens/snippet.js.map +1 -1
- package/lib/common/color-tokens/status-bar.d.ts +3 -0
- package/lib/common/color-tokens/status-bar.d.ts.map +1 -1
- package/lib/common/color-tokens/status-bar.js +67 -27
- package/lib/common/color-tokens/status-bar.js.map +1 -1
- package/lib/common/color-tokens/tab.d.ts +4 -1
- package/lib/common/color-tokens/tab.d.ts.map +1 -1
- package/lib/common/color-tokens/tab.js +80 -40
- package/lib/common/color-tokens/tab.js.map +1 -1
- package/lib/common/color-tokens/testing.d.ts.map +1 -1
- package/lib/common/color-tokens/testing.js +18 -9
- package/lib/common/color-tokens/testing.js.map +1 -1
- package/lib/common/color-tokens/text.js +7 -7
- package/lib/common/color-tokens/text.js.map +1 -1
- package/lib/common/color-tokens/title-bar.d.ts.map +1 -1
- package/lib/common/color-tokens/title-bar.js +15 -10
- package/lib/common/color-tokens/title-bar.js.map +1 -1
- package/lib/common/color-tokens/toolbar.d.ts +7 -0
- package/lib/common/color-tokens/toolbar.d.ts.map +1 -0
- package/lib/common/color-tokens/toolbar.js +18 -0
- package/lib/common/color-tokens/toolbar.js.map +1 -0
- package/lib/common/color-tokens/welcome-page.js +4 -4
- package/lib/common/color-tokens/welcome-page.js.map +1 -1
- package/lib/common/default-themes.d.ts +1 -0
- package/lib/common/default-themes.d.ts.map +1 -1
- package/lib/common/default-themes.js +51 -1
- package/lib/common/default-themes.js.map +1 -1
- package/lib/common/theme.service.d.ts +18 -8
- package/lib/common/theme.service.d.ts.map +1 -1
- package/lib/common/theme.service.js +28 -17
- package/lib/common/theme.service.js.map +1 -1
- package/package.json +7 -7
- package/lib/common/color-tokens/global.d.ts +0 -2
- package/lib/common/color-tokens/global.d.ts.map +0 -1
- package/lib/common/color-tokens/global.js +0 -8
- package/lib/common/color-tokens/global.js.map +0 -1
|
@@ -1,24 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.inputValidationErrorBorder = exports.inputValidationErrorForeground = exports.inputValidationErrorBackground = exports.inputValidationWarningBorder = exports.inputValidationWarningForeground = exports.inputValidationWarningBackground = exports.inputValidationInfoBorder = exports.inputValidationInfoForeground = exports.inputValidationInfoBackground = exports.
|
|
3
|
+
exports.inputValidationErrorBorder = exports.inputValidationErrorForeground = exports.inputValidationErrorBackground = exports.inputValidationWarningBorder = exports.inputValidationWarningForeground = exports.inputValidationWarningBackground = exports.inputValidationInfoBorder = exports.inputValidationInfoForeground = exports.inputValidationInfoBackground = exports.inputActiveOptionForeground = exports.inputActiveOptionBackground = exports.inputActiveOptionHoverBackground = exports.inputActiveOptionBorder = exports.inputPlaceholderForeground = exports.inputForeground = exports.inputBackground = exports.inputBorder = void 0;
|
|
4
4
|
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
5
5
|
const color_1 = require("../../common/color");
|
|
6
6
|
const utils_1 = require("../utils");
|
|
7
7
|
const base_1 = require("./base");
|
|
8
|
-
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
8
|
+
exports.inputBorder = (0, utils_1.registerColor)('input.border', { dark: '#00000000', light: '#00000000', hcDark: base_1.contrastBorder, hcLight: base_1.contrastBorder }, (0, ide_core_common_1.localize)('inputBoxBorder', 'Input box border.'));
|
|
9
|
+
exports.inputBackground = (0, utils_1.registerColor)('input.background', { dark: '#00000040', light: color_1.Color.white, hcDark: color_1.Color.black, hcLight: color_1.Color.white }, (0, ide_core_common_1.localize)('inputBoxBackground', 'Input box background.'));
|
|
10
|
+
exports.inputForeground = (0, utils_1.registerColor)('input.foreground', { dark: base_1.foreground, light: base_1.foreground, hcDark: base_1.foreground, hcLight: base_1.foreground }, (0, ide_core_common_1.localize)('inputBoxForeground', 'Input box foreground.'));
|
|
11
|
+
exports.inputPlaceholderForeground = (0, utils_1.registerColor)('input.placeholderForeground', {
|
|
12
|
+
light: (0, utils_1.transparent)(base_1.foreground, 0.5),
|
|
13
|
+
dark: (0, utils_1.transparent)(base_1.foreground, 0.5),
|
|
14
|
+
hcDark: (0, utils_1.transparent)(base_1.foreground, 0.7),
|
|
15
|
+
hcLight: (0, utils_1.transparent)(base_1.foreground, 0.7),
|
|
16
|
+
}, (0, ide_core_common_1.localize)('inputPlaceholderForeground', 'Input box foreground color for placeholder text.'));
|
|
17
|
+
exports.inputActiveOptionBorder = (0, utils_1.registerColor)('inputOption.activeBorder', { dark: '#007ACC', light: '#007ACC', hcDark: base_1.contrastBorder, hcLight: base_1.contrastBorder }, (0, ide_core_common_1.localize)('inputBoxActiveOptionBorder', 'Border color of activated options in input fields.'));
|
|
18
|
+
exports.inputActiveOptionHoverBackground = (0, utils_1.registerColor)('inputOption.hoverBackground', { dark: '#5a5d5e80', light: '#b8b8b850', hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('inputOption.hoverBackground', 'Background color of activated options in input fields.'));
|
|
19
|
+
exports.inputActiveOptionBackground = (0, utils_1.registerColor)('inputOption.activeBackground', {
|
|
20
|
+
dark: (0, utils_1.transparent)(base_1.focusBorder, 0.4),
|
|
21
|
+
light: (0, utils_1.transparent)(base_1.focusBorder, 0.2),
|
|
22
|
+
hcDark: color_1.Color.transparent,
|
|
23
|
+
hcLight: color_1.Color.transparent,
|
|
24
|
+
}, (0, ide_core_common_1.localize)('inputOption.activeBackground', 'Background hover color of options in input fields.'));
|
|
25
|
+
exports.inputActiveOptionForeground = (0, utils_1.registerColor)('inputOption.activeForeground', { dark: color_1.Color.white, light: color_1.Color.black, hcDark: null, hcLight: base_1.foreground }, (0, ide_core_common_1.localize)('inputOption.activeForeground', 'Foreground color of activated options in input fields.'));
|
|
26
|
+
exports.inputValidationInfoBackground = (0, utils_1.registerColor)('inputValidation.infoBackground', { dark: '#063B49', light: '#D6ECF2', hcDark: color_1.Color.black, hcLight: color_1.Color.white }, (0, ide_core_common_1.localize)('inputValidationInfoBackground', 'Input validation background color for information severity.'));
|
|
27
|
+
exports.inputValidationInfoForeground = (0, utils_1.registerColor)('inputValidation.infoForeground', { dark: null, light: null, hcDark: null, hcLight: base_1.foreground }, (0, ide_core_common_1.localize)('inputValidationInfoForeground', 'Input validation foreground color for information severity.'));
|
|
28
|
+
exports.inputValidationInfoBorder = (0, utils_1.registerColor)('inputValidation.infoBorder', { dark: '#007acc', light: '#007acc', hcDark: base_1.contrastBorder, hcLight: base_1.contrastBorder }, (0, ide_core_common_1.localize)('inputValidationInfoBorder', 'Input validation border color for information severity.'));
|
|
29
|
+
exports.inputValidationWarningBackground = (0, utils_1.registerColor)('inputValidation.warningBackground', { dark: '#352A05', light: '#F6F5D2', hcDark: color_1.Color.black, hcLight: color_1.Color.white }, (0, ide_core_common_1.localize)('inputValidationWarningBackground', 'Input validation background color for warning severity.'));
|
|
30
|
+
exports.inputValidationWarningForeground = (0, utils_1.registerColor)('inputValidation.warningForeground', { dark: null, light: null, hcDark: null, hcLight: base_1.foreground }, (0, ide_core_common_1.localize)('inputValidationWarningForeground', 'Input validation foreground color for warning severity.'));
|
|
31
|
+
exports.inputValidationWarningBorder = (0, utils_1.registerColor)('inputValidation.warningBorder', { dark: '#B89500', light: '#B89500', hcDark: base_1.contrastBorder, hcLight: base_1.contrastBorder }, (0, ide_core_common_1.localize)('inputValidationWarningBorder', 'Input validation border color for warning severity.'));
|
|
32
|
+
exports.inputValidationErrorBackground = (0, utils_1.registerColor)('inputValidation.errorBackground', { dark: '#5A1D1D', light: '#F2DEDE', hcDark: color_1.Color.black, hcLight: color_1.Color.white }, (0, ide_core_common_1.localize)('inputValidationErrorBackground', 'Input validation background color for error severity.'));
|
|
33
|
+
exports.inputValidationErrorForeground = (0, utils_1.registerColor)('inputValidation.errorForeground', { dark: null, light: null, hcDark: null, hcLight: base_1.foreground }, (0, ide_core_common_1.localize)('inputValidationErrorForeground', 'Input validation foreground color for error severity.'));
|
|
34
|
+
exports.inputValidationErrorBorder = (0, utils_1.registerColor)('inputValidation.errorBorder', { dark: '#BE1100', light: '#BE1100', hcDark: base_1.contrastBorder, hcLight: base_1.contrastBorder }, (0, ide_core_common_1.localize)('inputValidationErrorBorder', 'Input validation border color for error severity.'));
|
|
24
35
|
//# sourceMappingURL=input.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../../src/common/color-tokens/input.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,8CAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../../src/common/color-tokens/input.ts"],"names":[],"mappings":";;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ACzD,iCAAiC,EACjC,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,aAAK,CAAC,KAAK,EAAE,OAAO,EAAE,aAAK,CAAC,KAAK,EAAE,EAChF,IAAA,0BAAQ,EAAC,gCAAgC,EAAE,uDAAuD,CAAC,CACpG,CAAC;AACW,QAAA,8BAA8B,GAAG,IAAA,qBAAa,EACzD,iCAAiC,EACjC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,iBAAU,EAAE,EAC9D,IAAA,0BAAQ,EAAC,gCAAgC,EAAE,uDAAuD,CAAC,CACpG,CAAC;AACW,QAAA,0BAA0B,GAAG,IAAA,qBAAa,EACrD,6BAA6B,EAC7B,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,qBAAc,EAAE,OAAO,EAAE,qBAAc,EAAE,EACtF,IAAA,0BAAQ,EAAC,4BAA4B,EAAE,mDAAmD,CAAC,CAC5F,CAAC"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
export declare const listFocusBackground: string;
|
|
2
2
|
export declare const listFocusForeground: string;
|
|
3
|
+
export declare const listFocusAndSelectionOutline: string;
|
|
3
4
|
export declare const listActiveSelectionBackground: string;
|
|
4
5
|
export declare const listActiveSelectionForeground: string;
|
|
6
|
+
export declare const listActiveSelectionIconForeground: string;
|
|
5
7
|
export declare const listInactiveSelectionBackground: string;
|
|
6
8
|
export declare const listInactiveSelectionForeground: string;
|
|
9
|
+
export declare const listInactiveSelectionIconForeground: string;
|
|
7
10
|
export declare const listInactiveFocusBackground: string;
|
|
11
|
+
export declare const listInactiveFocusOutline: string;
|
|
8
12
|
export declare const listHoverBackground: string;
|
|
9
13
|
export declare const listHoverForeground: string;
|
|
10
14
|
export declare const listDropBackground: string;
|
|
@@ -15,6 +19,12 @@ export declare const listWarningForeground: string;
|
|
|
15
19
|
export declare const listFilterWidgetBackground: string;
|
|
16
20
|
export declare const listFilterWidgetOutline: string;
|
|
17
21
|
export declare const listFilterWidgetNoMatchesOutline: string;
|
|
22
|
+
export declare const listFilterWidgetShadow: string;
|
|
23
|
+
export declare const listFilterMatchHighlight: string;
|
|
24
|
+
export declare const listFilterMatchHighlightBorder: string;
|
|
18
25
|
export declare const treeIndentGuidesStroke: string;
|
|
19
26
|
export declare const listFocusOutline: string;
|
|
27
|
+
export declare const tableColumnsBorder: string;
|
|
28
|
+
export declare const tableOddRowsBackgroundColor: string;
|
|
29
|
+
export declare const listDeemphasizedForeground: string;
|
|
20
30
|
//# sourceMappingURL=list-tree.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-tree.d.ts","sourceRoot":"","sources":["../../../src/common/color-tokens/list-tree.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-tree.d.ts","sourceRoot":"","sources":["../../../src/common/color-tokens/list-tree.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,mBAAmB,QAO/B,CAAC;AACF,eAAO,MAAM,mBAAmB,QAO/B,CAAC;AACF,eAAO,MAAM,4BAA4B,QAOxC,CAAC;AACF,eAAO,MAAM,6BAA6B,QAOzC,CAAC;AACF,eAAO,MAAM,6BAA6B,QAOzC,CAAC;AACF,eAAO,MAAM,iCAAiC,QAO7C,CAAC;AACF,eAAO,MAAM,+BAA+B,QAO3C,CAAC;AACF,eAAO,MAAM,+BAA+B,QAO3C,CAAC;AACF,eAAO,MAAM,mCAAmC,QAO/C,CAAC;AACF,eAAO,MAAM,2BAA2B,QAOvC,CAAC;AACF,eAAO,MAAM,wBAAwB,QAOpC,CAAC;AACF,eAAO,MAAM,mBAAmB,QAI/B,CAAC;AACF,eAAO,MAAM,mBAAmB,QAI/B,CAAC;AACF,eAAO,MAAM,kBAAkB,QAI9B,CAAC;AACF,eAAO,MAAM,uBAAuB,QAInC,CAAC;AACF,eAAO,MAAM,yBAAyB,QAOrC,CAAC;AACF,eAAO,MAAM,mBAAmB,QAI/B,CAAC;AACF,eAAO,MAAM,qBAAqB,QAIjC,CAAC;AACF,eAAO,MAAM,0BAA0B,QAStC,CAAC;AACF,eAAO,MAAM,uBAAuB,QAInC,CAAC;AACF,eAAO,MAAM,gCAAgC,QAO5C,CAAC;AACF,eAAO,MAAM,sBAAsB,QAIlC,CAAC;AACF,eAAO,MAAM,wBAAwB,QAIpC,CAAC;AACF,eAAO,MAAM,8BAA8B,QAS1C,CAAC;AACF,eAAO,MAAM,sBAAsB,QAIlC,CAAC;AACF,eAAO,MAAM,gBAAgB,QAO5B,CAAC;AACF,eAAO,MAAM,kBAAkB,QAI9B,CAAC;AACF,eAAO,MAAM,2BAA2B,QAIvC,CAAC;AACF,eAAO,MAAM,0BAA0B,QAItC,CAAC"}
|
|
@@ -1,27 +1,48 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.listFocusOutline = exports.treeIndentGuidesStroke = exports.listFilterWidgetNoMatchesOutline = exports.listFilterWidgetOutline = exports.listFilterWidgetBackground = exports.listWarningForeground = exports.listErrorForeground = exports.listInvalidItemForeground = exports.listHighlightForeground = exports.listDropBackground = exports.listHoverForeground = exports.listHoverBackground = exports.listInactiveFocusBackground = exports.listInactiveSelectionForeground = exports.listInactiveSelectionBackground = exports.listActiveSelectionForeground = exports.listActiveSelectionBackground = exports.listFocusForeground = exports.listFocusBackground = void 0;
|
|
3
|
+
exports.listDeemphasizedForeground = exports.tableOddRowsBackgroundColor = exports.tableColumnsBorder = exports.listFocusOutline = exports.treeIndentGuidesStroke = exports.listFilterMatchHighlightBorder = exports.listFilterMatchHighlight = exports.listFilterWidgetShadow = exports.listFilterWidgetNoMatchesOutline = exports.listFilterWidgetOutline = exports.listFilterWidgetBackground = exports.listWarningForeground = exports.listErrorForeground = exports.listInvalidItemForeground = exports.listHighlightForeground = exports.listDropBackground = exports.listHoverForeground = exports.listHoverBackground = exports.listInactiveFocusOutline = exports.listInactiveFocusBackground = exports.listInactiveSelectionIconForeground = exports.listInactiveSelectionForeground = exports.listInactiveSelectionBackground = exports.listActiveSelectionIconForeground = exports.listActiveSelectionForeground = exports.listActiveSelectionBackground = exports.listFocusAndSelectionOutline = exports.listFocusForeground = exports.listFocusBackground = void 0;
|
|
4
4
|
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
5
5
|
const color_1 = require("../../common/color");
|
|
6
6
|
const utils_1 = require("../utils");
|
|
7
7
|
const base_1 = require("./base");
|
|
8
|
-
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
8
|
+
const editor_1 = require("./editor");
|
|
9
|
+
exports.listFocusBackground = (0, utils_1.registerColor)('list.focusBackground', { dark: '#062F4A', light: '#D6EBFF', hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('listFocusBackground', 'List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.'));
|
|
10
|
+
exports.listFocusForeground = (0, utils_1.registerColor)('list.focusForeground', { dark: null, light: null, hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('listFocusForeground', 'List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.'));
|
|
11
|
+
exports.listFocusAndSelectionOutline = (0, utils_1.registerColor)('list.focusAndSelectionOutline', { dark: null, light: null, hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('listFocusAndSelectionOutline', 'List/Tree outline color for the focused item when the list/tree is active and selected. An active list/tree has keyboard focus, an inactive does not.'));
|
|
12
|
+
exports.listActiveSelectionBackground = (0, utils_1.registerColor)('list.activeSelectionBackground', { dark: '#04395E', light: '#0060C0', hcDark: null, hcLight: color_1.Color.fromHex('#0F4A85').transparent(0.1) }, (0, ide_core_common_1.localize)('listActiveSelectionBackground', 'List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.'));
|
|
13
|
+
exports.listActiveSelectionForeground = (0, utils_1.registerColor)('list.activeSelectionForeground', { dark: color_1.Color.white, light: color_1.Color.white, hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('listActiveSelectionForeground', 'List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.'));
|
|
14
|
+
exports.listActiveSelectionIconForeground = (0, utils_1.registerColor)('list.activeSelectionIconForeground', { dark: null, light: null, hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('listActiveSelectionIconForeground', 'List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.'));
|
|
15
|
+
exports.listInactiveSelectionBackground = (0, utils_1.registerColor)('list.inactiveSelectionBackground', { dark: '#37373D', light: '#E4E6F1', hcDark: null, hcLight: color_1.Color.fromHex('#0F4A85').transparent(0.1) }, (0, ide_core_common_1.localize)('listInactiveSelectionBackground', 'List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.'));
|
|
16
|
+
exports.listInactiveSelectionForeground = (0, utils_1.registerColor)('list.inactiveSelectionForeground', { dark: null, light: null, hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('listInactiveSelectionForeground', 'List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.'));
|
|
17
|
+
exports.listInactiveSelectionIconForeground = (0, utils_1.registerColor)('list.inactiveSelectionIconForeground', { dark: null, light: null, hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('listInactiveSelectionIconForeground', 'List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.'));
|
|
18
|
+
exports.listInactiveFocusBackground = (0, utils_1.registerColor)('list.inactiveFocusBackground', { dark: null, light: null, hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('listInactiveFocusBackground', 'List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.'));
|
|
19
|
+
exports.listInactiveFocusOutline = (0, utils_1.registerColor)('list.inactiveFocusOutline', { dark: null, light: null, hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('listInactiveFocusOutline', 'List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.'));
|
|
20
|
+
exports.listHoverBackground = (0, utils_1.registerColor)('list.hoverBackground', { dark: '#2A2D2E', light: '#F0F0F0', hcDark: '#2A2D2E', hcLight: color_1.Color.fromHex('#0F4A85').transparent(0.1) }, (0, ide_core_common_1.localize)('listHoverBackground', 'List/Tree background when hovering over items using the mouse.'));
|
|
21
|
+
exports.listHoverForeground = (0, utils_1.registerColor)('list.hoverForeground', { dark: null, light: null, hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('listHoverForeground', 'List/Tree foreground when hovering over items using the mouse.'));
|
|
22
|
+
exports.listDropBackground = (0, utils_1.registerColor)('list.dropBackground', { dark: '#062F4A', light: '#D6EBFF', hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('listDropBackground', 'List/Tree drag and drop background when moving items around using the mouse.'));
|
|
23
|
+
exports.listHighlightForeground = (0, utils_1.registerColor)('list.highlightForeground', { dark: '#2AAAFF', light: '#0066BF', hcDark: base_1.focusBorder, hcLight: base_1.focusBorder }, (0, ide_core_common_1.localize)('highlight', 'List/Tree foreground color of the match highlights when searching inside the list/tree.'));
|
|
24
|
+
exports.listInvalidItemForeground = (0, utils_1.registerColor)('list.invalidItemForeground', { dark: '#B89500', light: '#B89500', hcDark: '#B89500', hcLight: '#B5200D' }, (0, ide_core_common_1.localize)('invalidItemForeground', 'List/Tree foreground color for invalid items, for example an unresolved root in explorer.'));
|
|
25
|
+
exports.listErrorForeground = (0, utils_1.registerColor)('list.errorForeground', { dark: '#F88070', light: '#B01011', hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('listErrorForeground', 'Foreground color of list items containing errors.'));
|
|
26
|
+
exports.listWarningForeground = (0, utils_1.registerColor)('list.warningForeground', { dark: '#CCA700', light: '#855F00', hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('listWarningForeground', 'Foreground color of list items containing warnings.'));
|
|
27
|
+
exports.listFilterWidgetBackground = (0, utils_1.registerColor)('listFilterWidget.background', {
|
|
28
|
+
light: (0, utils_1.darken)(editor_1.editorWidgetBackground, 0),
|
|
29
|
+
dark: (0, utils_1.lighten)(editor_1.editorWidgetBackground, 0),
|
|
30
|
+
hcDark: editor_1.editorWidgetBackground,
|
|
31
|
+
hcLight: editor_1.editorWidgetBackground,
|
|
32
|
+
}, (0, ide_core_common_1.localize)('listFilterWidgetBackground', 'Background color of the type filter widget in lists and trees.'));
|
|
33
|
+
exports.listFilterWidgetOutline = (0, utils_1.registerColor)('listFilterWidget.outline', { dark: color_1.Color.transparent, light: color_1.Color.transparent, hcDark: '#f38518', hcLight: '#007ACC' }, (0, ide_core_common_1.localize)('listFilterWidgetOutline', 'Outline color of the type filter widget in lists and trees.'));
|
|
34
|
+
exports.listFilterWidgetNoMatchesOutline = (0, utils_1.registerColor)('listFilterWidget.noMatchesOutline', { dark: '#BE1100', light: '#BE1100', hcDark: base_1.contrastBorder, hcLight: base_1.contrastBorder }, (0, ide_core_common_1.localize)('listFilterWidgetNoMatchesOutline', 'Outline color of the type filter widget in lists and trees, when there are no matches.'));
|
|
35
|
+
exports.listFilterWidgetShadow = (0, utils_1.registerColor)('listFilterWidget.shadow', { dark: base_1.widgetShadow, light: base_1.widgetShadow, hcDark: base_1.widgetShadow, hcLight: base_1.widgetShadow }, (0, ide_core_common_1.localize)('listFilterWidgetShadow', 'Shadown color of the type filter widget in lists and trees.'));
|
|
36
|
+
exports.listFilterMatchHighlight = (0, utils_1.registerColor)('list.filterMatchBackground', { dark: editor_1.editorFindMatchHighlight, light: editor_1.editorFindMatchHighlight, hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('listFilterMatchHighlight', 'Background color of the filtered match.'));
|
|
37
|
+
exports.listFilterMatchHighlightBorder = (0, utils_1.registerColor)('list.filterMatchBorder', {
|
|
38
|
+
dark: editor_1.editorFindMatchHighlightBorder,
|
|
39
|
+
light: editor_1.editorFindMatchHighlightBorder,
|
|
40
|
+
hcDark: base_1.contrastBorder,
|
|
41
|
+
hcLight: base_1.activeContrastBorder,
|
|
42
|
+
}, (0, ide_core_common_1.localize)('listFilterMatchHighlightBorder', 'Border color of the filtered match.'));
|
|
43
|
+
exports.treeIndentGuidesStroke = (0, utils_1.registerColor)('tree.indentGuidesStroke', { dark: '#585858', light: '#a9a9a9', hcDark: '#a9a9a9', hcLight: '#a5a5a5' }, (0, ide_core_common_1.localize)('treeIndentGuidesStroke', 'Tree stroke color for the indentation guides.'));
|
|
44
|
+
exports.listFocusOutline = (0, utils_1.registerColor)('list.focusOutline', { dark: base_1.focusBorder, light: base_1.focusBorder, hcDark: base_1.activeContrastBorder, hcLight: base_1.activeContrastBorder }, (0, ide_core_common_1.localize)('listFocusOutline', 'List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.'));
|
|
45
|
+
exports.tableColumnsBorder = (0, utils_1.registerColor)('tree.tableColumnsBorder', { dark: '#CCCCCC20', light: '#61616120', hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('tableColumnsBorder', 'Table border color between columns.'));
|
|
46
|
+
exports.tableOddRowsBackgroundColor = (0, utils_1.registerColor)('tree.tableOddRowsBackground', { dark: (0, utils_1.transparent)(base_1.foreground, 0.04), light: (0, utils_1.transparent)(base_1.foreground, 0.04), hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('tableOddRowsBackgroundColor', 'Background color for odd table rows.'));
|
|
47
|
+
exports.listDeemphasizedForeground = (0, utils_1.registerColor)('list.deemphasizedForeground', { dark: '#8C8C8C', light: '#8E8E90', hcDark: '#A7A8A9', hcLight: '#666666' }, (0, ide_core_common_1.localize)('listDeemphasizedForeground', 'List/Tree foreground color for items that are deemphasized. '));
|
|
27
48
|
//# sourceMappingURL=list-tree.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-tree.js","sourceRoot":"","sources":["../../../src/common/color-tokens/list-tree.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,8CAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"list-tree.js","sourceRoot":"","sources":["../../../src/common/color-tokens/list-tree.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,8CAA2C;AAC3C,oCAAuE;AAEvE,iCAAqG;AACrG,qCAA4G;AAE/F,QAAA,mBAAmB,GAAG,IAAA,qBAAa,EAC9C,sBAAsB,EACtB,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,EAClE,IAAA,0BAAQ,EACN,qBAAqB,EACrB,6IAA6I,CAC9I,CACF,CAAC;AACW,QAAA,mBAAmB,GAAG,IAAA,qBAAa,EAC9C,sBAAsB,EACtB,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,EACxD,IAAA,0BAAQ,EACN,qBAAqB,EACrB,6IAA6I,CAC9I,CACF,CAAC;AACW,QAAA,4BAA4B,GAAG,IAAA,qBAAa,EACvD,+BAA+B,EAC/B,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,EACxD,IAAA,0BAAQ,EACN,8BAA8B,EAC9B,uJAAuJ,CACxJ,CACF,CAAC;AACW,QAAA,6BAA6B,GAAG,IAAA,qBAAa,EACx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6B,EAC7B,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,EAC5E,IAAA,0BAAQ,EAAC,4BAA4B,EAAE,8DAA8D,CAAC,CACvG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-bar.d.ts","sourceRoot":"","sources":["../../../src/common/color-tokens/menu-bar.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"menu-bar.d.ts","sourceRoot":"","sources":["../../../src/common/color-tokens/menu-bar.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,4BAA4B,QASxC,CAAC;AAEF,eAAO,MAAM,4BAA4B,QASxC,CAAC;AAEF,eAAO,MAAM,wBAAwB,QASpC,CAAC"}
|
|
@@ -2,24 +2,27 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MENUBAR_SELECTION_BORDER = exports.MENUBAR_SELECTION_BACKGROUND = exports.MENUBAR_SELECTION_FOREGROUND = void 0;
|
|
4
4
|
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
5
|
-
const color_1 = require("../../common/color");
|
|
6
5
|
const utils_1 = require("../utils");
|
|
7
6
|
const base_1 = require("./base");
|
|
8
7
|
const title_bar_1 = require("./title-bar");
|
|
8
|
+
const toolbar_1 = require("./toolbar");
|
|
9
9
|
// < --- Menubar --- >
|
|
10
10
|
exports.MENUBAR_SELECTION_FOREGROUND = (0, utils_1.registerColor)('menubar.selectionForeground', {
|
|
11
11
|
dark: title_bar_1.TITLE_BAR_ACTIVE_FOREGROUND,
|
|
12
12
|
light: title_bar_1.TITLE_BAR_ACTIVE_FOREGROUND,
|
|
13
|
-
|
|
13
|
+
hcDark: title_bar_1.TITLE_BAR_ACTIVE_FOREGROUND,
|
|
14
|
+
hcLight: title_bar_1.TITLE_BAR_ACTIVE_FOREGROUND,
|
|
14
15
|
}, (0, ide_core_common_1.localize)('menubarSelectionForeground', 'Foreground color of the selected menu item in the menubar.'));
|
|
15
16
|
exports.MENUBAR_SELECTION_BACKGROUND = (0, utils_1.registerColor)('menubar.selectionBackground', {
|
|
16
|
-
dark:
|
|
17
|
-
light:
|
|
18
|
-
|
|
17
|
+
dark: toolbar_1.toolbarHoverBackground,
|
|
18
|
+
light: toolbar_1.toolbarHoverBackground,
|
|
19
|
+
hcDark: null,
|
|
20
|
+
hcLight: null,
|
|
19
21
|
}, (0, ide_core_common_1.localize)('menubarSelectionBackground', 'Background color of the selected menu item in the menubar.'));
|
|
20
22
|
exports.MENUBAR_SELECTION_BORDER = (0, utils_1.registerColor)('menubar.selectionBorder', {
|
|
21
23
|
dark: null,
|
|
22
24
|
light: null,
|
|
23
|
-
|
|
25
|
+
hcDark: base_1.activeContrastBorder,
|
|
26
|
+
hcLight: base_1.activeContrastBorder,
|
|
24
27
|
}, (0, ide_core_common_1.localize)('menubarSelectionBorder', 'Border color of the selected menu item in the menubar.'));
|
|
25
28
|
//# sourceMappingURL=menu-bar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-bar.js","sourceRoot":"","sources":["../../../src/common/color-tokens/menu-bar.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;
|
|
1
|
+
{"version":3,"file":"menu-bar.js","sourceRoot":"","sources":["../../../src/common/color-tokens/menu-bar.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAGrD,oCAAsD;AAEtD,iCAA8C;AAC9C,2CAA0D;AAC1D,uCAAmD;AAEnD,sBAAsB;AAET,QAAA,4BAA4B,GAAG,IAAA,qBAAa,EACvD,6BAA6B,EAC7B;IACE,IAAI,EAAE,uCAA2B;IACjC,KAAK,EAAE,uCAA2B;IAClC,MAAM,EAAE,uCAA2B;IACnC,OAAO,EAAE,uCAA2B;CACrC,EACD,IAAA,0BAAQ,EAAC,4BAA4B,EAAE,4DAA4D,CAAC,CACrG,CAAC;AAEW,QAAA,4BAA4B,GAAG,IAAA,qBAAa,EACvD,6BAA6B,EAC7B;IACE,IAAI,EAAE,gCAAsB;IAC5B,KAAK,EAAE,gCAAsB;IAC7B,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;CACd,EACD,IAAA,0BAAQ,EAAC,4BAA4B,EAAE,4DAA4D,CAAC,CACrG,CAAC;AAEW,QAAA,wBAAwB,GAAG,IAAA,qBAAa,EACnD,yBAAyB,EACzB;IACE,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,2BAAoB;IAC5B,OAAO,EAAE,2BAAoB;CAC9B,EACD,IAAA,0BAAQ,EAAC,wBAAwB,EAAE,wDAAwD,CAAC,CAC7F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../src/common/color-tokens/menu.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,UAAU,QAItB,CAAC;AACF,eAAO,MAAM,cAAc,QAI1B,CAAC;AACF,eAAO,MAAM,cAAc,QAI1B,CAAC;AACF,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../src/common/color-tokens/menu.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,UAAU,QAItB,CAAC;AACF,eAAO,MAAM,cAAc,QAI1B,CAAC;AACF,eAAO,MAAM,cAAc,QAI1B,CAAC;AACF,eAAO,MAAM,uBAAuB,QASnC,CAAC;AACF,eAAO,MAAM,uBAAuB,QASnC,CAAC;AACF,eAAO,MAAM,mBAAmB,QAI/B,CAAC;AACF,eAAO,MAAM,uBAAuB,QAInC,CAAC"}
|
|
@@ -6,11 +6,21 @@ const utils_1 = require("../utils");
|
|
|
6
6
|
const base_1 = require("./base");
|
|
7
7
|
const dropdown_1 = require("./dropdown");
|
|
8
8
|
const list_tree_1 = require("./list-tree");
|
|
9
|
-
exports.menuBorder = (0, utils_1.registerColor)('menu.border', { dark: null, light: null,
|
|
10
|
-
exports.menuForeground = (0, utils_1.registerColor)('menu.foreground', { dark: dropdown_1.
|
|
11
|
-
exports.menuBackground = (0, utils_1.registerColor)('menu.background', { dark: dropdown_1.
|
|
12
|
-
exports.menuSelectionForeground = (0, utils_1.registerColor)('menu.selectionForeground', {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
exports.menuBorder = (0, utils_1.registerColor)('menu.border', { dark: null, light: null, hcDark: base_1.contrastBorder, hcLight: base_1.contrastBorder }, (0, ide_core_common_1.localize)('menuBorder', 'Border color of menus.'));
|
|
10
|
+
exports.menuForeground = (0, utils_1.registerColor)('menu.foreground', { dark: dropdown_1.selectForeground, light: base_1.foreground, hcDark: dropdown_1.selectForeground, hcLight: dropdown_1.selectForeground }, (0, ide_core_common_1.localize)('menuForeground', 'Foreground color of menu items.'));
|
|
11
|
+
exports.menuBackground = (0, utils_1.registerColor)('menu.background', { dark: dropdown_1.selectBackground, light: dropdown_1.selectBackground, hcDark: dropdown_1.selectBackground, hcLight: dropdown_1.selectBackground }, (0, ide_core_common_1.localize)('menuBackground', 'Background color of menu items.'));
|
|
12
|
+
exports.menuSelectionForeground = (0, utils_1.registerColor)('menu.selectionForeground', {
|
|
13
|
+
dark: list_tree_1.listActiveSelectionForeground,
|
|
14
|
+
light: list_tree_1.listActiveSelectionForeground,
|
|
15
|
+
hcDark: list_tree_1.listActiveSelectionForeground,
|
|
16
|
+
hcLight: list_tree_1.listActiveSelectionForeground,
|
|
17
|
+
}, (0, ide_core_common_1.localize)('menuSelectionForeground', 'Foreground color of the selected menu item in menus.'));
|
|
18
|
+
exports.menuSelectionBackground = (0, utils_1.registerColor)('menu.selectionBackground', {
|
|
19
|
+
dark: list_tree_1.listActiveSelectionBackground,
|
|
20
|
+
light: list_tree_1.listActiveSelectionBackground,
|
|
21
|
+
hcDark: list_tree_1.listActiveSelectionBackground,
|
|
22
|
+
hcLight: list_tree_1.listActiveSelectionBackground,
|
|
23
|
+
}, (0, ide_core_common_1.localize)('menuSelectionBackground', 'Background color of the selected menu item in menus.'));
|
|
24
|
+
exports.menuSelectionBorder = (0, utils_1.registerColor)('menu.selectionBorder', { dark: null, light: null, hcDark: base_1.activeContrastBorder, hcLight: base_1.activeContrastBorder }, (0, ide_core_common_1.localize)('menuSelectionBorder', 'Border color of the selected menu item in menus.'));
|
|
25
|
+
exports.menuSeparatorBackground = (0, utils_1.registerColor)('menu.separatorBackground', { dark: '#606060', light: '#D4D4D4', hcDark: base_1.contrastBorder, hcLight: base_1.contrastBorder }, (0, ide_core_common_1.localize)('menuSeparatorBackground', 'Color of a separator menu item in menus.'));
|
|
16
26
|
//# sourceMappingURL=menu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.js","sourceRoot":"","sources":["../../../src/common/color-tokens/menu.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,oCAAyC;AAEzC,iCAA0E;AAC1E,
|
|
1
|
+
{"version":3,"file":"menu.js","sourceRoot":"","sources":["../../../src/common/color-tokens/menu.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,oCAAyC;AAEzC,iCAA0E;AAC1E,yCAAgE;AAChE,2CAA2F;AAE9E,QAAA,UAAU,GAAG,IAAA,qBAAa,EACrC,aAAa,EACb,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,qBAAc,EAAE,OAAO,EAAE,qBAAc,EAAE,EAC5E,IAAA,0BAAQ,EAAC,YAAY,EAAE,wBAAwB,CAAC,CACjD,CAAC;AACW,QAAA,cAAc,GAAG,IAAA,qBAAa,EACzC,iBAAiB,EACjB,EAAE,IAAI,EAAE,2BAAgB,EAAE,KAAK,EAAE,iBAAU,EAAE,MAAM,EAAE,2BAAgB,EAAE,OAAO,EAAE,2BAAgB,EAAE,EAClG,IAAA,0BAAQ,EAAC,gBAAgB,EAAE,iCAAiC,CAAC,CAC9D,CAAC;AACW,QAAA,cAAc,GAA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","sources":["../../../src/common/color-tokens/merge-conflict.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,4BAA4B,QAQxC,CAAC;AACF,eAAO,MAAM,6BAA6B,
|
|
1
|
+
{"version":3,"file":"merge-conflict.d.ts","sourceRoot":"","sources":["../../../src/common/color-tokens/merge-conflict.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,4BAA4B,QAQxC,CAAC;AACF,eAAO,MAAM,6BAA6B,QAazC,CAAC;AACF,eAAO,MAAM,6BAA6B,QAQzC,CAAC;AACF,eAAO,MAAM,8BAA8B,QAa1C,CAAC;AACF,eAAO,MAAM,2BAA2B,QAQvC,CAAC;AACF,eAAO,MAAM,4BAA4B,QAaxC,CAAC;AAEF,eAAO,MAAM,WAAW,QAIvB,CAAC;AAEF,eAAO,MAAM,qCAAqC,QASjD,CAAC;AACF,eAAO,MAAM,sCAAsC,QASlD,CAAC;AACF,eAAO,MAAM,oCAAoC,QAYhD,CAAC;AAEF,eAAO,MAAM,gCAAgC,QAQ5C,CAAC;AAEF,eAAO,MAAM,yCAAyC,QAQrD,CAAC"}
|
|
@@ -13,40 +13,46 @@ const incomingBaseColor = color_1.Color.fromHex('#40A6FF').transparent(headerTra
|
|
|
13
13
|
const commonBaseColor = color_1.Color.fromHex('#606060').transparent(0.4);
|
|
14
14
|
const contentTransparency = 0.4;
|
|
15
15
|
const rulerTransparency = 1;
|
|
16
|
-
exports.mergeCurrentHeaderBackground = (0, utils_1.registerColor)('merge.currentHeaderBackground', { dark: currentBaseColor, light: currentBaseColor,
|
|
16
|
+
exports.mergeCurrentHeaderBackground = (0, utils_1.registerColor)('merge.currentHeaderBackground', { dark: currentBaseColor, light: currentBaseColor, hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('mergeCurrentHeaderBackground', 'Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'), true);
|
|
17
17
|
exports.mergeCurrentContentBackground = (0, utils_1.registerColor)('merge.currentContentBackground', {
|
|
18
18
|
dark: (0, utils_1.transparent)(exports.mergeCurrentHeaderBackground, contentTransparency),
|
|
19
19
|
light: (0, utils_1.transparent)(exports.mergeCurrentHeaderBackground, contentTransparency),
|
|
20
|
-
|
|
20
|
+
hcDark: (0, utils_1.transparent)(exports.mergeCurrentHeaderBackground, contentTransparency),
|
|
21
|
+
hcLight: (0, utils_1.transparent)(exports.mergeCurrentHeaderBackground, contentTransparency),
|
|
21
22
|
}, (0, ide_core_common_1.localize)('mergeCurrentContentBackground', 'Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'), true);
|
|
22
|
-
exports.mergeIncomingHeaderBackground = (0, utils_1.registerColor)('merge.incomingHeaderBackground', { dark: incomingBaseColor, light: incomingBaseColor,
|
|
23
|
+
exports.mergeIncomingHeaderBackground = (0, utils_1.registerColor)('merge.incomingHeaderBackground', { dark: incomingBaseColor, light: incomingBaseColor, hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('mergeIncomingHeaderBackground', 'Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'), true);
|
|
23
24
|
exports.mergeIncomingContentBackground = (0, utils_1.registerColor)('merge.incomingContentBackground', {
|
|
24
25
|
dark: (0, utils_1.transparent)(exports.mergeIncomingHeaderBackground, contentTransparency),
|
|
25
26
|
light: (0, utils_1.transparent)(exports.mergeIncomingHeaderBackground, contentTransparency),
|
|
26
|
-
|
|
27
|
+
hcDark: (0, utils_1.transparent)(exports.mergeIncomingHeaderBackground, contentTransparency),
|
|
28
|
+
hcLight: (0, utils_1.transparent)(exports.mergeIncomingHeaderBackground, contentTransparency),
|
|
27
29
|
}, (0, ide_core_common_1.localize)('mergeIncomingContentBackground', 'Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'), true);
|
|
28
|
-
exports.mergeCommonHeaderBackground = (0, utils_1.registerColor)('merge.commonHeaderBackground', { dark: commonBaseColor, light: commonBaseColor,
|
|
30
|
+
exports.mergeCommonHeaderBackground = (0, utils_1.registerColor)('merge.commonHeaderBackground', { dark: commonBaseColor, light: commonBaseColor, hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('mergeCommonHeaderBackground', 'Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'), true);
|
|
29
31
|
exports.mergeCommonContentBackground = (0, utils_1.registerColor)('merge.commonContentBackground', {
|
|
30
32
|
dark: (0, utils_1.transparent)(exports.mergeCommonHeaderBackground, contentTransparency),
|
|
31
33
|
light: (0, utils_1.transparent)(exports.mergeCommonHeaderBackground, contentTransparency),
|
|
32
|
-
|
|
34
|
+
hcDark: (0, utils_1.transparent)(exports.mergeCommonHeaderBackground, contentTransparency),
|
|
35
|
+
hcLight: (0, utils_1.transparent)(exports.mergeCommonHeaderBackground, contentTransparency),
|
|
33
36
|
}, (0, ide_core_common_1.localize)('mergeCommonContentBackground', 'Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'), true);
|
|
34
|
-
exports.mergeBorder = (0, utils_1.registerColor)('merge.border', { dark: null, light: null,
|
|
37
|
+
exports.mergeBorder = (0, utils_1.registerColor)('merge.border', { dark: null, light: null, hcDark: '#C3DF6F', hcLight: '#007ACC' }, (0, ide_core_common_1.localize)('mergeBorder', 'Border color on headers and the splitter in inline merge-conflicts.'));
|
|
35
38
|
exports.overviewRulerCurrentContentForeground = (0, utils_1.registerColor)('editorOverviewRuler.currentContentForeground', {
|
|
36
39
|
dark: (0, utils_1.transparent)(exports.mergeCurrentHeaderBackground, rulerTransparency),
|
|
37
40
|
light: (0, utils_1.transparent)(exports.mergeCurrentHeaderBackground, rulerTransparency),
|
|
38
|
-
|
|
41
|
+
hcDark: exports.mergeBorder,
|
|
42
|
+
hcLight: exports.mergeBorder,
|
|
39
43
|
}, (0, ide_core_common_1.localize)('overviewRulerCurrentContentForeground', 'Current overview ruler foreground for inline merge-conflicts.'));
|
|
40
44
|
exports.overviewRulerIncomingContentForeground = (0, utils_1.registerColor)('editorOverviewRuler.incomingContentForeground', {
|
|
41
45
|
dark: (0, utils_1.transparent)(exports.mergeIncomingHeaderBackground, rulerTransparency),
|
|
42
46
|
light: (0, utils_1.transparent)(exports.mergeIncomingHeaderBackground, rulerTransparency),
|
|
43
|
-
|
|
47
|
+
hcDark: exports.mergeBorder,
|
|
48
|
+
hcLight: exports.mergeBorder,
|
|
44
49
|
}, (0, ide_core_common_1.localize)('overviewRulerIncomingContentForeground', 'Incoming overview ruler foreground for inline merge-conflicts.'));
|
|
45
50
|
exports.overviewRulerCommonContentForeground = (0, utils_1.registerColor)('editorOverviewRuler.commonContentForeground', {
|
|
46
51
|
dark: (0, utils_1.transparent)(exports.mergeCommonHeaderBackground, rulerTransparency),
|
|
47
52
|
light: (0, utils_1.transparent)(exports.mergeCommonHeaderBackground, rulerTransparency),
|
|
48
|
-
|
|
53
|
+
hcDark: exports.mergeBorder,
|
|
54
|
+
hcLight: exports.mergeBorder,
|
|
49
55
|
}, (0, ide_core_common_1.localize)('overviewRulerCommonContentForeground', 'Common ancestor overview ruler foreground for inline merge-conflicts.'));
|
|
50
|
-
exports.overviewRulerFindMatchForeground = (0, utils_1.registerColor)('editorOverviewRuler.findMatchForeground', { dark: '#d186167e', light: '#d186167e',
|
|
51
|
-
exports.overviewRulerSelectionHighlightForeground = (0, utils_1.registerColor)('editorOverviewRuler.selectionHighlightForeground', { dark: '#A0A0A0CC', light: '#A0A0A0CC',
|
|
56
|
+
exports.overviewRulerFindMatchForeground = (0, utils_1.registerColor)('editorOverviewRuler.findMatchForeground', { dark: '#d186167e', light: '#d186167e', hcDark: '#AB5A00', hcLight: null }, (0, ide_core_common_1.localize)('overviewRulerFindMatchForeground', 'Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations.'), true);
|
|
57
|
+
exports.overviewRulerSelectionHighlightForeground = (0, utils_1.registerColor)('editorOverviewRuler.selectionHighlightForeground', { dark: '#A0A0A0CC', light: '#A0A0A0CC', hcDark: '#A0A0A0CC', hcLight: '#A0A0A0CC' }, (0, ide_core_common_1.localize)('overviewRulerSelectionHighlightForeground', 'Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations.'), true);
|
|
52
58
|
//# sourceMappingURL=merge-conflict.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge-conflict.js","sourceRoot":"","sources":["../../../src/common/color-tokens/merge-conflict.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,8CAA2C;AAC3C,oCAAsD;AAEtD;;GAEG;AAEH,MAAM,kBAAkB,GAAG,GAAG,CAAC;AAC/B,MAAM,gBAAgB,GAAG,aAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;AAClF,MAAM,iBAAiB,GAAG,aAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;AACnF,MAAM,eAAe,GAAG,aAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;AAClE,MAAM,mBAAmB,GAAG,GAAG,CAAC;AAChC,MAAM,iBAAiB,GAAG,CAAC,CAAC;AAEf,QAAA,4BAA4B,GAAG,IAAA,qBAAa,EACvD,+BAA+B,EAC/B,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,gBAAgB,EAAE,EAAE,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"merge-conflict.js","sourceRoot":"","sources":["../../../src/common/color-tokens/merge-conflict.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,8CAA2C;AAC3C,oCAAsD;AAEtD;;GAEG;AAEH,MAAM,kBAAkB,GAAG,GAAG,CAAC;AAC/B,MAAM,gBAAgB,GAAG,aAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;AAClF,MAAM,iBAAiB,GAAG,aAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,WAAW,CA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E,WAAW,EAAE,EACpF,IAAA,0BAAQ,EACN,2CAA2C,EAC3C,8HAA8H,CAC/H,EACD,IAAI,CACL,CAAC"}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
export declare const minimapFindMatch: string;
|
|
2
|
+
export declare const minimapSelectionOccurrenceHighlight: string;
|
|
2
3
|
export declare const minimapSelection: string;
|
|
3
4
|
export declare const minimapError: string;
|
|
4
5
|
export declare const minimapWarning: string;
|
|
5
6
|
export declare const minimapBackground: string;
|
|
7
|
+
export declare const minimapForegroundOpacity: string;
|
|
8
|
+
export declare const minimapSliderBackground: string;
|
|
9
|
+
export declare const minimapSliderHoverBackground: string;
|
|
10
|
+
export declare const minimapSliderActiveBackground: string;
|
|
6
11
|
//# sourceMappingURL=minimap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"minimap.d.ts","sourceRoot":"","sources":["../../../src/common/color-tokens/minimap.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"minimap.d.ts","sourceRoot":"","sources":["../../../src/common/color-tokens/minimap.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,gBAAgB,QAK5B,CAAC;AACF,eAAO,MAAM,mCAAmC,QAK/C,CAAC;AACF,eAAO,MAAM,gBAAgB,QAK5B,CAAC;AACF,eAAO,MAAM,YAAY,QASxB,CAAC;AACF,eAAO,MAAM,cAAc,QAS1B,CAAC;AACF,eAAO,MAAM,iBAAiB,QAI7B,CAAC;AACF,eAAO,MAAM,wBAAwB,QAYpC,CAAC;AAEF,eAAO,MAAM,uBAAuB,QASnC,CAAC;AACF,eAAO,MAAM,4BAA4B,QASxC,CAAC;AACF,eAAO,MAAM,6BAA6B,QASzC,CAAC"}
|
|
@@ -1,17 +1,49 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.minimapBackground = exports.minimapWarning = exports.minimapError = exports.minimapSelection = exports.minimapFindMatch = void 0;
|
|
3
|
+
exports.minimapSliderActiveBackground = exports.minimapSliderHoverBackground = exports.minimapSliderBackground = exports.minimapForegroundOpacity = exports.minimapBackground = exports.minimapWarning = exports.minimapError = exports.minimapSelection = exports.minimapSelectionOccurrenceHighlight = exports.minimapFindMatch = void 0;
|
|
4
4
|
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
5
5
|
const color_1 = require("../color");
|
|
6
6
|
const utils_1 = require("../utils");
|
|
7
7
|
const editor_1 = require("./editor");
|
|
8
|
-
|
|
9
|
-
exports.
|
|
8
|
+
const scrollbar_1 = require("./scrollbar");
|
|
9
|
+
exports.minimapFindMatch = (0, utils_1.registerColor)('minimap.findMatchHighlight', { light: '#d18616', dark: '#d18616', hcDark: '#AB5A00', hcLight: '#0F4A85' }, (0, ide_core_common_1.localize)('minimapFindMatchHighlight', 'Minimap marker color for find matches.'), true);
|
|
10
|
+
exports.minimapSelectionOccurrenceHighlight = (0, utils_1.registerColor)('minimap.selectionOccurrenceHighlight', { light: '#c9c9c9', dark: '#676767', hcDark: '#ffffff', hcLight: '#0F4A85' }, (0, ide_core_common_1.localize)('minimapSelectionOccurrenceHighlight', 'Minimap marker color for repeating editor selections.'), true);
|
|
11
|
+
exports.minimapSelection = (0, utils_1.registerColor)('minimap.selectionHighlight', { light: '#ADD6FF', dark: '#264F78', hcDark: '#ffffff', hcLight: '#0F4A85' }, (0, ide_core_common_1.localize)('minimapSelectionHighlight', 'Minimap marker color for the editor selection.'), true);
|
|
10
12
|
exports.minimapError = (0, utils_1.registerColor)('minimap.errorHighlight', {
|
|
11
13
|
dark: new color_1.Color(new color_1.RGBA(255, 18, 18, 0.7)),
|
|
12
14
|
light: new color_1.Color(new color_1.RGBA(255, 18, 18, 0.7)),
|
|
13
|
-
|
|
15
|
+
hcDark: new color_1.Color(new color_1.RGBA(255, 50, 50, 1)),
|
|
16
|
+
hcLight: '#B5200D',
|
|
14
17
|
}, (0, ide_core_common_1.localize)('minimapError', 'Minimap marker color for errors.'));
|
|
15
|
-
exports.minimapWarning = (0, utils_1.registerColor)('minimap.warningHighlight', {
|
|
16
|
-
|
|
18
|
+
exports.minimapWarning = (0, utils_1.registerColor)('minimap.warningHighlight', {
|
|
19
|
+
dark: editor_1.editorWarningForeground,
|
|
20
|
+
light: editor_1.editorWarningForeground,
|
|
21
|
+
hcDark: editor_1.editorWarningBorder,
|
|
22
|
+
hcLight: editor_1.editorWarningBorder,
|
|
23
|
+
}, (0, ide_core_common_1.localize)('overviewRuleWarning', 'Minimap marker color for warnings.'));
|
|
24
|
+
exports.minimapBackground = (0, utils_1.registerColor)('minimap.background', { dark: null, light: null, hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('minimapBackground', 'Minimap background color.'));
|
|
25
|
+
exports.minimapForegroundOpacity = (0, utils_1.registerColor)('minimap.foregroundOpacity', {
|
|
26
|
+
dark: color_1.Color.fromHex('#000f'),
|
|
27
|
+
light: color_1.Color.fromHex('#000f'),
|
|
28
|
+
hcDark: color_1.Color.fromHex('#000f'),
|
|
29
|
+
hcLight: color_1.Color.fromHex('#000f'),
|
|
30
|
+
}, (0, ide_core_common_1.localize)('minimapForegroundOpacity', 'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.'));
|
|
31
|
+
exports.minimapSliderBackground = (0, utils_1.registerColor)('minimapSlider.background', {
|
|
32
|
+
light: (0, utils_1.transparent)(scrollbar_1.scrollbarSliderBackground, 0.5),
|
|
33
|
+
dark: (0, utils_1.transparent)(scrollbar_1.scrollbarSliderBackground, 0.5),
|
|
34
|
+
hcDark: (0, utils_1.transparent)(scrollbar_1.scrollbarSliderBackground, 0.5),
|
|
35
|
+
hcLight: (0, utils_1.transparent)(scrollbar_1.scrollbarSliderBackground, 0.5),
|
|
36
|
+
}, (0, ide_core_common_1.localize)('minimapSliderBackground', 'Minimap slider background color.'));
|
|
37
|
+
exports.minimapSliderHoverBackground = (0, utils_1.registerColor)('minimapSlider.hoverBackground', {
|
|
38
|
+
light: (0, utils_1.transparent)(scrollbar_1.scrollbarSliderHoverBackground, 0.5),
|
|
39
|
+
dark: (0, utils_1.transparent)(scrollbar_1.scrollbarSliderHoverBackground, 0.5),
|
|
40
|
+
hcDark: (0, utils_1.transparent)(scrollbar_1.scrollbarSliderHoverBackground, 0.5),
|
|
41
|
+
hcLight: (0, utils_1.transparent)(scrollbar_1.scrollbarSliderHoverBackground, 0.5),
|
|
42
|
+
}, (0, ide_core_common_1.localize)('minimapSliderHoverBackground', 'Minimap slider background color when hovering.'));
|
|
43
|
+
exports.minimapSliderActiveBackground = (0, utils_1.registerColor)('minimapSlider.activeBackground', {
|
|
44
|
+
light: (0, utils_1.transparent)(scrollbar_1.scrollbarSliderActiveBackground, 0.5),
|
|
45
|
+
dark: (0, utils_1.transparent)(scrollbar_1.scrollbarSliderActiveBackground, 0.5),
|
|
46
|
+
hcDark: (0, utils_1.transparent)(scrollbar_1.scrollbarSliderActiveBackground, 0.5),
|
|
47
|
+
hcLight: (0, utils_1.transparent)(scrollbar_1.scrollbarSliderActiveBackground, 0.5),
|
|
48
|
+
}, (0, ide_core_common_1.localize)('minimapSliderActiveBackground', 'Minimap slider background color when clicked on.'));
|
|
17
49
|
//# sourceMappingURL=minimap.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"minimap.js","sourceRoot":"","sources":["../../../src/common/color-tokens/minimap.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,oCAAuC;AACvC,
|
|
1
|
+
{"version":3,"file":"minimap.js","sourceRoot":"","sources":["../../../src/common/color-tokens/minimap.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,oCAAuC;AACvC,oCAAsD;AAEtD,qCAAwE;AACxE,2CAIqB;AAER,QAAA,gBAAgB,GAAG,IAAA,qBAAa,EAC3C,4BAA4B,EAC5B,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE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,mBAAW,EAAC,0CAA8B,EAAE,GAAG,CAAC;IACxD,OAAO,EAAE,IAAA,mBAAW,EAAC,0CAA8B,EAAE,GAAG,CAAC;CAC1D,EACD,IAAA,0BAAQ,EAAC,8BAA8B,EAAE,gDAAgD,CAAC,CAC3F,CAAC;AACW,QAAA,6BAA6B,GAAG,IAAA,qBAAa,EACxD,gCAAgC,EAChC;IACE,KAAK,EAAE,IAAA,mBAAW,EAAC,2CAA+B,EAAE,GAAG,CAAC;IACxD,IAAI,EAAE,IAAA,mBAAW,EAAC,2CAA+B,EAAE,GAAG,CAAC;IACvD,MAAM,EAAE,IAAA,mBAAW,EAAC,2CAA+B,EAAE,GAAG,CAAC;IACzD,OAAO,EAAE,IAAA,mBAAW,EAAC,2CAA+B,EAAE,GAAG,CAAC;CAC3D,EACD,IAAA,0BAAQ,EAAC,+BAA+B,EAAE,kDAAkD,CAAC,CAC9F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../src/common/color-tokens/notification.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,2BAA2B,
|
|
1
|
+
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../src/common/color-tokens/notification.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,2BAA2B,QAYvC,CAAC;AAEF,eAAO,MAAM,0BAA0B,QAYtC,CAAC;AAEF,eAAO,MAAM,wBAAwB,QAYpC,CAAC;AAEF,eAAO,MAAM,wBAAwB,QAYpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,QAY/B,CAAC;AAEF,eAAO,MAAM,sCAAsC,QAYlD,CAAC;AAEF,eAAO,MAAM,sCAAsC,QAYlD,CAAC;AAEF,eAAO,MAAM,oBAAoB,QAYhC,CAAC;AAEF,eAAO,MAAM,mCAAmC,QAY/C,CAAC;AAEF,eAAO,MAAM,qCAAqC,QAYjD,CAAC;AAEF,eAAO,MAAM,kCAAkC,QAY9C,CAAC"}
|