@codingame/monaco-vscode-api 1.76.6 → 1.76.8

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.
Files changed (35) hide show
  1. package/README.md +7 -1
  2. package/dist/audioCue.js +28 -2
  3. package/dist/configuration2.js +1 -1
  4. package/dist/contextkeys.js +991 -15
  5. package/dist/debug.js +80 -165
  6. package/dist/files.js +1 -1
  7. package/dist/missing-services.js +1 -1
  8. package/dist/monaco.js +1 -1
  9. package/dist/polyfill.js +17 -42
  10. package/dist/snippetsService.js +1 -1
  11. package/dist/textFileEditorModel.js +1 -1
  12. package/dist/textmate.js +11 -7
  13. package/package.json +2 -1
  14. package/dist/assets/break-6b46c048.mp3 +0 -0
  15. package/dist/assets/diffLineDeleted-26945eb8.mp3 +0 -0
  16. package/dist/assets/diffLineInserted-8f202889.mp3 +0 -0
  17. package/dist/assets/diffLineModified-fb126694.mp3 +0 -0
  18. package/dist/assets/error-b93c2a76.mp3 +0 -0
  19. package/dist/assets/foldedAreas-a6b54171.mp3 +0 -0
  20. package/dist/assets/quickFixes-dc7d1e73.mp3 +0 -0
  21. package/dist/assets/taskCompleted-f0dd8e18.mp3 +0 -0
  22. package/dist/assets/taskFailed-5494702a.mp3 +0 -0
  23. package/dist/assets/terminalBell-ff9df1e1.mp3 +0 -0
  24. package/dist/assets/warning-2687e2e7.mp3 +0 -0
  25. /package/dist/assets/{break-6b46c048-6b46c048.mp3 → break.mp3} +0 -0
  26. /package/dist/assets/{diffLineDeleted-26945eb8-26945eb8.mp3 → diffLineDeleted.mp3} +0 -0
  27. /package/dist/assets/{diffLineInserted-8f202889-8f202889.mp3 → diffLineInserted.mp3} +0 -0
  28. /package/dist/assets/{diffLineModified-fb126694-fb126694.mp3 → diffLineModified.mp3} +0 -0
  29. /package/dist/assets/{error-b93c2a76-b93c2a76.mp3 → error.mp3} +0 -0
  30. /package/dist/assets/{foldedAreas-a6b54171-a6b54171.mp3 → foldedAreas.mp3} +0 -0
  31. /package/dist/assets/{quickFixes-dc7d1e73-dc7d1e73.mp3 → quickFixes.mp3} +0 -0
  32. /package/dist/assets/{taskCompleted-f0dd8e18-f0dd8e18.mp3 → taskCompleted.mp3} +0 -0
  33. /package/dist/assets/{taskFailed-5494702a-5494702a.mp3 → taskFailed.mp3} +0 -0
  34. /package/dist/assets/{terminalBell-ff9df1e1-ff9df1e1.mp3 → terminalBell.mp3} +0 -0
  35. /package/dist/assets/{warning-2687e2e7-2687e2e7.mp3 → warning.mp3} +0 -0
@@ -1,5 +1,6 @@
1
- import { registerColor, editorBackground, widgetBorder, contrastBorder, editorWidgetBackground, lighten, darken } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
1
+ import { registerColor, editorBackground, transparent, contrastBorder, treeIndentGuidesStroke, focusBorder, editorWidgetForeground, editorWidgetBackground, editorForeground, inputBorder, listActiveSelectionBackground, darken, listActiveSelectionForeground, editorInfoForeground, activeContrastBorder, errorForeground, editorWarningForeground, toolbarHoverBackground, widgetBorder, textLinkForeground, lighten, editorErrorForeground } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
2
2
  import { localize } from 'monaco-editor/esm/vs/nls.js';
3
+ import { Color } from 'monaco-editor/esm/vs/base/common/color.js';
3
4
  import { _ as __decorate, a as __param, n as IFileService } from './services2.js';
4
5
  import { RawContextKey, IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
5
6
  import { ILanguageService } from 'monaco-editor/esm/vs/editor/common/languages/language.js';
@@ -22,7 +23,349 @@ function createErrorWithActions(messageOrError, actions) {
22
23
  error.actions = actions;
23
24
  return error;
24
25
  }
25
- const PANEL_BACKGROUND = ( registerColor('panel.background', {
26
+ const TAB_ACTIVE_BACKGROUND = registerColor('tab.activeBackground', {
27
+ dark: editorBackground,
28
+ light: editorBackground,
29
+ hcDark: editorBackground,
30
+ hcLight: editorBackground
31
+ }, ( localize(
32
+ 'tabActiveBackground',
33
+ "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."
34
+ )));
35
+ registerColor('tab.unfocusedActiveBackground', {
36
+ dark: TAB_ACTIVE_BACKGROUND,
37
+ light: TAB_ACTIVE_BACKGROUND,
38
+ hcDark: TAB_ACTIVE_BACKGROUND,
39
+ hcLight: TAB_ACTIVE_BACKGROUND,
40
+ }, ( localize(
41
+ 'tabUnfocusedActiveBackground',
42
+ "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."
43
+ )));
44
+ const TAB_INACTIVE_BACKGROUND = registerColor('tab.inactiveBackground', {
45
+ dark: '#2D2D2D',
46
+ light: '#ECECEC',
47
+ hcDark: null,
48
+ hcLight: null,
49
+ }, ( localize(
50
+ 'tabInactiveBackground',
51
+ "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."
52
+ )));
53
+ registerColor('tab.unfocusedInactiveBackground', {
54
+ dark: TAB_INACTIVE_BACKGROUND,
55
+ light: TAB_INACTIVE_BACKGROUND,
56
+ hcDark: TAB_INACTIVE_BACKGROUND,
57
+ hcLight: TAB_INACTIVE_BACKGROUND
58
+ }, ( localize(
59
+ 'tabUnfocusedInactiveBackground',
60
+ "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."
61
+ )));
62
+ const TAB_ACTIVE_FOREGROUND = registerColor('tab.activeForeground', {
63
+ dark: Color.white,
64
+ light: '#333333',
65
+ hcDark: Color.white,
66
+ hcLight: '#292929'
67
+ }, ( localize(
68
+ 'tabActiveForeground',
69
+ "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."
70
+ )));
71
+ const TAB_INACTIVE_FOREGROUND = registerColor('tab.inactiveForeground', {
72
+ dark: ( transparent(TAB_ACTIVE_FOREGROUND, 0.5)),
73
+ light: ( transparent(TAB_ACTIVE_FOREGROUND, 0.7)),
74
+ hcDark: Color.white,
75
+ hcLight: '#292929'
76
+ }, ( localize(
77
+ 'tabInactiveForeground',
78
+ "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."
79
+ )));
80
+ registerColor('tab.unfocusedActiveForeground', {
81
+ dark: ( transparent(TAB_ACTIVE_FOREGROUND, 0.5)),
82
+ light: ( transparent(TAB_ACTIVE_FOREGROUND, 0.7)),
83
+ hcDark: Color.white,
84
+ hcLight: '#292929'
85
+ }, ( localize(
86
+ 'tabUnfocusedActiveForeground',
87
+ "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."
88
+ )));
89
+ registerColor('tab.unfocusedInactiveForeground', {
90
+ dark: ( transparent(TAB_INACTIVE_FOREGROUND, 0.5)),
91
+ light: ( transparent(TAB_INACTIVE_FOREGROUND, 0.5)),
92
+ hcDark: Color.white,
93
+ hcLight: '#292929'
94
+ }, ( localize(
95
+ 'tabUnfocusedInactiveForeground',
96
+ "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."
97
+ )));
98
+ const TAB_HOVER_BACKGROUND = registerColor('tab.hoverBackground', {
99
+ dark: null,
100
+ light: null,
101
+ hcDark: null,
102
+ hcLight: null
103
+ }, ( localize(
104
+ 'tabHoverBackground',
105
+ "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."
106
+ )));
107
+ registerColor('tab.unfocusedHoverBackground', {
108
+ dark: ( transparent(TAB_HOVER_BACKGROUND, 0.5)),
109
+ light: ( transparent(TAB_HOVER_BACKGROUND, 0.7)),
110
+ hcDark: null,
111
+ hcLight: null
112
+ }, ( localize(
113
+ 'tabUnfocusedHoverBackground',
114
+ "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."
115
+ )));
116
+ const TAB_HOVER_FOREGROUND = registerColor('tab.hoverForeground', {
117
+ dark: null,
118
+ light: null,
119
+ hcDark: null,
120
+ hcLight: null,
121
+ }, ( localize(
122
+ 'tabHoverForeground',
123
+ "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."
124
+ )));
125
+ registerColor('tab.unfocusedHoverForeground', {
126
+ dark: ( transparent(TAB_HOVER_FOREGROUND, 0.5)),
127
+ light: ( transparent(TAB_HOVER_FOREGROUND, 0.5)),
128
+ hcDark: null,
129
+ hcLight: null
130
+ }, ( localize(
131
+ 'tabUnfocusedHoverForeground',
132
+ "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."
133
+ )));
134
+ registerColor('tab.border', {
135
+ dark: '#252526',
136
+ light: '#F3F3F3',
137
+ hcDark: contrastBorder,
138
+ hcLight: contrastBorder,
139
+ }, ( localize(
140
+ 'tabBorder',
141
+ "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."
142
+ )));
143
+ registerColor('tab.lastPinnedBorder', {
144
+ dark: treeIndentGuidesStroke,
145
+ light: treeIndentGuidesStroke,
146
+ hcDark: contrastBorder,
147
+ hcLight: contrastBorder
148
+ }, ( localize(
149
+ 'lastPinnedTabBorder',
150
+ "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."
151
+ )));
152
+ const TAB_ACTIVE_BORDER = registerColor('tab.activeBorder', {
153
+ dark: null,
154
+ light: null,
155
+ hcDark: null,
156
+ hcLight: null
157
+ }, ( localize(
158
+ 'tabActiveBorder',
159
+ "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."
160
+ )));
161
+ registerColor('tab.unfocusedActiveBorder', {
162
+ dark: ( transparent(TAB_ACTIVE_BORDER, 0.5)),
163
+ light: ( transparent(TAB_ACTIVE_BORDER, 0.7)),
164
+ hcDark: null,
165
+ hcLight: null
166
+ }, ( localize(
167
+ 'tabActiveUnfocusedBorder',
168
+ "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."
169
+ )));
170
+ const TAB_ACTIVE_BORDER_TOP = registerColor('tab.activeBorderTop', {
171
+ dark: null,
172
+ light: null,
173
+ hcDark: null,
174
+ hcLight: '#B5200D'
175
+ }, ( localize(
176
+ 'tabActiveBorderTop',
177
+ "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."
178
+ )));
179
+ registerColor('tab.unfocusedActiveBorderTop', {
180
+ dark: ( transparent(TAB_ACTIVE_BORDER_TOP, 0.5)),
181
+ light: ( transparent(TAB_ACTIVE_BORDER_TOP, 0.7)),
182
+ hcDark: null,
183
+ hcLight: '#B5200D'
184
+ }, ( localize(
185
+ 'tabActiveUnfocusedBorderTop',
186
+ "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."
187
+ )));
188
+ const TAB_HOVER_BORDER = registerColor('tab.hoverBorder', {
189
+ dark: null,
190
+ light: null,
191
+ hcDark: null,
192
+ hcLight: null
193
+ }, ( localize(
194
+ 'tabHoverBorder',
195
+ "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."
196
+ )));
197
+ registerColor('tab.unfocusedHoverBorder', {
198
+ dark: ( transparent(TAB_HOVER_BORDER, 0.5)),
199
+ light: ( transparent(TAB_HOVER_BORDER, 0.7)),
200
+ hcDark: null,
201
+ hcLight: contrastBorder
202
+ }, ( localize(
203
+ 'tabUnfocusedHoverBorder',
204
+ "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."
205
+ )));
206
+ const TAB_ACTIVE_MODIFIED_BORDER = registerColor('tab.activeModifiedBorder', {
207
+ dark: '#3399CC',
208
+ light: '#33AAEE',
209
+ hcDark: null,
210
+ hcLight: contrastBorder
211
+ }, ( localize(
212
+ 'tabActiveModifiedBorder',
213
+ "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."
214
+ )));
215
+ const TAB_INACTIVE_MODIFIED_BORDER = registerColor('tab.inactiveModifiedBorder', {
216
+ dark: ( transparent(TAB_ACTIVE_MODIFIED_BORDER, 0.5)),
217
+ light: ( transparent(TAB_ACTIVE_MODIFIED_BORDER, 0.5)),
218
+ hcDark: Color.white,
219
+ hcLight: contrastBorder
220
+ }, ( localize(
221
+ 'tabInactiveModifiedBorder',
222
+ "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."
223
+ )));
224
+ registerColor('tab.unfocusedActiveModifiedBorder', {
225
+ dark: ( transparent(TAB_ACTIVE_MODIFIED_BORDER, 0.5)),
226
+ light: ( transparent(TAB_ACTIVE_MODIFIED_BORDER, 0.7)),
227
+ hcDark: Color.white,
228
+ hcLight: contrastBorder
229
+ }, ( localize(
230
+ 'unfocusedActiveModifiedBorder',
231
+ "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."
232
+ )));
233
+ registerColor('tab.unfocusedInactiveModifiedBorder', {
234
+ dark: ( transparent(TAB_INACTIVE_MODIFIED_BORDER, 0.5)),
235
+ light: ( transparent(TAB_INACTIVE_MODIFIED_BORDER, 0.5)),
236
+ hcDark: Color.white,
237
+ hcLight: contrastBorder
238
+ }, ( localize(
239
+ 'unfocusedINactiveModifiedBorder',
240
+ "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."
241
+ )));
242
+ registerColor('editorPane.background', {
243
+ dark: editorBackground,
244
+ light: editorBackground,
245
+ hcDark: editorBackground,
246
+ hcLight: editorBackground
247
+ }, ( localize(
248
+ 'editorPaneBackground',
249
+ "Background color of the editor pane visible on the left and right side of the centered editor layout."
250
+ )));
251
+ registerColor('editorGroup.emptyBackground', {
252
+ dark: null,
253
+ light: null,
254
+ hcDark: null,
255
+ hcLight: null
256
+ }, ( localize(
257
+ 'editorGroupEmptyBackground',
258
+ "Background color of an empty editor group. Editor groups are the containers of editors."
259
+ )));
260
+ registerColor('editorGroup.focusedEmptyBorder', {
261
+ dark: null,
262
+ light: null,
263
+ hcDark: focusBorder,
264
+ hcLight: focusBorder
265
+ }, ( localize(
266
+ 'editorGroupFocusedEmptyBorder',
267
+ "Border color of an empty editor group that is focused. Editor groups are the containers of editors."
268
+ )));
269
+ registerColor('editorGroupHeader.tabsBackground', {
270
+ dark: '#252526',
271
+ light: '#F3F3F3',
272
+ hcDark: null,
273
+ hcLight: null
274
+ }, ( localize(
275
+ 'tabsContainerBackground',
276
+ "Background color of the editor group title header when tabs are enabled. Editor groups are the containers of editors."
277
+ )));
278
+ registerColor('editorGroupHeader.tabsBorder', {
279
+ dark: null,
280
+ light: null,
281
+ hcDark: null,
282
+ hcLight: null
283
+ }, ( localize(
284
+ 'tabsContainerBorder',
285
+ "Border color of the editor group title header when tabs are enabled. Editor groups are the containers of editors."
286
+ )));
287
+ registerColor('editorGroupHeader.noTabsBackground', {
288
+ dark: editorBackground,
289
+ light: editorBackground,
290
+ hcDark: editorBackground,
291
+ hcLight: editorBackground
292
+ }, ( localize(
293
+ 'editorGroupHeaderBackground',
294
+ "Background color of the editor group title header when tabs are disabled (`\"workbench.editor.showTabs\": false`). Editor groups are the containers of editors."
295
+ )));
296
+ registerColor('editorGroupHeader.border', {
297
+ dark: null,
298
+ light: null,
299
+ hcDark: contrastBorder,
300
+ hcLight: contrastBorder
301
+ }, ( localize(
302
+ 'editorTitleContainerBorder',
303
+ "Border color of the editor group title header. Editor groups are the containers of editors."
304
+ )));
305
+ const EDITOR_GROUP_BORDER = registerColor('editorGroup.border', {
306
+ dark: '#444444',
307
+ light: '#E7E7E7',
308
+ hcDark: contrastBorder,
309
+ hcLight: contrastBorder
310
+ }, ( localize(
311
+ 'editorGroupBorder',
312
+ "Color to separate multiple editor groups from each other. Editor groups are the containers of editors."
313
+ )));
314
+ const EDITOR_DRAG_AND_DROP_BACKGROUND = registerColor('editorGroup.dropBackground', {
315
+ dark: ( ( Color.fromHex('#53595D')).transparent(0.5)),
316
+ light: ( ( Color.fromHex('#2677CB')).transparent(0.18)),
317
+ hcDark: null,
318
+ hcLight: ( ( Color.fromHex('#0F4A85')).transparent(0.50))
319
+ }, ( localize(
320
+ 'editorDragAndDropBackground',
321
+ "Background color when dragging editors around. The color should have transparency so that the editor contents can still shine through."
322
+ )));
323
+ registerColor('editorGroup.dropIntoPromptForeground', {
324
+ dark: editorWidgetForeground,
325
+ light: editorWidgetForeground,
326
+ hcDark: editorWidgetForeground,
327
+ hcLight: editorWidgetForeground
328
+ }, ( localize(
329
+ 'editorDropIntoPromptForeground',
330
+ "Foreground color of text shown over editors when dragging files. This text informs the user that they can hold shift to drop into the editor."
331
+ )));
332
+ registerColor('editorGroup.dropIntoPromptBackground', {
333
+ dark: editorWidgetBackground,
334
+ light: editorWidgetBackground,
335
+ hcDark: editorWidgetBackground,
336
+ hcLight: editorWidgetBackground
337
+ }, ( localize(
338
+ 'editorDropIntoPromptBackground',
339
+ "Background color of text shown over editors when dragging files. This text informs the user that they can hold shift to drop into the editor."
340
+ )));
341
+ registerColor('editorGroup.dropIntoPromptBorder', {
342
+ dark: null,
343
+ light: null,
344
+ hcDark: contrastBorder,
345
+ hcLight: contrastBorder
346
+ }, ( localize(
347
+ 'editorDropIntoPromptBorder',
348
+ "Border color of text shown over editors when dragging files. This text informs the user that they can hold shift to drop into the editor."
349
+ )));
350
+ registerColor('sideBySideEditor.horizontalBorder', {
351
+ dark: EDITOR_GROUP_BORDER,
352
+ light: EDITOR_GROUP_BORDER,
353
+ hcDark: EDITOR_GROUP_BORDER,
354
+ hcLight: EDITOR_GROUP_BORDER
355
+ }, ( localize(
356
+ 'sideBySideEditor.horizontalBorder',
357
+ "Color to separate two editors from each other when shown side by side in an editor group from top to bottom."
358
+ )));
359
+ registerColor('sideBySideEditor.verticalBorder', {
360
+ dark: EDITOR_GROUP_BORDER,
361
+ light: EDITOR_GROUP_BORDER,
362
+ hcDark: EDITOR_GROUP_BORDER,
363
+ hcLight: EDITOR_GROUP_BORDER
364
+ }, ( localize(
365
+ 'sideBySideEditor.verticalBorder',
366
+ "Color to separate two editors from each other when shown side by side in an editor group from left to right."
367
+ )));
368
+ const PANEL_BACKGROUND = registerColor('panel.background', {
26
369
  dark: editorBackground,
27
370
  light: editorBackground,
28
371
  hcDark: editorBackground,
@@ -30,8 +373,437 @@ const PANEL_BACKGROUND = ( registerColor('panel.background', {
30
373
  }, ( localize(
31
374
  'panelBackground',
32
375
  "Panel background color. Panels are shown below the editor area and contain views like output and integrated terminal."
33
- ))));
34
- const SIDE_BAR_BACKGROUND = ( registerColor('sideBar.background', {
376
+ )));
377
+ const PANEL_BORDER = registerColor('panel.border', {
378
+ dark: ( ( Color.fromHex('#808080')).transparent(0.35)),
379
+ light: ( ( Color.fromHex('#808080')).transparent(0.35)),
380
+ hcDark: contrastBorder,
381
+ hcLight: contrastBorder
382
+ }, ( localize(
383
+ 'panelBorder',
384
+ "Panel border color to separate the panel from the editor. Panels are shown below the editor area and contain views like output and integrated terminal."
385
+ )));
386
+ const PANEL_ACTIVE_TITLE_FOREGROUND = registerColor('panelTitle.activeForeground', {
387
+ dark: '#E7E7E7',
388
+ light: '#424242',
389
+ hcDark: Color.white,
390
+ hcLight: editorForeground
391
+ }, ( localize(
392
+ 'panelActiveTitleForeground',
393
+ "Title color for the active panel. Panels are shown below the editor area and contain views like output and integrated terminal."
394
+ )));
395
+ registerColor('panelTitle.inactiveForeground', {
396
+ dark: ( transparent(PANEL_ACTIVE_TITLE_FOREGROUND, 0.6)),
397
+ light: ( transparent(PANEL_ACTIVE_TITLE_FOREGROUND, 0.75)),
398
+ hcDark: Color.white,
399
+ hcLight: editorForeground
400
+ }, ( localize(
401
+ 'panelInactiveTitleForeground',
402
+ "Title color for the inactive panel. Panels are shown below the editor area and contain views like output and integrated terminal."
403
+ )));
404
+ registerColor('panelTitle.activeBorder', {
405
+ dark: PANEL_ACTIVE_TITLE_FOREGROUND,
406
+ light: PANEL_ACTIVE_TITLE_FOREGROUND,
407
+ hcDark: contrastBorder,
408
+ hcLight: '#B5200D'
409
+ }, ( localize(
410
+ 'panelActiveTitleBorder',
411
+ "Border color for the active panel title. Panels are shown below the editor area and contain views like output and integrated terminal."
412
+ )));
413
+ registerColor('panelInput.border', {
414
+ dark: inputBorder,
415
+ light: ( Color.fromHex('#ddd')),
416
+ hcDark: inputBorder,
417
+ hcLight: inputBorder
418
+ }, ( localize('panelInputBorder', "Input box border for inputs in the panel.")));
419
+ registerColor('panel.dropBorder', {
420
+ dark: PANEL_ACTIVE_TITLE_FOREGROUND,
421
+ light: PANEL_ACTIVE_TITLE_FOREGROUND,
422
+ hcDark: PANEL_ACTIVE_TITLE_FOREGROUND,
423
+ hcLight: PANEL_ACTIVE_TITLE_FOREGROUND
424
+ }, ( localize(
425
+ 'panelDragAndDropBorder',
426
+ "Drag and drop feedback color for the panel titles. Panels are shown below the editor area and contain views like output and integrated terminal."
427
+ )));
428
+ registerColor('panelSection.dropBackground', {
429
+ dark: EDITOR_DRAG_AND_DROP_BACKGROUND,
430
+ light: EDITOR_DRAG_AND_DROP_BACKGROUND,
431
+ hcDark: EDITOR_DRAG_AND_DROP_BACKGROUND,
432
+ hcLight: EDITOR_DRAG_AND_DROP_BACKGROUND
433
+ }, ( localize(
434
+ 'panelSectionDragAndDropBackground',
435
+ "Drag and drop feedback color for the panel sections. The color should have transparency so that the panel sections can still shine through. Panels are shown below the editor area and contain views like output and integrated terminal. Panel sections are views nested within the panels."
436
+ )));
437
+ registerColor('panelSectionHeader.background', {
438
+ dark: ( ( Color.fromHex('#808080')).transparent(0.2)),
439
+ light: ( ( Color.fromHex('#808080')).transparent(0.2)),
440
+ hcDark: null,
441
+ hcLight: null,
442
+ }, ( localize(
443
+ 'panelSectionHeaderBackground',
444
+ "Panel section header background color. Panels are shown below the editor area and contain views like output and integrated terminal. Panel sections are views nested within the panels."
445
+ )));
446
+ registerColor('panelSectionHeader.foreground', {
447
+ dark: null,
448
+ light: null,
449
+ hcDark: null,
450
+ hcLight: null
451
+ }, ( localize(
452
+ 'panelSectionHeaderForeground',
453
+ "Panel section header foreground color. Panels are shown below the editor area and contain views like output and integrated terminal. Panel sections are views nested within the panels."
454
+ )));
455
+ registerColor('panelSectionHeader.border', {
456
+ dark: contrastBorder,
457
+ light: contrastBorder,
458
+ hcDark: contrastBorder,
459
+ hcLight: contrastBorder
460
+ }, ( localize(
461
+ 'panelSectionHeaderBorder',
462
+ "Panel section header border color used when multiple views are stacked vertically in the panel. Panels are shown below the editor area and contain views like output and integrated terminal. Panel sections are views nested within the panels."
463
+ )));
464
+ registerColor('panelSection.border', {
465
+ dark: PANEL_BORDER,
466
+ light: PANEL_BORDER,
467
+ hcDark: PANEL_BORDER,
468
+ hcLight: PANEL_BORDER
469
+ }, ( localize(
470
+ 'panelSectionBorder',
471
+ "Panel section border color used when multiple views are stacked horizontally in the panel. Panels are shown below the editor area and contain views like output and integrated terminal. Panel sections are views nested within the panels."
472
+ )));
473
+ registerColor('banner.background', {
474
+ dark: listActiveSelectionBackground,
475
+ light: ( darken(listActiveSelectionBackground, 0.3)),
476
+ hcDark: listActiveSelectionBackground,
477
+ hcLight: listActiveSelectionBackground
478
+ }, ( localize(
479
+ 'banner.background',
480
+ "Banner background color. The banner is shown under the title bar of the window."
481
+ )));
482
+ registerColor('banner.foreground', {
483
+ dark: listActiveSelectionForeground,
484
+ light: listActiveSelectionForeground,
485
+ hcDark: listActiveSelectionForeground,
486
+ hcLight: listActiveSelectionForeground
487
+ }, ( localize(
488
+ 'banner.foreground',
489
+ "Banner foreground color. The banner is shown under the title bar of the window."
490
+ )));
491
+ registerColor('banner.iconForeground', {
492
+ dark: editorInfoForeground,
493
+ light: editorInfoForeground,
494
+ hcDark: editorInfoForeground,
495
+ hcLight: editorInfoForeground
496
+ }, ( localize(
497
+ 'banner.iconForeground',
498
+ "Banner icon color. The banner is shown under the title bar of the window."
499
+ )));
500
+ const STATUS_BAR_FOREGROUND = registerColor('statusBar.foreground', {
501
+ dark: '#FFFFFF',
502
+ light: '#FFFFFF',
503
+ hcDark: '#FFFFFF',
504
+ hcLight: editorForeground
505
+ }, ( localize(
506
+ 'statusBarForeground',
507
+ "Status bar foreground color when a workspace or folder is opened. The status bar is shown in the bottom of the window."
508
+ )));
509
+ registerColor('statusBar.noFolderForeground', {
510
+ dark: STATUS_BAR_FOREGROUND,
511
+ light: STATUS_BAR_FOREGROUND,
512
+ hcDark: STATUS_BAR_FOREGROUND,
513
+ hcLight: STATUS_BAR_FOREGROUND
514
+ }, ( localize(
515
+ 'statusBarNoFolderForeground',
516
+ "Status bar foreground color when no folder is opened. The status bar is shown in the bottom of the window."
517
+ )));
518
+ registerColor('statusBar.background', {
519
+ dark: '#007ACC',
520
+ light: '#007ACC',
521
+ hcDark: null,
522
+ hcLight: null,
523
+ }, ( localize(
524
+ 'statusBarBackground',
525
+ "Status bar background color when a workspace or folder is opened. The status bar is shown in the bottom of the window."
526
+ )));
527
+ registerColor('statusBar.noFolderBackground', {
528
+ dark: '#68217A',
529
+ light: '#68217A',
530
+ hcDark: null,
531
+ hcLight: null,
532
+ }, ( localize(
533
+ 'statusBarNoFolderBackground',
534
+ "Status bar background color when no folder is opened. The status bar is shown in the bottom of the window."
535
+ )));
536
+ const STATUS_BAR_BORDER = registerColor('statusBar.border', {
537
+ dark: null,
538
+ light: null,
539
+ hcDark: contrastBorder,
540
+ hcLight: contrastBorder
541
+ }, ( localize(
542
+ 'statusBarBorder',
543
+ "Status bar border color separating to the sidebar and editor. The status bar is shown in the bottom of the window."
544
+ )));
545
+ registerColor('statusBar.focusBorder', {
546
+ dark: STATUS_BAR_FOREGROUND,
547
+ light: STATUS_BAR_FOREGROUND,
548
+ hcDark: null,
549
+ hcLight: STATUS_BAR_FOREGROUND
550
+ }, ( localize(
551
+ 'statusBarFocusBorder',
552
+ "Status bar border color when focused on keyboard navigation. The status bar is shown in the bottom of the window."
553
+ )));
554
+ registerColor('statusBar.noFolderBorder', {
555
+ dark: STATUS_BAR_BORDER,
556
+ light: STATUS_BAR_BORDER,
557
+ hcDark: STATUS_BAR_BORDER,
558
+ hcLight: STATUS_BAR_BORDER
559
+ }, ( localize(
560
+ 'statusBarNoFolderBorder',
561
+ "Status bar border color separating to the sidebar and editor when no folder is opened. The status bar is shown in the bottom of the window."
562
+ )));
563
+ registerColor('statusBarItem.activeBackground', {
564
+ dark: ( Color.white.transparent(0.18)),
565
+ light: ( Color.white.transparent(0.18)),
566
+ hcDark: ( Color.white.transparent(0.18)),
567
+ hcLight: ( Color.black.transparent(0.18))
568
+ }, ( localize(
569
+ 'statusBarItemActiveBackground',
570
+ "Status bar item background color when clicking. The status bar is shown in the bottom of the window."
571
+ )));
572
+ registerColor('statusBarItem.focusBorder', {
573
+ dark: STATUS_BAR_FOREGROUND,
574
+ light: STATUS_BAR_FOREGROUND,
575
+ hcDark: null,
576
+ hcLight: activeContrastBorder
577
+ }, ( localize(
578
+ 'statusBarItemFocusBorder',
579
+ "Status bar item border color when focused on keyboard navigation. The status bar is shown in the bottom of the window."
580
+ )));
581
+ registerColor('statusBarItem.hoverBackground', {
582
+ dark: ( Color.white.transparent(0.12)),
583
+ light: ( Color.white.transparent(0.12)),
584
+ hcDark: ( Color.white.transparent(0.12)),
585
+ hcLight: ( Color.black.transparent(0.12))
586
+ }, ( localize(
587
+ 'statusBarItemHoverBackground',
588
+ "Status bar item background color when hovering. The status bar is shown in the bottom of the window."
589
+ )));
590
+ registerColor('statusBarItem.compactHoverBackground', {
591
+ dark: ( Color.white.transparent(0.20)),
592
+ light: ( Color.white.transparent(0.20)),
593
+ hcDark: ( Color.white.transparent(0.20)),
594
+ hcLight: ( Color.black.transparent(0.20))
595
+ }, ( localize(
596
+ 'statusBarItemCompactHoverBackground',
597
+ "Status bar item background color when hovering an item that contains two hovers. The status bar is shown in the bottom of the window."
598
+ )));
599
+ registerColor('statusBarItem.prominentForeground', {
600
+ dark: STATUS_BAR_FOREGROUND,
601
+ light: STATUS_BAR_FOREGROUND,
602
+ hcDark: STATUS_BAR_FOREGROUND,
603
+ hcLight: STATUS_BAR_FOREGROUND
604
+ }, ( localize(
605
+ 'statusBarProminentItemForeground',
606
+ "Status bar prominent items foreground color. Prominent items stand out from other status bar entries to indicate importance. Change mode `Toggle Tab Key Moves Focus` from command palette to see an example. The status bar is shown in the bottom of the window."
607
+ )));
608
+ registerColor('statusBarItem.prominentBackground', {
609
+ dark: ( Color.black.transparent(0.5)),
610
+ light: ( Color.black.transparent(0.5)),
611
+ hcDark: ( Color.black.transparent(0.5)),
612
+ hcLight: ( Color.black.transparent(0.5)),
613
+ }, ( localize(
614
+ 'statusBarProminentItemBackground',
615
+ "Status bar prominent items background color. Prominent items stand out from other status bar entries to indicate importance. Change mode `Toggle Tab Key Moves Focus` from command palette to see an example. The status bar is shown in the bottom of the window."
616
+ )));
617
+ registerColor('statusBarItem.prominentHoverBackground', {
618
+ dark: ( Color.black.transparent(0.3)),
619
+ light: ( Color.black.transparent(0.3)),
620
+ hcDark: ( Color.black.transparent(0.3)),
621
+ hcLight: null
622
+ }, ( localize(
623
+ 'statusBarProminentItemHoverBackground',
624
+ "Status bar prominent items background color when hovering. Prominent items stand out from other status bar entries to indicate importance. Change mode `Toggle Tab Key Moves Focus` from command palette to see an example. The status bar is shown in the bottom of the window."
625
+ )));
626
+ registerColor('statusBarItem.errorBackground', {
627
+ dark: ( darken(errorForeground, .4)),
628
+ light: ( darken(errorForeground, .4)),
629
+ hcDark: null,
630
+ hcLight: '#B5200D'
631
+ }, ( localize(
632
+ 'statusBarErrorItemBackground',
633
+ "Status bar error items background color. Error items stand out from other status bar entries to indicate error conditions. The status bar is shown in the bottom of the window."
634
+ )));
635
+ registerColor('statusBarItem.errorForeground', {
636
+ dark: Color.white,
637
+ light: Color.white,
638
+ hcDark: Color.white,
639
+ hcLight: Color.white
640
+ }, ( localize(
641
+ 'statusBarErrorItemForeground',
642
+ "Status bar error items foreground color. Error items stand out from other status bar entries to indicate error conditions. The status bar is shown in the bottom of the window."
643
+ )));
644
+ registerColor('statusBarItem.warningBackground', {
645
+ dark: ( darken(editorWarningForeground, .4)),
646
+ light: ( darken(editorWarningForeground, .4)),
647
+ hcDark: null,
648
+ hcLight: '#895503'
649
+ }, ( localize(
650
+ 'statusBarWarningItemBackground',
651
+ "Status bar warning items background color. Warning items stand out from other status bar entries to indicate warning conditions. The status bar is shown in the bottom of the window."
652
+ )));
653
+ registerColor('statusBarItem.warningForeground', {
654
+ dark: Color.white,
655
+ light: Color.white,
656
+ hcDark: Color.white,
657
+ hcLight: Color.white
658
+ }, ( localize(
659
+ 'statusBarWarningItemForeground',
660
+ "Status bar warning items foreground color. Warning items stand out from other status bar entries to indicate warning conditions. The status bar is shown in the bottom of the window."
661
+ )));
662
+ registerColor('activityBar.background', {
663
+ dark: '#333333',
664
+ light: '#2C2C2C',
665
+ hcDark: '#000000',
666
+ hcLight: '#FFFFFF'
667
+ }, ( localize(
668
+ 'activityBarBackground',
669
+ "Activity bar background color. The activity bar is showing on the far left or right and allows to switch between views of the side bar."
670
+ )));
671
+ const ACTIVITY_BAR_FOREGROUND = registerColor('activityBar.foreground', {
672
+ dark: Color.white,
673
+ light: Color.white,
674
+ hcDark: Color.white,
675
+ hcLight: editorForeground
676
+ }, ( localize(
677
+ 'activityBarForeground',
678
+ "Activity bar item foreground color when it is active. The activity bar is showing on the far left or right and allows to switch between views of the side bar."
679
+ )));
680
+ registerColor('activityBar.inactiveForeground', {
681
+ dark: ( transparent(ACTIVITY_BAR_FOREGROUND, 0.4)),
682
+ light: ( transparent(ACTIVITY_BAR_FOREGROUND, 0.4)),
683
+ hcDark: Color.white,
684
+ hcLight: editorForeground
685
+ }, ( localize(
686
+ 'activityBarInActiveForeground',
687
+ "Activity bar item foreground color when it is inactive. The activity bar is showing on the far left or right and allows to switch between views of the side bar."
688
+ )));
689
+ registerColor('activityBar.border', {
690
+ dark: null,
691
+ light: null,
692
+ hcDark: contrastBorder,
693
+ hcLight: contrastBorder
694
+ }, ( localize(
695
+ 'activityBarBorder',
696
+ "Activity bar border color separating to the side bar. The activity bar is showing on the far left or right and allows to switch between views of the side bar."
697
+ )));
698
+ registerColor('activityBar.activeBorder', {
699
+ dark: ACTIVITY_BAR_FOREGROUND,
700
+ light: ACTIVITY_BAR_FOREGROUND,
701
+ hcDark: null,
702
+ hcLight: contrastBorder
703
+ }, ( localize(
704
+ 'activityBarActiveBorder',
705
+ "Activity bar border color for the active item. The activity bar is showing on the far left or right and allows to switch between views of the side bar."
706
+ )));
707
+ registerColor('activityBar.activeFocusBorder', {
708
+ dark: null,
709
+ light: null,
710
+ hcDark: null,
711
+ hcLight: '#B5200D'
712
+ }, ( localize(
713
+ 'activityBarActiveFocusBorder',
714
+ "Activity bar focus border color for the active item. The activity bar is showing on the far left or right and allows to switch between views of the side bar."
715
+ )));
716
+ registerColor('activityBar.activeBackground', {
717
+ dark: null,
718
+ light: null,
719
+ hcDark: null,
720
+ hcLight: null
721
+ }, ( localize(
722
+ 'activityBarActiveBackground',
723
+ "Activity bar background color for the active item. The activity bar is showing on the far left or right and allows to switch between views of the side bar."
724
+ )));
725
+ registerColor('activityBar.dropBorder', {
726
+ dark: ACTIVITY_BAR_FOREGROUND,
727
+ light: ACTIVITY_BAR_FOREGROUND,
728
+ hcDark: null,
729
+ hcLight: null,
730
+ }, ( localize(
731
+ 'activityBarDragAndDropBorder',
732
+ "Drag and drop feedback color for the activity bar items. The activity bar is showing on the far left or right and allows to switch between views of the side bar."
733
+ )));
734
+ const ACTIVITY_BAR_BADGE_BACKGROUND = registerColor('activityBarBadge.background', {
735
+ dark: '#007ACC',
736
+ light: '#007ACC',
737
+ hcDark: '#000000',
738
+ hcLight: '#0F4A85'
739
+ }, ( localize(
740
+ 'activityBarBadgeBackground',
741
+ "Activity notification badge background color. The activity bar is showing on the far left or right and allows to switch between views of the side bar."
742
+ )));
743
+ const ACTIVITY_BAR_BADGE_FOREGROUND = registerColor('activityBarBadge.foreground', {
744
+ dark: Color.white,
745
+ light: Color.white,
746
+ hcDark: Color.white,
747
+ hcLight: Color.white
748
+ }, ( localize(
749
+ 'activityBarBadgeForeground',
750
+ "Activity notification badge foreground color. The activity bar is showing on the far left or right and allows to switch between views of the side bar."
751
+ )));
752
+ registerColor('profileBadge.background', {
753
+ dark: '#4D4D4D',
754
+ light: '#C4C4C4',
755
+ hcDark: Color.white,
756
+ hcLight: Color.black
757
+ }, ( localize(
758
+ 'profileBadgeBackground',
759
+ "Profile badge background color. The profile badge shows on top of the settings gear icon in the activity bar."
760
+ )));
761
+ registerColor('profileBadge.foreground', {
762
+ dark: Color.white,
763
+ light: '#333333',
764
+ hcDark: Color.black,
765
+ hcLight: Color.white
766
+ }, ( localize(
767
+ 'profileBadgeForeground',
768
+ "Profile badge foreground color. The profile badge shows on top of the settings gear icon in the activity bar."
769
+ )));
770
+ registerColor('statusBarItem.remoteBackground', {
771
+ dark: ACTIVITY_BAR_BADGE_BACKGROUND,
772
+ light: ACTIVITY_BAR_BADGE_BACKGROUND,
773
+ hcDark: ACTIVITY_BAR_BADGE_BACKGROUND,
774
+ hcLight: ACTIVITY_BAR_BADGE_BACKGROUND
775
+ }, ( localize(
776
+ 'statusBarItemHostBackground',
777
+ "Background color for the remote indicator on the status bar."
778
+ )));
779
+ registerColor('statusBarItem.remoteForeground', {
780
+ dark: ACTIVITY_BAR_BADGE_FOREGROUND,
781
+ light: ACTIVITY_BAR_BADGE_FOREGROUND,
782
+ hcDark: ACTIVITY_BAR_BADGE_FOREGROUND,
783
+ hcLight: ACTIVITY_BAR_BADGE_FOREGROUND
784
+ }, ( localize(
785
+ 'statusBarItemHostForeground',
786
+ "Foreground color for the remote indicator on the status bar."
787
+ )));
788
+ registerColor('extensionBadge.remoteBackground', {
789
+ dark: ACTIVITY_BAR_BADGE_BACKGROUND,
790
+ light: ACTIVITY_BAR_BADGE_BACKGROUND,
791
+ hcDark: ACTIVITY_BAR_BADGE_BACKGROUND,
792
+ hcLight: ACTIVITY_BAR_BADGE_BACKGROUND
793
+ }, ( localize(
794
+ 'extensionBadge.remoteBackground',
795
+ "Background color for the remote badge in the extensions view."
796
+ )));
797
+ registerColor('extensionBadge.remoteForeground', {
798
+ dark: ACTIVITY_BAR_BADGE_FOREGROUND,
799
+ light: ACTIVITY_BAR_BADGE_FOREGROUND,
800
+ hcDark: ACTIVITY_BAR_BADGE_FOREGROUND,
801
+ hcLight: ACTIVITY_BAR_BADGE_FOREGROUND
802
+ }, ( localize(
803
+ 'extensionBadge.remoteForeground',
804
+ "Foreground color for the remote badge in the extensions view."
805
+ )));
806
+ const SIDE_BAR_BACKGROUND = registerColor('sideBar.background', {
35
807
  dark: '#252526',
36
808
  light: '#F3F3F3',
37
809
  hcDark: '#000000',
@@ -39,8 +811,140 @@ const SIDE_BAR_BACKGROUND = ( registerColor('sideBar.background', {
39
811
  }, ( localize(
40
812
  'sideBarBackground',
41
813
  "Side bar background color. The side bar is the container for views like explorer and search."
42
- ))));
43
- const NOTIFICATIONS_CENTER_BORDER = ( registerColor('notificationCenter.border', {
814
+ )));
815
+ const SIDE_BAR_FOREGROUND = registerColor('sideBar.foreground', {
816
+ dark: null,
817
+ light: null,
818
+ hcDark: null,
819
+ hcLight: null
820
+ }, ( localize(
821
+ 'sideBarForeground',
822
+ "Side bar foreground color. The side bar is the container for views like explorer and search."
823
+ )));
824
+ registerColor('sideBar.border', {
825
+ dark: null,
826
+ light: null,
827
+ hcDark: contrastBorder,
828
+ hcLight: contrastBorder
829
+ }, ( localize(
830
+ 'sideBarBorder',
831
+ "Side bar border color on the side separating to the editor. The side bar is the container for views like explorer and search."
832
+ )));
833
+ registerColor('sideBarTitle.foreground', {
834
+ dark: SIDE_BAR_FOREGROUND,
835
+ light: SIDE_BAR_FOREGROUND,
836
+ hcDark: SIDE_BAR_FOREGROUND,
837
+ hcLight: SIDE_BAR_FOREGROUND
838
+ }, ( localize(
839
+ 'sideBarTitleForeground',
840
+ "Side bar title foreground color. The side bar is the container for views like explorer and search."
841
+ )));
842
+ registerColor('sideBar.dropBackground', {
843
+ dark: EDITOR_DRAG_AND_DROP_BACKGROUND,
844
+ light: EDITOR_DRAG_AND_DROP_BACKGROUND,
845
+ hcDark: EDITOR_DRAG_AND_DROP_BACKGROUND,
846
+ hcLight: EDITOR_DRAG_AND_DROP_BACKGROUND
847
+ }, ( localize(
848
+ 'sideBarDragAndDropBackground',
849
+ "Drag and drop feedback color for the side bar sections. The color should have transparency so that the side bar sections can still shine through. The side bar is the container for views like explorer and search. Side bar sections are views nested within the side bar."
850
+ )));
851
+ registerColor('sideBarSectionHeader.background', {
852
+ dark: ( ( Color.fromHex('#808080')).transparent(0.2)),
853
+ light: ( ( Color.fromHex('#808080')).transparent(0.2)),
854
+ hcDark: null,
855
+ hcLight: null
856
+ }, ( localize(
857
+ 'sideBarSectionHeaderBackground',
858
+ "Side bar section header background color. The side bar is the container for views like explorer and search. Side bar sections are views nested within the side bar."
859
+ )));
860
+ registerColor('sideBarSectionHeader.foreground', {
861
+ dark: SIDE_BAR_FOREGROUND,
862
+ light: SIDE_BAR_FOREGROUND,
863
+ hcDark: SIDE_BAR_FOREGROUND,
864
+ hcLight: SIDE_BAR_FOREGROUND
865
+ }, ( localize(
866
+ 'sideBarSectionHeaderForeground',
867
+ "Side bar section header foreground color. The side bar is the container for views like explorer and search. Side bar sections are views nested within the side bar."
868
+ )));
869
+ registerColor('sideBarSectionHeader.border', {
870
+ dark: contrastBorder,
871
+ light: contrastBorder,
872
+ hcDark: contrastBorder,
873
+ hcLight: contrastBorder
874
+ }, ( localize(
875
+ 'sideBarSectionHeaderBorder',
876
+ "Side bar section header border color. The side bar is the container for views like explorer and search. Side bar sections are views nested within the side bar."
877
+ )));
878
+ const TITLE_BAR_ACTIVE_FOREGROUND = registerColor('titleBar.activeForeground', {
879
+ dark: '#CCCCCC',
880
+ light: '#333333',
881
+ hcDark: '#FFFFFF',
882
+ hcLight: '#292929'
883
+ }, ( localize(
884
+ 'titleBarActiveForeground',
885
+ "Title bar foreground when the window is active."
886
+ )));
887
+ registerColor('titleBar.inactiveForeground', {
888
+ dark: ( transparent(TITLE_BAR_ACTIVE_FOREGROUND, 0.6)),
889
+ light: ( transparent(TITLE_BAR_ACTIVE_FOREGROUND, 0.6)),
890
+ hcDark: null,
891
+ hcLight: '#292929'
892
+ }, ( localize(
893
+ 'titleBarInactiveForeground',
894
+ "Title bar foreground when the window is inactive."
895
+ )));
896
+ const TITLE_BAR_ACTIVE_BACKGROUND = registerColor('titleBar.activeBackground', {
897
+ dark: '#3C3C3C',
898
+ light: '#DDDDDD',
899
+ hcDark: '#000000',
900
+ hcLight: '#FFFFFF'
901
+ }, ( localize(
902
+ 'titleBarActiveBackground',
903
+ "Title bar background when the window is active."
904
+ )));
905
+ registerColor('titleBar.inactiveBackground', {
906
+ dark: ( transparent(TITLE_BAR_ACTIVE_BACKGROUND, 0.6)),
907
+ light: ( transparent(TITLE_BAR_ACTIVE_BACKGROUND, 0.6)),
908
+ hcDark: null,
909
+ hcLight: null,
910
+ }, ( localize(
911
+ 'titleBarInactiveBackground',
912
+ "Title bar background when the window is inactive."
913
+ )));
914
+ registerColor('titleBar.border', {
915
+ dark: null,
916
+ light: null,
917
+ hcDark: contrastBorder,
918
+ hcLight: contrastBorder
919
+ }, ( localize('titleBarBorder', "Title bar border color.")));
920
+ registerColor('menubar.selectionForeground', {
921
+ dark: TITLE_BAR_ACTIVE_FOREGROUND,
922
+ light: TITLE_BAR_ACTIVE_FOREGROUND,
923
+ hcDark: TITLE_BAR_ACTIVE_FOREGROUND,
924
+ hcLight: TITLE_BAR_ACTIVE_FOREGROUND,
925
+ }, ( localize(
926
+ 'menubarSelectionForeground',
927
+ "Foreground color of the selected menu item in the menubar."
928
+ )));
929
+ registerColor('menubar.selectionBackground', {
930
+ dark: toolbarHoverBackground,
931
+ light: toolbarHoverBackground,
932
+ hcDark: null,
933
+ hcLight: null,
934
+ }, ( localize(
935
+ 'menubarSelectionBackground',
936
+ "Background color of the selected menu item in the menubar."
937
+ )));
938
+ registerColor('menubar.selectionBorder', {
939
+ dark: null,
940
+ light: null,
941
+ hcDark: activeContrastBorder,
942
+ hcLight: activeContrastBorder,
943
+ }, ( localize(
944
+ 'menubarSelectionBorder',
945
+ "Border color of the selected menu item in the menubar."
946
+ )));
947
+ const NOTIFICATIONS_CENTER_BORDER = registerColor('notificationCenter.border', {
44
948
  dark: widgetBorder,
45
949
  light: widgetBorder,
46
950
  hcDark: contrastBorder,
@@ -48,8 +952,8 @@ const NOTIFICATIONS_CENTER_BORDER = ( registerColor('notificationCenter.border',
48
952
  }, ( localize(
49
953
  'notificationCenterBorder',
50
954
  "Notifications center border color. Notifications slide in from the bottom right of the window."
51
- ))));
52
- const NOTIFICATIONS_TOAST_BORDER = ( registerColor('notificationToast.border', {
955
+ )));
956
+ const NOTIFICATIONS_TOAST_BORDER = registerColor('notificationToast.border', {
53
957
  dark: widgetBorder,
54
958
  light: widgetBorder,
55
959
  hcDark: contrastBorder,
@@ -57,8 +961,17 @@ const NOTIFICATIONS_TOAST_BORDER = ( registerColor('notificationToast.border', {
57
961
  }, ( localize(
58
962
  'notificationToastBorder',
59
963
  "Notification toast border color. Notifications slide in from the bottom right of the window."
60
- ))));
61
- const NOTIFICATIONS_BACKGROUND = ( registerColor('notifications.background', {
964
+ )));
965
+ registerColor('notifications.foreground', {
966
+ dark: editorWidgetForeground,
967
+ light: editorWidgetForeground,
968
+ hcDark: editorWidgetForeground,
969
+ hcLight: editorWidgetForeground
970
+ }, ( localize(
971
+ 'notificationsForeground',
972
+ "Notifications foreground color. Notifications slide in from the bottom right of the window."
973
+ )));
974
+ const NOTIFICATIONS_BACKGROUND = registerColor('notifications.background', {
62
975
  dark: editorWidgetBackground,
63
976
  light: editorWidgetBackground,
64
977
  hcDark: editorWidgetBackground,
@@ -66,8 +979,17 @@ const NOTIFICATIONS_BACKGROUND = ( registerColor('notifications.background', {
66
979
  }, ( localize(
67
980
  'notificationsBackground',
68
981
  "Notifications background color. Notifications slide in from the bottom right of the window."
69
- ))));
70
- const NOTIFICATIONS_CENTER_HEADER_FOREGROUND = ( registerColor('notificationCenterHeader.foreground', {
982
+ )));
983
+ registerColor('notificationLink.foreground', {
984
+ dark: textLinkForeground,
985
+ light: textLinkForeground,
986
+ hcDark: textLinkForeground,
987
+ hcLight: textLinkForeground
988
+ }, ( localize(
989
+ 'notificationsLink',
990
+ "Notification links foreground color. Notifications slide in from the bottom right of the window."
991
+ )));
992
+ const NOTIFICATIONS_CENTER_HEADER_FOREGROUND = registerColor('notificationCenterHeader.foreground', {
71
993
  dark: null,
72
994
  light: null,
73
995
  hcDark: null,
@@ -75,8 +997,8 @@ const NOTIFICATIONS_CENTER_HEADER_FOREGROUND = ( registerColor('notificationCent
75
997
  }, ( localize(
76
998
  'notificationCenterHeaderForeground',
77
999
  "Notifications center header foreground color. Notifications slide in from the bottom right of the window."
78
- ))));
79
- const NOTIFICATIONS_CENTER_HEADER_BACKGROUND = ( registerColor('notificationCenterHeader.background', {
1000
+ )));
1001
+ const NOTIFICATIONS_CENTER_HEADER_BACKGROUND = registerColor('notificationCenterHeader.background', {
80
1002
  dark: ( lighten(NOTIFICATIONS_BACKGROUND, 0.3)),
81
1003
  light: ( darken(NOTIFICATIONS_BACKGROUND, 0.05)),
82
1004
  hcDark: NOTIFICATIONS_BACKGROUND,
@@ -84,7 +1006,61 @@ const NOTIFICATIONS_CENTER_HEADER_BACKGROUND = ( registerColor('notificationCent
84
1006
  }, ( localize(
85
1007
  'notificationCenterHeaderBackground',
86
1008
  "Notifications center header background color. Notifications slide in from the bottom right of the window."
87
- ))));
1009
+ )));
1010
+ registerColor('notifications.border', {
1011
+ dark: NOTIFICATIONS_CENTER_HEADER_BACKGROUND,
1012
+ light: NOTIFICATIONS_CENTER_HEADER_BACKGROUND,
1013
+ hcDark: NOTIFICATIONS_CENTER_HEADER_BACKGROUND,
1014
+ hcLight: NOTIFICATIONS_CENTER_HEADER_BACKGROUND
1015
+ }, ( localize(
1016
+ 'notificationsBorder',
1017
+ "Notifications border color separating from other notifications in the notifications center. Notifications slide in from the bottom right of the window."
1018
+ )));
1019
+ registerColor('notificationsErrorIcon.foreground', {
1020
+ dark: editorErrorForeground,
1021
+ light: editorErrorForeground,
1022
+ hcDark: editorErrorForeground,
1023
+ hcLight: editorErrorForeground
1024
+ }, ( localize(
1025
+ 'notificationsErrorIconForeground',
1026
+ "The color used for the icon of error notifications. Notifications slide in from the bottom right of the window."
1027
+ )));
1028
+ registerColor('notificationsWarningIcon.foreground', {
1029
+ dark: editorWarningForeground,
1030
+ light: editorWarningForeground,
1031
+ hcDark: editorWarningForeground,
1032
+ hcLight: editorWarningForeground
1033
+ }, ( localize(
1034
+ 'notificationsWarningIconForeground',
1035
+ "The color used for the icon of warning notifications. Notifications slide in from the bottom right of the window."
1036
+ )));
1037
+ registerColor('notificationsInfoIcon.foreground', {
1038
+ dark: editorInfoForeground,
1039
+ light: editorInfoForeground,
1040
+ hcDark: editorInfoForeground,
1041
+ hcLight: editorInfoForeground
1042
+ }, ( localize(
1043
+ 'notificationsInfoIconForeground',
1044
+ "The color used for the icon of info notifications. Notifications slide in from the bottom right of the window."
1045
+ )));
1046
+ registerColor('window.activeBorder', {
1047
+ dark: null,
1048
+ light: null,
1049
+ hcDark: contrastBorder,
1050
+ hcLight: contrastBorder
1051
+ }, ( localize(
1052
+ 'windowActiveBorder',
1053
+ "The color used for the border of the window when it is active. Only supported in the macOS and Linux desktop client when using the custom title bar."
1054
+ )));
1055
+ registerColor('window.inactiveBorder', {
1056
+ dark: null,
1057
+ light: null,
1058
+ hcDark: contrastBorder,
1059
+ hcLight: contrastBorder
1060
+ }, ( localize(
1061
+ 'windowInactiveBorder',
1062
+ "The color used for the border of the window when it is inactive. Only supported in the macOS and Linux desktop client when using the custom title bar."
1063
+ )));
88
1064
  const NotificationFocusedContext = ( new RawContextKey('notificationFocus', true, ( localize('notificationFocus', "Whether a notification has keyboard focus"))));
89
1065
  const NotificationsCenterVisibleContext = ( new RawContextKey('notificationCenterVisible', false, ( localize('notificationCenterVisible', "Whether the notifications center is visible"))));
90
1066
  const NotificationsToastsVisibleContext = ( new RawContextKey('notificationToastsVisible', false, ( localize('notificationToastsVisible', "Whether a notification toast is visible"))));