@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,116 +1,156 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.TAB_UNFOCUSED_INACTIVE_FOREGROUND = exports.TAB_UNFOCUSED_ACTIVE_FOREGROUND = exports.TAB_INACTIVE_FOREGROUND = exports.TAB_ACTIVE_FOREGROUND = exports.TAB_UNFOCUSED_HOVER_BORDER = exports.TAB_HOVER_BORDER = exports.TAB_UNFOCUSED_INACTIVE_MODIFIED_BORDER = exports.TAB_UNFOCUSED_ACTIVE_MODIFIED_BORDER = exports.TAB_INACTIVE_MODIFIED_BORDER = exports.TAB_ACTIVE_MODIFIED_BORDER = exports.TAB_UNFOCUSED_ACTIVE_BORDER_TOP = exports.TAB_ACTIVE_BORDER_TOP = exports.TAB_UNFOCUSED_ACTIVE_BORDER = exports.TAB_ACTIVE_BORDER = exports.TAB_LAST_PINNED_BORDER = exports.TAB_BORDER = exports.TAB_UNFOCUSED_HOVER_FOREGROUND = exports.TAB_HOVER_FOREGROUND = exports.TAB_UNFOCUSED_HOVER_BACKGROUND = exports.TAB_HOVER_BACKGROUND = exports.TAB_UNFOCUSED_INACTIVE_BACKGROUND = exports.TAB_INACTIVE_BACKGROUND = exports.TAB_UNFOCUSED_ACTIVE_BACKGROUND = exports.TAB_ACTIVE_BACKGROUND = 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
8
|
const basic_color_1 = require("./basic-color");
|
|
9
9
|
const editor_1 = require("./editor");
|
|
10
|
+
const list_tree_1 = require("./list-tree");
|
|
10
11
|
// < --- Tabs --- >
|
|
11
12
|
exports.TAB_ACTIVE_BACKGROUND = (0, utils_1.registerColor)('tab.activeBackground', {
|
|
12
13
|
dark: editor_1.editorBackground,
|
|
13
14
|
light: editor_1.editorBackground,
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
hcDark: editor_1.editorBackground,
|
|
16
|
+
hcLight: editor_1.editorBackground,
|
|
17
|
+
}, (0, ide_core_common_1.localize)('tabActiveBackground', 'Active tab background color in an active group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
16
18
|
exports.TAB_UNFOCUSED_ACTIVE_BACKGROUND = (0, utils_1.registerColor)('tab.unfocusedActiveBackground', {
|
|
17
19
|
dark: exports.TAB_ACTIVE_BACKGROUND,
|
|
18
20
|
light: exports.TAB_ACTIVE_BACKGROUND,
|
|
19
|
-
|
|
21
|
+
hcDark: exports.TAB_ACTIVE_BACKGROUND,
|
|
22
|
+
hcLight: exports.TAB_ACTIVE_BACKGROUND,
|
|
20
23
|
}, (0, ide_core_common_1.localize)('tabUnfocusedActiveBackground', 'Active tab background color in an unfocused group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
21
24
|
exports.TAB_INACTIVE_BACKGROUND = (0, utils_1.registerColor)('tab.inactiveBackground', {
|
|
22
25
|
dark: '#2D2D2D',
|
|
23
26
|
light: '#ECECEC',
|
|
24
|
-
|
|
25
|
-
|
|
27
|
+
hcDark: exports.TAB_UNFOCUSED_ACTIVE_BACKGROUND,
|
|
28
|
+
hcLight: exports.TAB_UNFOCUSED_ACTIVE_BACKGROUND,
|
|
29
|
+
}, (0, ide_core_common_1.localize)('tabInactiveBackground', 'Inactive tab background color in an active group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
30
|
+
exports.TAB_UNFOCUSED_INACTIVE_BACKGROUND = (0, utils_1.registerColor)('tab.unfocusedInactiveBackground', {
|
|
31
|
+
dark: exports.TAB_INACTIVE_BACKGROUND,
|
|
32
|
+
light: exports.TAB_INACTIVE_BACKGROUND,
|
|
33
|
+
hcDark: exports.TAB_INACTIVE_BACKGROUND,
|
|
34
|
+
hcLight: exports.TAB_INACTIVE_BACKGROUND,
|
|
35
|
+
}, (0, ide_core_common_1.localize)('tabUnfocusedInactiveBackground', 'Inactive tab background color in an unfocused group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
26
36
|
exports.TAB_HOVER_BACKGROUND = (0, utils_1.registerColor)('tab.hoverBackground', {
|
|
27
37
|
dark: null,
|
|
28
38
|
light: null,
|
|
29
|
-
|
|
39
|
+
hcDark: null,
|
|
40
|
+
hcLight: null,
|
|
30
41
|
}, (0, ide_core_common_1.localize)('tabHoverBackground', 'Tab background color when hovering. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
31
42
|
exports.TAB_UNFOCUSED_HOVER_BACKGROUND = (0, utils_1.registerColor)('tab.unfocusedHoverBackground', {
|
|
32
43
|
dark: (0, utils_1.transparent)(exports.TAB_HOVER_BACKGROUND, 0.5),
|
|
33
44
|
light: (0, utils_1.transparent)(exports.TAB_HOVER_BACKGROUND, 0.7),
|
|
34
|
-
|
|
45
|
+
hcDark: null,
|
|
46
|
+
hcLight: null,
|
|
35
47
|
}, (0, ide_core_common_1.localize)('tabUnfocusedHoverBackground', 'Tab background color in an unfocused group when hovering. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
48
|
+
exports.TAB_HOVER_FOREGROUND = (0, utils_1.registerColor)('tab.hoverForeground', {
|
|
49
|
+
dark: null,
|
|
50
|
+
light: null,
|
|
51
|
+
hcDark: null,
|
|
52
|
+
hcLight: null,
|
|
53
|
+
}, (0, ide_core_common_1.localize)('tabHoverForeground', 'Tab foreground color when hovering. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
54
|
+
exports.TAB_UNFOCUSED_HOVER_FOREGROUND = (0, utils_1.registerColor)('tab.unfocusedHoverForeground', {
|
|
55
|
+
dark: (0, utils_1.transparent)(exports.TAB_HOVER_FOREGROUND, 0.5),
|
|
56
|
+
light: (0, utils_1.transparent)(exports.TAB_HOVER_FOREGROUND, 0.5),
|
|
57
|
+
hcDark: null,
|
|
58
|
+
hcLight: null,
|
|
59
|
+
}, (0, ide_core_common_1.localize)('tabUnfocusedHoverForeground', 'Tab foreground color in an unfocused group when hovering. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
36
60
|
exports.TAB_BORDER = (0, utils_1.registerColor)('tab.border', {
|
|
37
61
|
dark: '#252526',
|
|
38
62
|
light: '#F3F3F3',
|
|
39
|
-
|
|
63
|
+
hcDark: base_1.contrastBorder,
|
|
64
|
+
hcLight: base_1.contrastBorder,
|
|
40
65
|
}, (0, ide_core_common_1.localize)('tabBorder', 'Border to separate tabs from each other. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
66
|
+
exports.TAB_LAST_PINNED_BORDER = (0, utils_1.registerColor)('tab.lastPinnedBorder', {
|
|
67
|
+
dark: list_tree_1.treeIndentGuidesStroke,
|
|
68
|
+
light: list_tree_1.treeIndentGuidesStroke,
|
|
69
|
+
hcDark: base_1.contrastBorder,
|
|
70
|
+
hcLight: base_1.contrastBorder,
|
|
71
|
+
}, (0, ide_core_common_1.localize)('lastPinnedTabBorder', 'Border to separate pinned tabs from other tabs. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
41
72
|
exports.TAB_ACTIVE_BORDER = (0, utils_1.registerColor)('tab.activeBorder', {
|
|
42
|
-
dark:
|
|
43
|
-
light:
|
|
44
|
-
|
|
73
|
+
dark: null,
|
|
74
|
+
light: null,
|
|
75
|
+
hcDark: null,
|
|
76
|
+
hcLight: null,
|
|
45
77
|
}, (0, ide_core_common_1.localize)('tabActiveBorder', 'Border on the bottom of an active tab. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
46
78
|
exports.TAB_UNFOCUSED_ACTIVE_BORDER = (0, utils_1.registerColor)('tab.unfocusedActiveBorder', {
|
|
47
79
|
dark: (0, utils_1.transparent)(exports.TAB_ACTIVE_BORDER, 0.5),
|
|
48
80
|
light: (0, utils_1.transparent)(exports.TAB_ACTIVE_BORDER, 0.7),
|
|
49
|
-
|
|
81
|
+
hcDark: null,
|
|
82
|
+
hcLight: null,
|
|
50
83
|
}, (0, ide_core_common_1.localize)('tabActiveUnfocusedBorder', 'Border on the bottom of an active tab in an unfocused group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
51
84
|
exports.TAB_ACTIVE_BORDER_TOP = (0, utils_1.registerColor)('tab.activeBorderTop', {
|
|
52
|
-
dark:
|
|
53
|
-
light:
|
|
54
|
-
|
|
85
|
+
dark: null,
|
|
86
|
+
light: null,
|
|
87
|
+
hcDark: null,
|
|
88
|
+
hcLight: '#B5200D',
|
|
55
89
|
}, (0, ide_core_common_1.localize)('tabActiveBorderTop', 'Border to the top of an active tab. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
56
90
|
exports.TAB_UNFOCUSED_ACTIVE_BORDER_TOP = (0, utils_1.registerColor)('tab.unfocusedActiveBorderTop', {
|
|
57
|
-
dark:
|
|
58
|
-
light:
|
|
59
|
-
|
|
91
|
+
dark: (0, utils_1.transparent)(exports.TAB_ACTIVE_BORDER_TOP, 0.5),
|
|
92
|
+
light: (0, utils_1.transparent)(exports.TAB_ACTIVE_BORDER_TOP, 0.7),
|
|
93
|
+
hcDark: null,
|
|
94
|
+
hcLight: '#B5200D',
|
|
60
95
|
}, (0, ide_core_common_1.localize)('tabActiveUnfocusedBorderTop', 'Border to the top of an active tab in an unfocused group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
61
96
|
exports.TAB_ACTIVE_MODIFIED_BORDER = (0, utils_1.registerColor)('tab.activeModifiedBorder', {
|
|
62
97
|
dark: '#3399CC',
|
|
63
98
|
light: '#33AAEE',
|
|
64
|
-
|
|
65
|
-
|
|
99
|
+
hcDark: null,
|
|
100
|
+
hcLight: base_1.contrastBorder,
|
|
101
|
+
}, (0, ide_core_common_1.localize)('tabActiveModifiedBorder', 'Border on the top of modified active tabs in an active group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
66
102
|
exports.TAB_INACTIVE_MODIFIED_BORDER = (0, utils_1.registerColor)('tab.inactiveModifiedBorder', {
|
|
67
103
|
dark: (0, utils_1.transparent)(exports.TAB_ACTIVE_MODIFIED_BORDER, 0.5),
|
|
68
104
|
light: (0, utils_1.transparent)(exports.TAB_ACTIVE_MODIFIED_BORDER, 0.5),
|
|
69
|
-
|
|
70
|
-
|
|
105
|
+
hcDark: color_1.Color.white,
|
|
106
|
+
hcLight: base_1.contrastBorder,
|
|
107
|
+
}, (0, ide_core_common_1.localize)('tabInactiveModifiedBorder', 'Border on the top of modified inactive tabs in an active group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
71
108
|
exports.TAB_UNFOCUSED_ACTIVE_MODIFIED_BORDER = (0, utils_1.registerColor)('tab.unfocusedActiveModifiedBorder', {
|
|
72
109
|
dark: (0, utils_1.transparent)(exports.TAB_ACTIVE_MODIFIED_BORDER, 0.5),
|
|
73
110
|
light: (0, utils_1.transparent)(exports.TAB_ACTIVE_MODIFIED_BORDER, 0.7),
|
|
74
|
-
|
|
75
|
-
|
|
111
|
+
hcDark: color_1.Color.white,
|
|
112
|
+
hcLight: base_1.contrastBorder,
|
|
113
|
+
}, (0, ide_core_common_1.localize)('unfocusedActiveModifiedBorder', 'Border on the top of modified active tabs in an unfocused group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
76
114
|
exports.TAB_UNFOCUSED_INACTIVE_MODIFIED_BORDER = (0, utils_1.registerColor)('tab.unfocusedInactiveModifiedBorder', {
|
|
77
115
|
dark: (0, utils_1.transparent)(exports.TAB_INACTIVE_MODIFIED_BORDER, 0.5),
|
|
78
116
|
light: (0, utils_1.transparent)(exports.TAB_INACTIVE_MODIFIED_BORDER, 0.5),
|
|
79
|
-
|
|
80
|
-
|
|
117
|
+
hcDark: color_1.Color.white,
|
|
118
|
+
hcLight: base_1.contrastBorder,
|
|
119
|
+
}, (0, ide_core_common_1.localize)('unfocusedINactiveModifiedBorder', 'Border on the top of modified inactive tabs in an unfocused group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
81
120
|
exports.TAB_HOVER_BORDER = (0, utils_1.registerColor)('tab.hoverBorder', {
|
|
82
|
-
dark:
|
|
83
|
-
light:
|
|
84
|
-
|
|
121
|
+
dark: null,
|
|
122
|
+
light: null,
|
|
123
|
+
hcDark: null,
|
|
124
|
+
hcLight: null,
|
|
85
125
|
}, (0, ide_core_common_1.localize)('tabHoverBorder', 'Border to highlight tabs when hovering. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
86
126
|
exports.TAB_UNFOCUSED_HOVER_BORDER = (0, utils_1.registerColor)('tab.unfocusedHoverBorder', {
|
|
87
127
|
dark: (0, utils_1.transparent)(exports.TAB_HOVER_BORDER, 0.5),
|
|
88
128
|
light: (0, utils_1.transparent)(exports.TAB_HOVER_BORDER, 0.7),
|
|
89
|
-
|
|
129
|
+
hcDark: null,
|
|
130
|
+
hcLight: base_1.contrastBorder,
|
|
90
131
|
}, (0, ide_core_common_1.localize)('tabUnfocusedHoverBorder', 'Border to highlight tabs in an unfocused group when hovering. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
91
132
|
exports.TAB_ACTIVE_FOREGROUND = (0, utils_1.registerColor)('tab.activeForeground', {
|
|
92
133
|
dark: color_1.Color.white,
|
|
93
134
|
light: '#333333',
|
|
94
|
-
|
|
135
|
+
hcDark: basic_color_1.hcActiveBorderColor,
|
|
136
|
+
hcLight: basic_color_1.hcActiveBorderColor,
|
|
95
137
|
}, (0, ide_core_common_1.localize)('tabActiveForeground', 'Active tab foreground color in an active group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
96
138
|
exports.TAB_INACTIVE_FOREGROUND = (0, utils_1.registerColor)('tab.inactiveForeground', {
|
|
97
139
|
dark: (0, utils_1.transparent)(exports.TAB_ACTIVE_FOREGROUND, 0.5),
|
|
98
140
|
light: (0, utils_1.transparent)(exports.TAB_ACTIVE_FOREGROUND, 0.7),
|
|
99
|
-
|
|
141
|
+
hcDark: color_1.Color.white,
|
|
142
|
+
hcLight: '#292929',
|
|
100
143
|
}, (0, ide_core_common_1.localize)('tabInactiveForeground', 'Inactive tab foreground color in an active group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
101
144
|
exports.TAB_UNFOCUSED_ACTIVE_FOREGROUND = (0, utils_1.registerColor)('tab.unfocusedActiveForeground', {
|
|
102
145
|
dark: (0, utils_1.transparent)(exports.TAB_ACTIVE_FOREGROUND, 0.5),
|
|
103
146
|
light: (0, utils_1.transparent)(exports.TAB_ACTIVE_FOREGROUND, 0.7),
|
|
104
|
-
|
|
147
|
+
hcDark: color_1.Color.white,
|
|
148
|
+
hcLight: '#292929',
|
|
105
149
|
}, (0, ide_core_common_1.localize)('tabUnfocusedActiveForeground', 'Active tab foreground color in an unfocused group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
106
150
|
exports.TAB_UNFOCUSED_INACTIVE_FOREGROUND = (0, utils_1.registerColor)('tab.unfocusedInactiveForeground', {
|
|
107
151
|
dark: (0, utils_1.transparent)(exports.TAB_INACTIVE_FOREGROUND, 0.5),
|
|
108
152
|
light: (0, utils_1.transparent)(exports.TAB_INACTIVE_FOREGROUND, 0.5),
|
|
109
|
-
|
|
153
|
+
hcDark: color_1.Color.white,
|
|
154
|
+
hcLight: '#292929',
|
|
110
155
|
}, (0, ide_core_common_1.localize)('tabUnfocusedInactiveForeground', 'Inactive tab foreground color in an unfocused group. Tabs are the containers for editors in the editor area. Multiple tabs can be opened in one editor group. There can be multiple editor groups.'));
|
|
111
|
-
exports.EDITOR_GROUP_HEADER_TABS_BORDER = (0, utils_1.registerColor)('editorGroupHeader.tabsBorder', {
|
|
112
|
-
dark: exports.TAB_INACTIVE_BACKGROUND,
|
|
113
|
-
light: exports.TAB_INACTIVE_BACKGROUND,
|
|
114
|
-
hc: exports.TAB_INACTIVE_BACKGROUND,
|
|
115
|
-
}, (0, ide_core_common_1.localize)('tabsContainerBorder', 'Border color of the editor group title header when tabs are enabled. Editor groups are the containers of editors.'));
|
|
116
156
|
//# sourceMappingURL=tab.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab.js","sourceRoot":"","sources":["../../../src/common/color-tokens/tab.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,8CAA2C;AAC3C,oCAAsD;AAEtD,iCAAwC;AACxC,+CAAmE;AACnE,qCAA4C;
|
|
1
|
+
{"version":3,"file":"tab.js","sourceRoot":"","sources":["../../../src/common/color-tokens/tab.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,8CAA2C;AAC3C,oCAAsD;AAEtD,iCAAwC;AACxC,+CAAmE;AACnE,qCAA4C;AAC5C,2CAAqD;AAErD,mBAAmB;AAEN,QAAA,qBAAqB,GAAG,IAAA,qBAAa,EAChD,sBAAsB,EACtB;IACE,IAAI,EAAE,yBAAgB;IACtB,KAAK,EAAE,yBAAgB;IACvB,MAAM,EAAE,yBAAgB;IACxB,OAAO,EAAE,yBAAgB;CAC1B,EACD,IAAA,0BAAQ,EACN,qBAAqB,EACrB,+LAA+L,CAChM,CACF,CAAC;AAEW,QAAA,+BAA+B,GAAG,IAAA,qBAAa,EAC1D,+BAA+B,EAC/B;IACE,IAAI,EAAE,6BAAqB;IAC3B,KAAK,EAAE,6BAAqB;IAC5B,MAAM,EAAE,6BAAqB;IAC7B,OAAO,EAAE,6BAAqB;CAC/B,EACD,IAAA,0BAAQ,EACN,8BAA8B,EAC9B,kMAAkM,CACnM,CACF,CAAC;AAEW,QAAA,uBAAuB,GAAG,IAAA,qBAAa,EAClD,wBAAwB,EACxB;IACE,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,uCAA+B;IACvC,OAAO,EAAE,uCAA+B;CACzC,EACD,IAAA,0BAAQ,EACN,uBAAuB,EACvB,iMAAiM,CAClM,CACF,CAAC;AAEW,QAAA,iCAAiC,GAAG,IAAA,qBAAa,EAC5D,iCAAiC,EACjC;IACE,IAAI,EAAE,+BAAuB;IAC7B,KAAK,EAAE,+BAAuB;IAC9B,MAAM,EAAE,+BAAuB;IAC/B,OAAO,EAAE,+BAAuB;CACjC,EACD,IAAA,0BAAQ,EAC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AAA,qBAAa,EAC1D,+BAA+B,EAC/B;IACE,IAAI,EAAE,IAAA,mBAAW,EAAC,6BAAqB,EAAE,GAAG,CAAC;IAC7C,KAAK,EAAE,IAAA,mBAAW,EAAC,6BAAqB,EAAE,GAAG,CAAC;IAC9C,MAAM,EAAE,aAAK,CAAC,KAAK;IACnB,OAAO,EAAE,SAAS;CACnB,EACD,IAAA,0BAAQ,EACN,8BAA8B,EAC9B,kMAAkM,CACnM,CACF,CAAC;AAEW,QAAA,iCAAiC,GAAG,IAAA,qBAAa,EAC5D,iCAAiC,EACjC;IACE,IAAI,EAAE,IAAA,mBAAW,EAAC,+BAAuB,EAAE,GAAG,CAAC;IAC/C,KAAK,EAAE,IAAA,mBAAW,EAAC,+BAAuB,EAAE,GAAG,CAAC;IAChD,MAAM,EAAE,aAAK,CAAC,KAAK;IACnB,OAAO,EAAE,SAAS;CACnB,EACD,IAAA,0BAAQ,EACN,gCAAgC,EAChC,oMAAoM,CACrM,CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../src/common/color-tokens/testing.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../src/common/color-tokens/testing.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,sBAAsB,QASlC,CAAC;AAEF,eAAO,MAAM,uBAAuB,QASnC,CAAC;AAEF,eAAO,MAAM,sBAAsB,QASlC,CAAC;AAEF,eAAO,MAAM,qBAAqB,QASjC,CAAC;AAEF,eAAO,MAAM,sBAAsB,QASlC,CAAC;AAEF,eAAO,MAAM,qBAAqB,QASjC,CAAC;AAEF,eAAO,MAAM,uBAAuB,QASnC,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAS7B,CAAC;AAEF,eAAO,MAAM,2BAA2B,QASvC,CAAC"}
|
|
@@ -8,46 +8,55 @@ const editor_1 = require("./editor");
|
|
|
8
8
|
exports.testingColorIconFailed = (0, utils_1.registerColor)('testing.iconFailed', {
|
|
9
9
|
dark: '#f14c4c',
|
|
10
10
|
light: '#f14c4c',
|
|
11
|
-
|
|
11
|
+
hcDark: '#f14c4c',
|
|
12
|
+
hcLight: '#B5200D',
|
|
12
13
|
}, (0, ide_core_common_1.localize)('testing.iconFailed', "Color for the 'failed' icon in the test explorer."));
|
|
13
14
|
exports.testingColorIconErrored = (0, utils_1.registerColor)('testing.iconErrored', {
|
|
14
15
|
dark: '#f14c4c',
|
|
15
16
|
light: '#f14c4c',
|
|
16
|
-
|
|
17
|
+
hcDark: '#f14c4c',
|
|
18
|
+
hcLight: '#B5200D',
|
|
17
19
|
}, (0, ide_core_common_1.localize)('testing.iconErrored', "Color for the 'Errored' icon in the test explorer."));
|
|
18
20
|
exports.testingColorIconPassed = (0, utils_1.registerColor)('testing.iconPassed', {
|
|
19
21
|
dark: '#73c991',
|
|
20
22
|
light: '#73c991',
|
|
21
|
-
|
|
23
|
+
hcDark: '#73c991',
|
|
24
|
+
hcLight: '#007100',
|
|
22
25
|
}, (0, ide_core_common_1.localize)('testing.iconPassed', "Color for the 'passed' icon in the test explorer."));
|
|
23
26
|
exports.testingColorRunAction = (0, utils_1.registerColor)('testing.runAction', {
|
|
24
27
|
dark: exports.testingColorIconPassed,
|
|
25
28
|
light: exports.testingColorIconPassed,
|
|
26
|
-
|
|
29
|
+
hcDark: exports.testingColorIconPassed,
|
|
30
|
+
hcLight: exports.testingColorIconPassed,
|
|
27
31
|
}, (0, ide_core_common_1.localize)('testing.runAction', "Color for 'run' icons in the editor."));
|
|
28
32
|
exports.testingColorIconQueued = (0, utils_1.registerColor)('testing.iconQueued', {
|
|
29
33
|
dark: '#cca700',
|
|
30
34
|
light: '#cca700',
|
|
31
|
-
|
|
35
|
+
hcDark: '#cca700',
|
|
36
|
+
hcLight: '#cca700',
|
|
32
37
|
}, (0, ide_core_common_1.localize)('testing.iconQueued', "Color for the 'Queued' icon in the test explorer."));
|
|
33
38
|
exports.testingColorIconUnset = (0, utils_1.registerColor)('testing.iconUnset', {
|
|
34
39
|
dark: '#848484',
|
|
35
40
|
light: '#848484',
|
|
36
|
-
|
|
41
|
+
hcDark: '#848484',
|
|
42
|
+
hcLight: '#848484',
|
|
37
43
|
}, (0, ide_core_common_1.localize)('testing.iconUnset', "Color for the 'Unset' icon in the test explorer."));
|
|
38
44
|
exports.testingColorIconSkipped = (0, utils_1.registerColor)('testing.iconSkipped', {
|
|
39
45
|
dark: '#848484',
|
|
40
46
|
light: '#848484',
|
|
41
|
-
|
|
47
|
+
hcDark: '#848484',
|
|
48
|
+
hcLight: '#848484',
|
|
42
49
|
}, (0, ide_core_common_1.localize)('testing.iconSkipped', "Color for the 'Skipped' icon in the test explorer."));
|
|
43
50
|
exports.testingPeekBorder = (0, utils_1.registerColor)('testing.peekBorder', {
|
|
44
51
|
dark: editor_1.editorErrorForeground,
|
|
45
52
|
light: editor_1.editorErrorForeground,
|
|
46
|
-
|
|
53
|
+
hcDark: base_1.contrastBorder,
|
|
54
|
+
hcLight: base_1.contrastBorder,
|
|
47
55
|
}, (0, ide_core_common_1.localize)('testing.peekBorder', 'Color of the peek view borders and arrow.'));
|
|
48
56
|
exports.testingPeekHeaderBackground = (0, utils_1.registerColor)('testing.peekHeaderBackground', {
|
|
49
57
|
dark: (0, utils_1.transparent)(editor_1.editorErrorForeground, 0.1),
|
|
50
58
|
light: (0, utils_1.transparent)(editor_1.editorErrorForeground, 0.1),
|
|
51
|
-
|
|
59
|
+
hcDark: null,
|
|
60
|
+
hcLight: null,
|
|
52
61
|
}, (0, ide_core_common_1.localize)('testing.peekBorder', 'Color of the peek view borders and arrow.'));
|
|
53
62
|
//# sourceMappingURL=testing.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.js","sourceRoot":"","sources":["../../../src/common/color-tokens/testing.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,oCAAsD;AAEtD,iCAAwC;AACxC,qCAAiD;AAEpC,QAAA,sBAAsB,GAAG,IAAA,qBAAa,EACjD,oBAAoB,EACpB;IACE,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,SAAS;IAChB,EAAE,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"testing.js","sourceRoot":"","sources":["../../../src/common/color-tokens/testing.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,oCAAsD;AAEtD,iCAAwC;AACxC,qCAAiD;AAEpC,QAAA,sBAAsB,GAAG,IAAA,qBAAa,EACjD,oBAAoB,EACpB;IACE,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;IACjB,OAAO,EAAE,SAAS;CACnB,EACD,IAAA,0BAAQ,EAAC,oBAAoB,EAAE,mDAAmD,CAAC,CACpF,CAAC;AAEW,QAAA,uBAAuB,GAAG,IAAA,qBAAa,EAClD,qBAAqB,EACrB;IACE,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;IACjB,OAAO,EAAE,SAAS;CACnB,EACD,IAAA,0BAAQ,EAAC,qBAAqB,EAAE,oDAAoD,CAAC,CACtF,CAAC;AAEW,QAAA,sBAAsB,GAAG,IAAA,qBAAa,EACjD,oBAAoB,EACpB;IACE,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;IACjB,OAAO,EAAE,SAAS;CACnB,EACD,IAAA,0BAAQ,EAAC,oBAAoB,EAAE,mDAAmD,CAAC,CACpF,CAAC;AAEW,QAAA,qBAAqB,GAAG,IAAA,qBAAa,EAChD,mBAAmB,EACnB;IACE,IAAI,EAAE,8BAAsB;IAC5B,KAAK,EAAE,8BAAsB;IAC7B,MAAM,EAAE,8BAAsB;IAC9B,OAAO,EAAE,8BAAsB;CAChC,EACD,IAAA,0BAAQ,EAAC,mBAAmB,EAAE,sCAAsC,CAAC,CACtE,CAAC;AAEW,QAAA,sBAAsB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@@ 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
|
// ------ text colors
|
|
8
|
-
exports.textSeparatorForeground = (0, utils_1.registerColor)('textSeparator.foreground', { light: '#0000002e', dark: '#ffffff2e',
|
|
9
|
-
exports.textLinkForeground = (0, utils_1.registerColor)('textLink.foreground', { light: '#006AB1', dark: '#3794FF',
|
|
10
|
-
exports.textLinkActiveForeground = (0, utils_1.registerColor)('textLink.activeForeground', { light: '#006AB1', dark: '#3794FF',
|
|
11
|
-
exports.textPreformatForeground = (0, utils_1.registerColor)('textPreformat.foreground', { light: '#A31515', dark: '#D7BA7D',
|
|
12
|
-
exports.textBlockQuoteBackground = (0, utils_1.registerColor)('textBlockQuote.background', { light: '#7f7f7f1a', dark: '#7f7f7f1a',
|
|
13
|
-
exports.textBlockQuoteBorder = (0, utils_1.registerColor)('textBlockQuote.border', { light: '#007acc80', dark: '#007acc80',
|
|
14
|
-
exports.textCodeBlockBackground = (0, utils_1.registerColor)('textCodeBlock.background', { light: '#dcdcdc66', dark: '#0a0a0a66',
|
|
8
|
+
exports.textSeparatorForeground = (0, utils_1.registerColor)('textSeparator.foreground', { light: '#0000002e', dark: '#ffffff2e', hcDark: color_1.Color.black, hcLight: '#292929' }, (0, ide_core_common_1.localize)('textSeparatorForeground', 'Color for text separators.'));
|
|
9
|
+
exports.textLinkForeground = (0, utils_1.registerColor)('textLink.foreground', { light: '#006AB1', dark: '#3794FF', hcDark: '#3794FF', hcLight: '#0F4A85' }, (0, ide_core_common_1.localize)('textLinkForeground', 'Foreground color for links in text.'));
|
|
10
|
+
exports.textLinkActiveForeground = (0, utils_1.registerColor)('textLink.activeForeground', { light: '#006AB1', dark: '#3794FF', hcDark: '#3794FF', hcLight: '#0F4A85' }, (0, ide_core_common_1.localize)('textLinkActiveForeground', 'Foreground color for links in text when clicked on and on mouse hover.'));
|
|
11
|
+
exports.textPreformatForeground = (0, utils_1.registerColor)('textPreformat.foreground', { light: '#A31515', dark: '#D7BA7D', hcDark: '#D7BA7D', hcLight: '#292929' }, (0, ide_core_common_1.localize)('textPreformatForeground', 'Foreground color for preformatted text segments.'));
|
|
12
|
+
exports.textBlockQuoteBackground = (0, utils_1.registerColor)('textBlockQuote.background', { light: '#7f7f7f1a', dark: '#7f7f7f1a', hcDark: null, hcLight: '#F2F2F2' }, (0, ide_core_common_1.localize)('textBlockQuoteBackground', 'Background color for block quotes in text.'));
|
|
13
|
+
exports.textBlockQuoteBorder = (0, utils_1.registerColor)('textBlockQuote.border', { light: '#007acc80', dark: '#007acc80', hcDark: color_1.Color.white, hcLight: '#292929' }, (0, ide_core_common_1.localize)('textBlockQuoteBorder', 'Border color for block quotes in text.'));
|
|
14
|
+
exports.textCodeBlockBackground = (0, utils_1.registerColor)('textCodeBlock.background', { light: '#dcdcdc66', dark: '#0a0a0a66', hcDark: color_1.Color.black, hcLight: '#F2F2F2' }, (0, ide_core_common_1.localize)('textCodeBlockBackground', 'Background color for code blocks in text.'));
|
|
15
15
|
//# sourceMappingURL=text.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.js","sourceRoot":"","sources":["../../../src/common/color-tokens/text.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,8CAA2C;AAC3C,oCAAyC;AAEzC,qBAAqB;AACR,QAAA,uBAAuB,GAAG,IAAA,qBAAa,EAClD,0BAA0B,EAC1B,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"text.js","sourceRoot":"","sources":["../../../src/common/color-tokens/text.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,8CAA2C;AAC3C,oCAAyC;AAEzC,qBAAqB;AACR,QAAA,uBAAuB,GAAG,IAAA,qBAAa,EAClD,0BAA0B,EAC1B,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,EAAE,MAA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AA,0BAAQ,EAAC,sBAAsB,EAAE,wCAAwC,CAAC,CAC3E,CAAC;AACW,QAAA,uBAAuB,GAAG,IAAA,qBAAa,EAClD,0BAA0B,EAC1B,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,aAAK,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,EAClF,IAAA,0BAAQ,EAAC,yBAAyB,EAAE,2CAA2C,CAAC,CACjF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title-bar.d.ts","sourceRoot":"","sources":["../../../src/common/color-tokens/title-bar.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,2BAA2B,
|
|
1
|
+
{"version":3,"file":"title-bar.d.ts","sourceRoot":"","sources":["../../../src/common/color-tokens/title-bar.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,2BAA2B,QASvC,CAAC;AAEF,eAAO,MAAM,6BAA6B,QASzC,CAAC;AAEF,eAAO,MAAM,2BAA2B,QASvC,CAAC;AAEF,eAAO,MAAM,6BAA6B,QASzC,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAS5B,CAAC"}
|
|
@@ -8,26 +8,31 @@ const base_1 = require("./base");
|
|
|
8
8
|
exports.TITLE_BAR_ACTIVE_FOREGROUND = (0, utils_1.registerColor)('titleBar.activeForeground', {
|
|
9
9
|
dark: '#CCCCCC',
|
|
10
10
|
light: '#333333',
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
hcDark: '#FFFFFF',
|
|
12
|
+
hcLight: '#292929',
|
|
13
|
+
}, (0, ide_core_common_1.localize)('titleBarActiveForeground', 'Title bar foreground when the window is active.'));
|
|
13
14
|
exports.TITLE_BAR_INACTIVE_FOREGROUND = (0, utils_1.registerColor)('titleBar.inactiveForeground', {
|
|
14
15
|
dark: (0, utils_1.transparent)(exports.TITLE_BAR_ACTIVE_FOREGROUND, 0.6),
|
|
15
16
|
light: (0, utils_1.transparent)(exports.TITLE_BAR_ACTIVE_FOREGROUND, 0.6),
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
hcDark: null,
|
|
18
|
+
hcLight: '#292929',
|
|
19
|
+
}, (0, ide_core_common_1.localize)('titleBarInactiveForeground', 'Title bar foreground when the window is inactive.'));
|
|
18
20
|
exports.TITLE_BAR_ACTIVE_BACKGROUND = (0, utils_1.registerColor)('titleBar.activeBackground', {
|
|
19
21
|
dark: '#3C3C3C',
|
|
20
22
|
light: '#DDDDDD',
|
|
21
|
-
|
|
22
|
-
|
|
23
|
+
hcDark: '#000000',
|
|
24
|
+
hcLight: '#FFFFFF',
|
|
25
|
+
}, (0, ide_core_common_1.localize)('titleBarActiveBackground', 'Title bar background when the window is active.'));
|
|
23
26
|
exports.TITLE_BAR_INACTIVE_BACKGROUND = (0, utils_1.registerColor)('titleBar.inactiveBackground', {
|
|
24
27
|
dark: (0, utils_1.transparent)(exports.TITLE_BAR_ACTIVE_BACKGROUND, 0.6),
|
|
25
28
|
light: (0, utils_1.transparent)(exports.TITLE_BAR_ACTIVE_BACKGROUND, 0.6),
|
|
26
|
-
|
|
27
|
-
|
|
29
|
+
hcDark: null,
|
|
30
|
+
hcLight: null,
|
|
31
|
+
}, (0, ide_core_common_1.localize)('titleBarInactiveBackground', 'Title bar background when the window is inactive.'));
|
|
28
32
|
exports.TITLE_BAR_BORDER = (0, utils_1.registerColor)('titleBar.border', {
|
|
29
33
|
dark: null,
|
|
30
34
|
light: null,
|
|
31
|
-
|
|
32
|
-
|
|
35
|
+
hcDark: base_1.contrastBorder,
|
|
36
|
+
hcLight: base_1.contrastBorder,
|
|
37
|
+
}, (0, ide_core_common_1.localize)('titleBarBorder', 'Title bar border color.'));
|
|
33
38
|
//# sourceMappingURL=title-bar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title-bar.js","sourceRoot":"","sources":["../../../src/common/color-tokens/title-bar.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,oCAAs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,EAAC,mCAA2B,EAAE,GAAG,CAAC;IACpD,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;CACd,EACD,IAAA,0BAAQ,EAAC,4BAA4B,EAAE,mDAAmD,CAAC,CAC5F,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAA,qBAAa,EAC3C,iBAAiB,EACjB;IACE,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,qBAAc;IACtB,OAAO,EAAE,qBAAc;CACxB,EACD,IAAA,0BAAQ,EAAC,gBAAgB,EAAE,yBAAyB,CAAC,CACtD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar.d.ts","sourceRoot":"","sources":["../../../src/common/color-tokens/toolbar.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,sBAAsB,QAIlC,CAAC;AACF,eAAO,MAAM,mBAAmB,QAI/B,CAAC;AACF,eAAO,MAAM,uBAAuB,QASnC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toolbarActiveBackground = exports.toolbarHoverOutline = exports.toolbarHoverBackground = void 0;
|
|
4
|
+
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
5
|
+
const utils_1 = require("../utils");
|
|
6
|
+
const base_1 = require("./base");
|
|
7
|
+
/**
|
|
8
|
+
* Toolbar colors
|
|
9
|
+
*/
|
|
10
|
+
exports.toolbarHoverBackground = (0, utils_1.registerColor)('toolbar.hoverBackground', { dark: '#5a5d5e50', light: '#b8b8b850', hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('toolbarHoverBackground', 'Toolbar background when hovering over actions using the mouse'));
|
|
11
|
+
exports.toolbarHoverOutline = (0, utils_1.registerColor)('toolbar.hoverOutline', { dark: null, light: null, hcDark: base_1.activeContrastBorder, hcLight: base_1.activeContrastBorder }, (0, ide_core_common_1.localize)('toolbarHoverOutline', 'Toolbar outline when hovering over actions using the mouse'));
|
|
12
|
+
exports.toolbarActiveBackground = (0, utils_1.registerColor)('toolbar.activeBackground', {
|
|
13
|
+
dark: (0, utils_1.lighten)(exports.toolbarHoverBackground, 0.1),
|
|
14
|
+
light: (0, utils_1.darken)(exports.toolbarHoverBackground, 0.1),
|
|
15
|
+
hcDark: null,
|
|
16
|
+
hcLight: null,
|
|
17
|
+
}, (0, ide_core_common_1.localize)('toolbarActiveBackground', 'Toolbar background when holding the mouse over actions'));
|
|
18
|
+
//# sourceMappingURL=toolbar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar.js","sourceRoot":"","sources":["../../../src/common/color-tokens/toolbar.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,oCAA0D;AAE1D,iCAA8C;AAC9C;;GAEG;AACU,QAAA,sBAAsB,GAAG,IAAA,qBAAa,EACjD,yBAAyB,EACzB,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,EACtE,IAAA,0BAAQ,EAAC,wBAAwB,EAAE,+DAA+D,CAAC,CACpG,CAAC;AACW,QAAA,mBAAmB,GAAG,IAAA,qBAAa,EAC9C,sBAAsB,EACtB,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,2BAAoB,EAAE,OAAO,EAAE,2BAAoB,EAAE,EACxF,IAAA,0BAAQ,EAAC,qBAAqB,EAAE,4DAA4D,CAAC,CAC9F,CAAC;AACW,QAAA,uBAAuB,GAAG,IAAA,qBAAa,EAClD,0BAA0B,EAC1B;IACE,IAAI,EAAE,IAAA,eAAO,EAAC,8BAAsB,EAAE,GAAG,CAAC;IAC1C,KAAK,EAAE,IAAA,cAAM,EAAC,8BAAsB,EAAE,GAAG,CAAC;IAC1C,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;CACd,EACD,IAAA,0BAAQ,EAAC,yBAAyB,EAAE,wDAAwD,CAAC,CAC9F,CAAC"}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.embeddedEditorBackground = exports.welcomePageBackground = exports.welcomePageBtnHoverBackground = exports.welcomePagebtnBackground = void 0;
|
|
4
4
|
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
5
5
|
const utils_1 = require("../utils");
|
|
6
|
-
exports.welcomePagebtnBackground = (0, utils_1.registerColor)('welcomePage.buttonBackground', { dark: null, light: null,
|
|
7
|
-
exports.welcomePageBtnHoverBackground = (0, utils_1.registerColor)('welcomePage.buttonHoverBackground', { dark: null, light: null,
|
|
8
|
-
exports.welcomePageBackground = (0, utils_1.registerColor)('welcomePage.background', { light: null,
|
|
9
|
-
exports.embeddedEditorBackground = (0, utils_1.registerColor)('walkThrough.embeddedEditorBackground', { dark: null, light: null,
|
|
6
|
+
exports.welcomePagebtnBackground = (0, utils_1.registerColor)('welcomePage.buttonBackground', { dark: null, light: null, hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('welcomePage.buttonBackground', 'Background color for the buttons on the Welcome page.'));
|
|
7
|
+
exports.welcomePageBtnHoverBackground = (0, utils_1.registerColor)('welcomePage.buttonHoverBackground', { dark: null, light: null, hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('welcomePage.buttonHoverBackground', 'Hover background color for the buttons on the Welcome page.'));
|
|
8
|
+
exports.welcomePageBackground = (0, utils_1.registerColor)('welcomePage.background', { dark: null, light: null, hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('welcomePage.background', 'Background color for the Welcome page.'));
|
|
9
|
+
exports.embeddedEditorBackground = (0, utils_1.registerColor)('walkThrough.embeddedEditorBackground', { dark: null, light: null, hcDark: null, hcLight: null }, (0, ide_core_common_1.localize)('walkThrough.embeddedEditorBackground', 'Background color for the embedded editors on the Interactive Playground.'));
|
|
10
10
|
//# sourceMappingURL=welcome-page.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"welcome-page.js","sourceRoot":"","sources":["../../../src/common/color-tokens/welcome-page.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,oCAAyC;AAE5B,QAAA,wBAAwB,GAAG,IAAA,qBAAa,EACnD,8BAA8B,EAC9B,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"welcome-page.js","sourceRoot":"","sources":["../../../src/common/color-tokens/welcome-page.ts"],"names":[],"mappings":";;;AAAA,+DAAqD;AAErD,oCAAyC;AAE5B,QAAA,wBAAwB,GAAG,IAAA,qBAAa,EACnD,8BAA8B,EAC9B,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,EACxD,IAAA,0BAAQ,EAAC,8BAA8B,EAAE,uDAAuD,CAAC,CAClG,CAAC;AACW,QAAA,6BAA6B,GAAG,IAAA,qBAAa,EACxD,mCAAmC,EACnC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,EACxD,IAAA,0BAAQ,EAAC,mCAAmC,EAAE,6DAA6D,CAAC,CAC7G,CAAC;AACW,QAAA,qBAAqB,GAAG,IAAA,qBAAa,EAChD,wBAAwB,EACxB,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,EACxD,IAAA,0BAAQ,EAAC,wBAAwB,EAAE,wCAAwC,CAAC,CAC7E,CAAC;AACW,QAAA,wBAAwB,GAAG,IAAA,qBAAa,EACnD,sCAAsC,EACtC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,EACxD,IAAA,0BAAQ,EACN,sCAAsC,EACtC,0EAA0E,CAC3E,CACF,CAAC"}
|
|
@@ -2,4 +2,5 @@ import { IStandaloneThemeData } from './theme.service';
|
|
|
2
2
|
export declare const vs: IStandaloneThemeData;
|
|
3
3
|
export declare const vs_dark: IStandaloneThemeData;
|
|
4
4
|
export declare const hc_black: IStandaloneThemeData;
|
|
5
|
+
export declare const hc_light: IStandaloneThemeData;
|
|
5
6
|
//# sourceMappingURL=default-themes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-themes.d.ts","sourceRoot":"","sources":["../../src/common/default-themes.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAGvD,eAAO,MAAM,EAAE,EAAE,oBAmEhB,CAAC;AAIF,eAAO,MAAM,OAAO,EAAE,oBAkErB,CAAC;AAIF,eAAO,MAAM,QAAQ,EAAE,oBAuDtB,CAAC"}
|
|
1
|
+
{"version":3,"file":"default-themes.d.ts","sourceRoot":"","sources":["../../src/common/default-themes.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAGvD,eAAO,MAAM,EAAE,EAAE,oBAmEhB,CAAC;AAIF,eAAO,MAAM,OAAO,EAAE,oBAkErB,CAAC;AAIF,eAAO,MAAM,QAAQ,EAAE,oBAuDtB,CAAC;AAGF,eAAO,MAAM,QAAQ,EAAE,oBAuDtB,CAAC"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*--------------------------------------------------------------------------------------------*/
|
|
6
6
|
// Some code copied and modified from https://github.com/microsoft/vscode/blob/1.44.0/src/vs/editor/standalone/common/themes.ts
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.hc_black = exports.vs_dark = exports.vs = void 0;
|
|
8
|
+
exports.hc_light = exports.hc_black = exports.vs_dark = exports.vs = void 0;
|
|
9
9
|
const color_registry_1 = require("./color-registry");
|
|
10
10
|
// tslint:disable:variable-name
|
|
11
11
|
/* -------------------------------- Begin vs theme -------------------------------- */
|
|
@@ -181,4 +181,54 @@ exports.hc_black = {
|
|
|
181
181
|
},
|
|
182
182
|
};
|
|
183
183
|
/* -------------------------------- End hc-black theme -------------------------------- */
|
|
184
|
+
/* -------------------------------- Begin hc-light theme -------------------------------- */
|
|
185
|
+
exports.hc_light = {
|
|
186
|
+
base: 'hc-light',
|
|
187
|
+
inherit: false,
|
|
188
|
+
rules: [
|
|
189
|
+
{ token: '', foreground: '292929', background: 'FFFFFF' },
|
|
190
|
+
{ token: 'invalid', foreground: 'B5200D' },
|
|
191
|
+
{ token: 'emphasis', fontStyle: 'italic' },
|
|
192
|
+
{ token: 'strong', fontStyle: 'bold' },
|
|
193
|
+
{ token: 'variable', foreground: '264F70' },
|
|
194
|
+
{ token: 'variable.predefined', foreground: '4864AA' },
|
|
195
|
+
{ token: 'constant', foreground: 'dd0000' },
|
|
196
|
+
{ token: 'comment', foreground: '008000' },
|
|
197
|
+
{ token: 'number', foreground: '098658' },
|
|
198
|
+
{ token: 'number.hex', foreground: '3030c0' },
|
|
199
|
+
{ token: 'regexp', foreground: '800000' },
|
|
200
|
+
{ token: 'annotation', foreground: '808080' },
|
|
201
|
+
{ token: 'type', foreground: '008080' },
|
|
202
|
+
{ token: 'delimiter', foreground: '000000' },
|
|
203
|
+
{ token: 'delimiter.html', foreground: '383838' },
|
|
204
|
+
{ token: 'tag', foreground: '800000' },
|
|
205
|
+
{ token: 'tag.id.pug', foreground: '4F76AC' },
|
|
206
|
+
{ token: 'tag.class.pug', foreground: '4F76AC' },
|
|
207
|
+
{ token: 'meta.scss', foreground: '800000' },
|
|
208
|
+
{ token: 'metatag', foreground: 'e00000' },
|
|
209
|
+
{ token: 'metatag.content.html', foreground: 'B5200D' },
|
|
210
|
+
{ token: 'metatag.html', foreground: '808080' },
|
|
211
|
+
{ token: 'metatag.xml', foreground: '808080' },
|
|
212
|
+
{ token: 'metatag.php', fontStyle: 'bold' },
|
|
213
|
+
{ token: 'key', foreground: '863B00' },
|
|
214
|
+
{ token: 'string.key.json', foreground: 'A31515' },
|
|
215
|
+
{ token: 'string.value.json', foreground: '0451A5' },
|
|
216
|
+
{ token: 'attribute.name', foreground: '264F78' },
|
|
217
|
+
{ token: 'attribute.value', foreground: '0451A5' },
|
|
218
|
+
{ token: 'string', foreground: 'A31515' },
|
|
219
|
+
{ token: 'string.sql', foreground: 'B5200D' },
|
|
220
|
+
{ token: 'keyword', foreground: '0000FF' },
|
|
221
|
+
{ token: 'keyword.flow', foreground: 'AF00DB' },
|
|
222
|
+
{ token: 'operator.sql', foreground: '778899' },
|
|
223
|
+
{ token: 'operator.swift', foreground: '666666' },
|
|
224
|
+
{ token: 'predefined.sql', foreground: 'C700C7' },
|
|
225
|
+
],
|
|
226
|
+
colors: {
|
|
227
|
+
[color_registry_1.editorBackground]: '#FFFFFF',
|
|
228
|
+
[color_registry_1.editorForeground]: '#292929',
|
|
229
|
+
[color_registry_1.editorIndentGuides]: '#292929',
|
|
230
|
+
[color_registry_1.editorActiveIndentGuides]: '#292929',
|
|
231
|
+
},
|
|
232
|
+
};
|
|
233
|
+
/* -------------------------------- End hc-light theme -------------------------------- */
|
|
184
234
|
//# sourceMappingURL=default-themes.js.map
|