@theia/notebook 1.53.0-next.5 → 1.53.0-next.55
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/README.md +30 -30
- package/lib/browser/contributions/notebook-actions-contribution.d.ts +1 -0
- package/lib/browser/contributions/notebook-actions-contribution.d.ts.map +1 -1
- package/lib/browser/contributions/notebook-actions-contribution.js +31 -5
- package/lib/browser/contributions/notebook-actions-contribution.js.map +1 -1
- package/lib/browser/contributions/notebook-cell-actions-contribution.d.ts +2 -0
- package/lib/browser/contributions/notebook-cell-actions-contribution.d.ts.map +1 -1
- package/lib/browser/contributions/notebook-cell-actions-contribution.js +41 -7
- package/lib/browser/contributions/notebook-cell-actions-contribution.js.map +1 -1
- package/lib/browser/contributions/notebook-status-bar-contribution.d.ts +14 -0
- package/lib/browser/contributions/notebook-status-bar-contribution.d.ts.map +1 -0
- package/lib/browser/contributions/notebook-status-bar-contribution.js +75 -0
- package/lib/browser/contributions/notebook-status-bar-contribution.js.map +1 -0
- package/lib/browser/notebook-editor-widget.d.ts.map +1 -1
- package/lib/browser/notebook-editor-widget.js +3 -5
- package/lib/browser/notebook-editor-widget.js.map +1 -1
- package/lib/browser/notebook-frontend-module.d.ts.map +1 -1
- package/lib/browser/notebook-frontend-module.js +3 -0
- package/lib/browser/notebook-frontend-module.js.map +1 -1
- package/lib/browser/notebook-open-handler.d.ts +3 -2
- package/lib/browser/notebook-open-handler.d.ts.map +1 -1
- package/lib/browser/notebook-open-handler.js +12 -5
- package/lib/browser/notebook-open-handler.js.map +1 -1
- package/lib/browser/view/notebook-cell-editor.d.ts +1 -0
- package/lib/browser/view/notebook-cell-editor.d.ts.map +1 -1
- package/lib/browser/view/notebook-cell-editor.js +30 -16
- package/lib/browser/view/notebook-cell-editor.js.map +1 -1
- package/lib/browser/view/notebook-cell-list-view.d.ts +6 -4
- package/lib/browser/view/notebook-cell-list-view.d.ts.map +1 -1
- package/lib/browser/view/notebook-cell-list-view.js +20 -13
- package/lib/browser/view/notebook-cell-list-view.js.map +1 -1
- package/lib/browser/view-model/notebook-cell-model.d.ts +3 -0
- package/lib/browser/view-model/notebook-cell-model.d.ts.map +1 -1
- package/lib/browser/view-model/notebook-cell-model.js +5 -0
- package/lib/browser/view-model/notebook-cell-model.js.map +1 -1
- package/package.json +8 -8
- package/src/browser/contributions/cell-operations.ts +44 -44
- package/src/browser/contributions/notebook-actions-contribution.ts +379 -350
- package/src/browser/contributions/notebook-cell-actions-contribution.ts +525 -487
- package/src/browser/contributions/notebook-color-contribution.ts +268 -268
- package/src/browser/contributions/notebook-context-keys.ts +113 -113
- package/src/browser/contributions/notebook-label-provider-contribution.ts +85 -85
- package/src/browser/contributions/notebook-outline-contribution.ts +114 -114
- package/src/browser/contributions/notebook-output-action-contribution.ts +82 -82
- package/src/browser/contributions/notebook-preferences.ts +92 -92
- package/src/browser/contributions/notebook-status-bar-contribution.ts +77 -0
- package/src/browser/contributions/notebook-undo-redo-handler.ts +41 -41
- package/src/browser/index.ts +27 -27
- package/src/browser/notebook-cell-resource-resolver.ts +130 -130
- package/src/browser/notebook-editor-widget-factory.ts +82 -82
- package/src/browser/notebook-editor-widget.tsx +330 -331
- package/src/browser/notebook-frontend-module.ts +119 -115
- package/src/browser/notebook-open-handler.ts +120 -114
- package/src/browser/notebook-output-utils.ts +119 -119
- package/src/browser/notebook-renderer-registry.ts +85 -85
- package/src/browser/notebook-type-registry.ts +54 -54
- package/src/browser/notebook-types.ts +186 -186
- package/src/browser/renderers/cell-output-webview.ts +33 -33
- package/src/browser/service/notebook-clipboard-service.ts +43 -43
- package/src/browser/service/notebook-context-manager.ts +162 -162
- package/src/browser/service/notebook-editor-widget-service.ts +101 -101
- package/src/browser/service/notebook-execution-service.ts +139 -139
- package/src/browser/service/notebook-execution-state-service.ts +311 -311
- package/src/browser/service/notebook-kernel-history-service.ts +124 -124
- package/src/browser/service/notebook-kernel-quick-pick-service.ts +479 -479
- package/src/browser/service/notebook-kernel-service.ts +357 -357
- package/src/browser/service/notebook-model-resolver-service.ts +160 -160
- package/src/browser/service/notebook-monaco-text-model-service.ts +48 -48
- package/src/browser/service/notebook-options.ts +155 -155
- package/src/browser/service/notebook-renderer-messaging-service.ts +121 -121
- package/src/browser/service/notebook-service.ts +215 -215
- package/src/browser/style/index.css +483 -471
- package/src/browser/view/notebook-cell-editor.tsx +263 -247
- package/src/browser/view/notebook-cell-list-view.tsx +279 -262
- package/src/browser/view/notebook-cell-toolbar-factory.tsx +102 -102
- package/src/browser/view/notebook-cell-toolbar.tsx +74 -74
- package/src/browser/view/notebook-code-cell-view.tsx +350 -350
- package/src/browser/view/notebook-find-widget.tsx +335 -335
- package/src/browser/view/notebook-main-toolbar.tsx +235 -235
- package/src/browser/view/notebook-markdown-cell-view.tsx +208 -208
- package/src/browser/view/notebook-viewport-service.ts +61 -61
- package/src/browser/view-model/notebook-cell-model.ts +473 -466
- package/src/browser/view-model/notebook-cell-output-model.ts +100 -100
- package/src/browser/view-model/notebook-model.ts +550 -550
- package/src/common/index.ts +18 -18
- package/src/common/notebook-common.ts +337 -337
- package/src/common/notebook-protocol.ts +35 -35
- package/src/common/notebook-range.ts +30 -30
|
@@ -1,268 +1,268 @@
|
|
|
1
|
-
// *****************************************************************************
|
|
2
|
-
// Copyright (C) 2023 TypeFox and others.
|
|
3
|
-
//
|
|
4
|
-
// This program and the accompanying materials are made available under the
|
|
5
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
//
|
|
8
|
-
// This Source Code may also be made available under the following Secondary
|
|
9
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
// with the GNU Classpath Exception which is available at
|
|
12
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
//
|
|
14
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
-
// *****************************************************************************
|
|
16
|
-
|
|
17
|
-
import { ColorContribution } from '@theia/core/lib/browser/color-application-contribution';
|
|
18
|
-
import { ColorRegistry } from '@theia/core/lib/browser/color-registry';
|
|
19
|
-
import { Color } from '@theia/core/lib/common/color';
|
|
20
|
-
import { injectable } from '@theia/core/shared/inversify';
|
|
21
|
-
|
|
22
|
-
@injectable()
|
|
23
|
-
export class NotebookColorContribution implements ColorContribution {
|
|
24
|
-
registerColors(colors: ColorRegistry): void {
|
|
25
|
-
colors.register(
|
|
26
|
-
{
|
|
27
|
-
id: 'notebook.cellBorderColor',
|
|
28
|
-
defaults: {
|
|
29
|
-
dark: Color.transparent('list.inactiveSelectionBackground', 1),
|
|
30
|
-
light: Color.transparent('list.inactiveSelectionBackground', 1),
|
|
31
|
-
hcDark: 'panel.border',
|
|
32
|
-
hcLight: 'panel.border'
|
|
33
|
-
},
|
|
34
|
-
description: 'The border color for notebook cells.'
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
id: 'notebook.focusedEditorBorder',
|
|
38
|
-
defaults: {
|
|
39
|
-
dark: 'focusBorder',
|
|
40
|
-
light: 'focusBorder',
|
|
41
|
-
hcDark: 'focusBorder',
|
|
42
|
-
hcLight: 'focusBorder'
|
|
43
|
-
},
|
|
44
|
-
description: 'The color of the notebook cell editor border.'
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
id: 'notebookStatusSuccessIcon.foreground',
|
|
48
|
-
defaults: {
|
|
49
|
-
dark: 'debugIcon.startForeground',
|
|
50
|
-
light: 'debugIcon.startForeground',
|
|
51
|
-
hcDark: 'debugIcon.startForeground',
|
|
52
|
-
hcLight: 'debugIcon.startForeground'
|
|
53
|
-
},
|
|
54
|
-
description: 'The error icon color of notebook cells in the cell status bar.'
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
id: 'notebookEditorOverviewRuler.runningCellForeground',
|
|
58
|
-
defaults: {
|
|
59
|
-
dark: 'debugIcon.startForeground',
|
|
60
|
-
light: 'debugIcon.startForeground',
|
|
61
|
-
hcDark: 'debugIcon.startForeground',
|
|
62
|
-
hcLight: 'debugIcon.startForeground'
|
|
63
|
-
},
|
|
64
|
-
description: 'The color of the running cell decoration in the notebook editor overview ruler.'
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
id: 'notebookStatusErrorIcon.foreground',
|
|
68
|
-
defaults: {
|
|
69
|
-
dark: 'errorForeground',
|
|
70
|
-
light: 'errorForeground',
|
|
71
|
-
hcDark: 'errorForeground',
|
|
72
|
-
hcLight: 'errorForeground'
|
|
73
|
-
},
|
|
74
|
-
description: 'The error icon color of notebook cells in the cell status bar.'
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
id: 'notebookStatusRunningIcon.foreground',
|
|
78
|
-
defaults: {
|
|
79
|
-
dark: 'foreground',
|
|
80
|
-
light: 'foreground',
|
|
81
|
-
hcDark: 'foreground',
|
|
82
|
-
hcLight: 'foreground'
|
|
83
|
-
},
|
|
84
|
-
description: 'The running icon color of notebook cells in the cell status bar.'
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
id: 'notebook.outputContainerBorderColor',
|
|
88
|
-
defaults: {
|
|
89
|
-
dark: undefined,
|
|
90
|
-
light: undefined,
|
|
91
|
-
hcDark: undefined,
|
|
92
|
-
hcLight: undefined
|
|
93
|
-
},
|
|
94
|
-
description: 'The border color of the notebook output container.'
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
id: 'notebook.outputContainerBackgroundColor',
|
|
98
|
-
defaults: {
|
|
99
|
-
dark: undefined,
|
|
100
|
-
light: undefined,
|
|
101
|
-
hcDark: undefined,
|
|
102
|
-
hcLight: undefined
|
|
103
|
-
},
|
|
104
|
-
description: 'The color of the notebook output container background.'
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
id: 'notebook.cellToolbarSeparator',
|
|
108
|
-
defaults: {
|
|
109
|
-
dark: Color.rgba(128, 128, 128, 0.35),
|
|
110
|
-
light: Color.rgba(128, 128, 128, 0.35),
|
|
111
|
-
hcDark: 'contrastBorder',
|
|
112
|
-
hcLight: 'contrastBorder'
|
|
113
|
-
},
|
|
114
|
-
description: 'The color of the separator in the cell bottom toolbar'
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
id: 'notebook.focusedCellBackground',
|
|
118
|
-
defaults: {
|
|
119
|
-
dark: undefined,
|
|
120
|
-
light: undefined,
|
|
121
|
-
hcDark: undefined,
|
|
122
|
-
hcLight: undefined
|
|
123
|
-
},
|
|
124
|
-
description: 'The background color of a cell when the cell is focused.'
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
id: 'notebook.selectedCellBackground',
|
|
128
|
-
defaults: {
|
|
129
|
-
dark: 'list.inactiveSelectionBackground',
|
|
130
|
-
light: 'list.inactiveSelectionBackground',
|
|
131
|
-
hcDark: undefined,
|
|
132
|
-
hcLight: undefined
|
|
133
|
-
},
|
|
134
|
-
description: 'The background color of a cell when the cell is selected.'
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
id: 'notebook.cellHoverBackground',
|
|
138
|
-
defaults: {
|
|
139
|
-
dark: Color.transparent('notebook.focusedCellBackground', 0.5),
|
|
140
|
-
light: Color.transparent('notebook.focusedCellBackground', 0.7),
|
|
141
|
-
hcDark: undefined,
|
|
142
|
-
hcLight: undefined
|
|
143
|
-
},
|
|
144
|
-
description: 'The background color of a cell when the cell is hovered.'
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
id: 'notebook.selectedCellBorder',
|
|
148
|
-
defaults: {
|
|
149
|
-
dark: 'notebook.cellBorderColor',
|
|
150
|
-
light: 'notebook.cellBorderColor',
|
|
151
|
-
hcDark: 'contrastBorder',
|
|
152
|
-
hcLight: 'contrastBorder'
|
|
153
|
-
},
|
|
154
|
-
description: "The color of the cell's top and bottom border when the cell is selected but not focused."
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
id: 'notebook.inactiveSelectedCellBorder',
|
|
158
|
-
defaults: {
|
|
159
|
-
dark: undefined,
|
|
160
|
-
light: undefined,
|
|
161
|
-
hcDark: 'focusBorder',
|
|
162
|
-
hcLight: 'focusBorder'
|
|
163
|
-
},
|
|
164
|
-
description: "The color of the cell's borders when multiple cells are selected."
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
id: 'notebook.focusedCellBorder',
|
|
168
|
-
defaults: {
|
|
169
|
-
dark: 'focusBorder',
|
|
170
|
-
light: 'focusBorder',
|
|
171
|
-
hcDark: 'focusBorder',
|
|
172
|
-
hcLight: 'focusBorder'
|
|
173
|
-
},
|
|
174
|
-
description: "The color of the cell's focus indicator borders when the cell is focused."
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
id: 'notebook.inactiveFocusedCellBorder',
|
|
178
|
-
defaults: {
|
|
179
|
-
dark: 'notebook.cellBorderColor',
|
|
180
|
-
light: 'notebook.cellBorderColor',
|
|
181
|
-
hcDark: 'notebook.cellBorderColor',
|
|
182
|
-
hcLight: 'notebook.cellBorderColor'
|
|
183
|
-
},
|
|
184
|
-
description: "The color of the cell's top and bottom border when a cell is focused while the primary focus is outside of the editor."
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
id: 'notebook.cellStatusBarItemHoverBackground',
|
|
188
|
-
defaults: {
|
|
189
|
-
dark: Color.rgba(0, 0, 0, 0.08),
|
|
190
|
-
light: Color.rgba(255, 255, 255, 0.15),
|
|
191
|
-
hcDark: Color.rgba(0, 0, 0, 0.08),
|
|
192
|
-
hcLight: Color.rgba(255, 255, 255, 0.15)
|
|
193
|
-
},
|
|
194
|
-
description: 'The background color of notebook cell status bar items.'
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
id: 'notebook.cellInsertionIndicator',
|
|
198
|
-
defaults: {
|
|
199
|
-
dark: 'focusBorder',
|
|
200
|
-
light: 'focusBorder',
|
|
201
|
-
hcDark: 'focusBorder',
|
|
202
|
-
hcLight: undefined
|
|
203
|
-
},
|
|
204
|
-
description: 'Notebook background color.'
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
id: 'notebookScrollbarSlider.background',
|
|
208
|
-
defaults: {
|
|
209
|
-
dark: 'scrollbarSlider.background',
|
|
210
|
-
light: 'scrollbarSlider.background',
|
|
211
|
-
hcDark: 'scrollbarSlider.background',
|
|
212
|
-
hcLight: 'scrollbarSlider.background'
|
|
213
|
-
},
|
|
214
|
-
description: 'Notebook scrollbar slider background color.'
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
id: 'notebookScrollbarSlider.hoverBackground',
|
|
218
|
-
defaults: {
|
|
219
|
-
dark: 'scrollbarSlider.hoverBackground',
|
|
220
|
-
light: 'scrollbarSlider.hoverBackground',
|
|
221
|
-
hcDark: 'scrollbarSlider.hoverBackground',
|
|
222
|
-
hcLight: 'scrollbarSlider.hoverBackground'
|
|
223
|
-
},
|
|
224
|
-
description: 'Notebook scrollbar slider background color when hovering.'
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
id: 'notebookScrollbarSlider.activeBackground',
|
|
228
|
-
defaults: {
|
|
229
|
-
dark: 'scrollbarSlider.activeBackground',
|
|
230
|
-
light: 'scrollbarSlider.activeBackground',
|
|
231
|
-
hcDark: 'scrollbarSlider.activeBackground',
|
|
232
|
-
hcLight: 'scrollbarSlider.activeBackground'
|
|
233
|
-
},
|
|
234
|
-
description: 'Notebook scrollbar slider background color when clicked on.'
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
id: 'notebook.symbolHighlightBackground',
|
|
238
|
-
defaults: {
|
|
239
|
-
dark: Color.rgba(255, 255, 255, 0.04),
|
|
240
|
-
light: Color.rgba(253, 255, 0, 0.2),
|
|
241
|
-
hcDark: undefined,
|
|
242
|
-
hcLight: undefined
|
|
243
|
-
},
|
|
244
|
-
description: 'Background color of highlighted cell'
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
id: 'notebook.cellEditorBackground',
|
|
248
|
-
defaults: {
|
|
249
|
-
dark: 'sideBar.background',
|
|
250
|
-
light: 'sideBar.background',
|
|
251
|
-
hcDark: undefined,
|
|
252
|
-
hcLight: undefined
|
|
253
|
-
},
|
|
254
|
-
description: 'Cell editor background color.'
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
id: 'notebook.editorBackground',
|
|
258
|
-
defaults: {
|
|
259
|
-
dark: 'editorPane.background',
|
|
260
|
-
light: 'editorPane.background',
|
|
261
|
-
hcDark: undefined,
|
|
262
|
-
hcLight: undefined
|
|
263
|
-
},
|
|
264
|
-
description: 'Notebook background color.'
|
|
265
|
-
}
|
|
266
|
-
);
|
|
267
|
-
}
|
|
268
|
-
}
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2023 TypeFox and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
|
+
|
|
17
|
+
import { ColorContribution } from '@theia/core/lib/browser/color-application-contribution';
|
|
18
|
+
import { ColorRegistry } from '@theia/core/lib/browser/color-registry';
|
|
19
|
+
import { Color } from '@theia/core/lib/common/color';
|
|
20
|
+
import { injectable } from '@theia/core/shared/inversify';
|
|
21
|
+
|
|
22
|
+
@injectable()
|
|
23
|
+
export class NotebookColorContribution implements ColorContribution {
|
|
24
|
+
registerColors(colors: ColorRegistry): void {
|
|
25
|
+
colors.register(
|
|
26
|
+
{
|
|
27
|
+
id: 'notebook.cellBorderColor',
|
|
28
|
+
defaults: {
|
|
29
|
+
dark: Color.transparent('list.inactiveSelectionBackground', 1),
|
|
30
|
+
light: Color.transparent('list.inactiveSelectionBackground', 1),
|
|
31
|
+
hcDark: 'panel.border',
|
|
32
|
+
hcLight: 'panel.border'
|
|
33
|
+
},
|
|
34
|
+
description: 'The border color for notebook cells.'
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
id: 'notebook.focusedEditorBorder',
|
|
38
|
+
defaults: {
|
|
39
|
+
dark: 'focusBorder',
|
|
40
|
+
light: 'focusBorder',
|
|
41
|
+
hcDark: 'focusBorder',
|
|
42
|
+
hcLight: 'focusBorder'
|
|
43
|
+
},
|
|
44
|
+
description: 'The color of the notebook cell editor border.'
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
id: 'notebookStatusSuccessIcon.foreground',
|
|
48
|
+
defaults: {
|
|
49
|
+
dark: 'debugIcon.startForeground',
|
|
50
|
+
light: 'debugIcon.startForeground',
|
|
51
|
+
hcDark: 'debugIcon.startForeground',
|
|
52
|
+
hcLight: 'debugIcon.startForeground'
|
|
53
|
+
},
|
|
54
|
+
description: 'The error icon color of notebook cells in the cell status bar.'
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
id: 'notebookEditorOverviewRuler.runningCellForeground',
|
|
58
|
+
defaults: {
|
|
59
|
+
dark: 'debugIcon.startForeground',
|
|
60
|
+
light: 'debugIcon.startForeground',
|
|
61
|
+
hcDark: 'debugIcon.startForeground',
|
|
62
|
+
hcLight: 'debugIcon.startForeground'
|
|
63
|
+
},
|
|
64
|
+
description: 'The color of the running cell decoration in the notebook editor overview ruler.'
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: 'notebookStatusErrorIcon.foreground',
|
|
68
|
+
defaults: {
|
|
69
|
+
dark: 'errorForeground',
|
|
70
|
+
light: 'errorForeground',
|
|
71
|
+
hcDark: 'errorForeground',
|
|
72
|
+
hcLight: 'errorForeground'
|
|
73
|
+
},
|
|
74
|
+
description: 'The error icon color of notebook cells in the cell status bar.'
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
id: 'notebookStatusRunningIcon.foreground',
|
|
78
|
+
defaults: {
|
|
79
|
+
dark: 'foreground',
|
|
80
|
+
light: 'foreground',
|
|
81
|
+
hcDark: 'foreground',
|
|
82
|
+
hcLight: 'foreground'
|
|
83
|
+
},
|
|
84
|
+
description: 'The running icon color of notebook cells in the cell status bar.'
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
id: 'notebook.outputContainerBorderColor',
|
|
88
|
+
defaults: {
|
|
89
|
+
dark: undefined,
|
|
90
|
+
light: undefined,
|
|
91
|
+
hcDark: undefined,
|
|
92
|
+
hcLight: undefined
|
|
93
|
+
},
|
|
94
|
+
description: 'The border color of the notebook output container.'
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
id: 'notebook.outputContainerBackgroundColor',
|
|
98
|
+
defaults: {
|
|
99
|
+
dark: undefined,
|
|
100
|
+
light: undefined,
|
|
101
|
+
hcDark: undefined,
|
|
102
|
+
hcLight: undefined
|
|
103
|
+
},
|
|
104
|
+
description: 'The color of the notebook output container background.'
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
id: 'notebook.cellToolbarSeparator',
|
|
108
|
+
defaults: {
|
|
109
|
+
dark: Color.rgba(128, 128, 128, 0.35),
|
|
110
|
+
light: Color.rgba(128, 128, 128, 0.35),
|
|
111
|
+
hcDark: 'contrastBorder',
|
|
112
|
+
hcLight: 'contrastBorder'
|
|
113
|
+
},
|
|
114
|
+
description: 'The color of the separator in the cell bottom toolbar'
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
id: 'notebook.focusedCellBackground',
|
|
118
|
+
defaults: {
|
|
119
|
+
dark: undefined,
|
|
120
|
+
light: undefined,
|
|
121
|
+
hcDark: undefined,
|
|
122
|
+
hcLight: undefined
|
|
123
|
+
},
|
|
124
|
+
description: 'The background color of a cell when the cell is focused.'
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
id: 'notebook.selectedCellBackground',
|
|
128
|
+
defaults: {
|
|
129
|
+
dark: 'list.inactiveSelectionBackground',
|
|
130
|
+
light: 'list.inactiveSelectionBackground',
|
|
131
|
+
hcDark: undefined,
|
|
132
|
+
hcLight: undefined
|
|
133
|
+
},
|
|
134
|
+
description: 'The background color of a cell when the cell is selected.'
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
id: 'notebook.cellHoverBackground',
|
|
138
|
+
defaults: {
|
|
139
|
+
dark: Color.transparent('notebook.focusedCellBackground', 0.5),
|
|
140
|
+
light: Color.transparent('notebook.focusedCellBackground', 0.7),
|
|
141
|
+
hcDark: undefined,
|
|
142
|
+
hcLight: undefined
|
|
143
|
+
},
|
|
144
|
+
description: 'The background color of a cell when the cell is hovered.'
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
id: 'notebook.selectedCellBorder',
|
|
148
|
+
defaults: {
|
|
149
|
+
dark: 'notebook.cellBorderColor',
|
|
150
|
+
light: 'notebook.cellBorderColor',
|
|
151
|
+
hcDark: 'contrastBorder',
|
|
152
|
+
hcLight: 'contrastBorder'
|
|
153
|
+
},
|
|
154
|
+
description: "The color of the cell's top and bottom border when the cell is selected but not focused."
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
id: 'notebook.inactiveSelectedCellBorder',
|
|
158
|
+
defaults: {
|
|
159
|
+
dark: undefined,
|
|
160
|
+
light: undefined,
|
|
161
|
+
hcDark: 'focusBorder',
|
|
162
|
+
hcLight: 'focusBorder'
|
|
163
|
+
},
|
|
164
|
+
description: "The color of the cell's borders when multiple cells are selected."
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
id: 'notebook.focusedCellBorder',
|
|
168
|
+
defaults: {
|
|
169
|
+
dark: 'focusBorder',
|
|
170
|
+
light: 'focusBorder',
|
|
171
|
+
hcDark: 'focusBorder',
|
|
172
|
+
hcLight: 'focusBorder'
|
|
173
|
+
},
|
|
174
|
+
description: "The color of the cell's focus indicator borders when the cell is focused."
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
id: 'notebook.inactiveFocusedCellBorder',
|
|
178
|
+
defaults: {
|
|
179
|
+
dark: 'notebook.cellBorderColor',
|
|
180
|
+
light: 'notebook.cellBorderColor',
|
|
181
|
+
hcDark: 'notebook.cellBorderColor',
|
|
182
|
+
hcLight: 'notebook.cellBorderColor'
|
|
183
|
+
},
|
|
184
|
+
description: "The color of the cell's top and bottom border when a cell is focused while the primary focus is outside of the editor."
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
id: 'notebook.cellStatusBarItemHoverBackground',
|
|
188
|
+
defaults: {
|
|
189
|
+
dark: Color.rgba(0, 0, 0, 0.08),
|
|
190
|
+
light: Color.rgba(255, 255, 255, 0.15),
|
|
191
|
+
hcDark: Color.rgba(0, 0, 0, 0.08),
|
|
192
|
+
hcLight: Color.rgba(255, 255, 255, 0.15)
|
|
193
|
+
},
|
|
194
|
+
description: 'The background color of notebook cell status bar items.'
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
id: 'notebook.cellInsertionIndicator',
|
|
198
|
+
defaults: {
|
|
199
|
+
dark: 'focusBorder',
|
|
200
|
+
light: 'focusBorder',
|
|
201
|
+
hcDark: 'focusBorder',
|
|
202
|
+
hcLight: undefined
|
|
203
|
+
},
|
|
204
|
+
description: 'Notebook background color.'
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
id: 'notebookScrollbarSlider.background',
|
|
208
|
+
defaults: {
|
|
209
|
+
dark: 'scrollbarSlider.background',
|
|
210
|
+
light: 'scrollbarSlider.background',
|
|
211
|
+
hcDark: 'scrollbarSlider.background',
|
|
212
|
+
hcLight: 'scrollbarSlider.background'
|
|
213
|
+
},
|
|
214
|
+
description: 'Notebook scrollbar slider background color.'
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
id: 'notebookScrollbarSlider.hoverBackground',
|
|
218
|
+
defaults: {
|
|
219
|
+
dark: 'scrollbarSlider.hoverBackground',
|
|
220
|
+
light: 'scrollbarSlider.hoverBackground',
|
|
221
|
+
hcDark: 'scrollbarSlider.hoverBackground',
|
|
222
|
+
hcLight: 'scrollbarSlider.hoverBackground'
|
|
223
|
+
},
|
|
224
|
+
description: 'Notebook scrollbar slider background color when hovering.'
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
id: 'notebookScrollbarSlider.activeBackground',
|
|
228
|
+
defaults: {
|
|
229
|
+
dark: 'scrollbarSlider.activeBackground',
|
|
230
|
+
light: 'scrollbarSlider.activeBackground',
|
|
231
|
+
hcDark: 'scrollbarSlider.activeBackground',
|
|
232
|
+
hcLight: 'scrollbarSlider.activeBackground'
|
|
233
|
+
},
|
|
234
|
+
description: 'Notebook scrollbar slider background color when clicked on.'
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
id: 'notebook.symbolHighlightBackground',
|
|
238
|
+
defaults: {
|
|
239
|
+
dark: Color.rgba(255, 255, 255, 0.04),
|
|
240
|
+
light: Color.rgba(253, 255, 0, 0.2),
|
|
241
|
+
hcDark: undefined,
|
|
242
|
+
hcLight: undefined
|
|
243
|
+
},
|
|
244
|
+
description: 'Background color of highlighted cell'
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
id: 'notebook.cellEditorBackground',
|
|
248
|
+
defaults: {
|
|
249
|
+
dark: 'sideBar.background',
|
|
250
|
+
light: 'sideBar.background',
|
|
251
|
+
hcDark: undefined,
|
|
252
|
+
hcLight: undefined
|
|
253
|
+
},
|
|
254
|
+
description: 'Cell editor background color.'
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
id: 'notebook.editorBackground',
|
|
258
|
+
defaults: {
|
|
259
|
+
dark: 'editorPane.background',
|
|
260
|
+
light: 'editorPane.background',
|
|
261
|
+
hcDark: undefined,
|
|
262
|
+
hcLight: undefined
|
|
263
|
+
},
|
|
264
|
+
description: 'Notebook background color.'
|
|
265
|
+
}
|
|
266
|
+
);
|
|
267
|
+
}
|
|
268
|
+
}
|