@codingame/monaco-vscode-api 1.67.12 → 1.67.15

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/dist/messages.js CHANGED
@@ -1,8 +1,7 @@
1
- import { E as Emitter, N as NotificationsFilter, a as assertAllDefined, I as ILifecycleService, b as NeverShowAgainScope, u as unsupported } from './missing-services-71e80bea.js';
2
- import { b as __decorate, d as __param, f as IFileService, w as refineServiceDecorator, n as IEditorGroupsService, s as IHostService, p as IProductService } from './services-fb7952fb.js';
3
- import { editorWidgetBackground, editorWidgetForeground, widgetShadow, contrastBorder, buttonForeground, buttonBackground, buttonSecondaryBackground, buttonSecondaryForeground, buttonSecondaryHoverBackground, buttonHoverBackground, buttonBorder, simpleCheckboxBorder, simpleCheckboxBackground, simpleCheckboxForeground, problemsErrorIconForeground, problemsWarningIconForeground, problemsInfoIconForeground, inputBackground, inputForeground, inputBorder, textLinkForeground, progressBarBackground, resolveColorValue, registerColor, editorBackground, transparent, treeIndentGuidesStroke, focusBorder, listActiveSelectionBackground, darken, listActiveSelectionForeground, editorInfoForeground, errorForeground, editorWarningForeground, activeContrastBorder, lighten, editorErrorForeground } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
1
+ import { y as NotificationsFilter, b as __decorate, d as __param, h as IFileService, z as refineServiceDecorator, p as IEditorGroupsService, u as IHostService, B as NeverShowAgainScope, s as IProductService } from './services-7a462d46.js';
2
+ import { E as Emitter, I as ILifecycleService, u as unsupported } from './missing-services-8687ea11.js';
3
+ import { editorWidgetBackground, editorWidgetForeground, widgetShadow, contrastBorder, buttonForeground, buttonBackground, buttonSecondaryBackground, buttonSecondaryForeground, buttonSecondaryHoverBackground, buttonHoverBackground, buttonBorder, simpleCheckboxBorder, simpleCheckboxBackground, simpleCheckboxForeground, problemsErrorIconForeground, problemsWarningIconForeground, problemsInfoIconForeground, inputBackground, inputForeground, inputBorder, textLinkForeground, progressBarBackground, resolveColorValue, registerColor, editorErrorForeground, editorWarningForeground, editorInfoForeground, focusBorder } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
4
4
  import { localize } from 'monaco-editor/esm/vs/nls.js';
5
- import { Color } from 'monaco-editor/esm/vs/base/common/color.js';
6
5
  import { Disposable, toDisposable, DisposableStore, dispose } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
7
6
  import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
8
7
  import { NoOpNotification, Severity, INotificationService } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
@@ -29,6 +28,7 @@ import { mixin } from 'monaco-editor/esm/vs/base/common/objects.js';
29
28
  import { Gesture, EventType as EventType$1 } from 'monaco-editor/esm/vs/base/browser/touch.js';
30
29
  import { renderLabelWithIcons } from 'monaco-editor/esm/vs/base/browser/ui/iconLabel/iconLabels.js';
31
30
  import { StandardKeyboardEvent } from 'monaco-editor/esm/vs/base/browser/keyboardEvent.js';
31
+ import { Color } from 'monaco-editor/esm/vs/base/common/color.js';
32
32
  import { DomEmitter } from 'monaco-editor/esm/vs/base/browser/event.js';
33
33
  import { ActionBar } from 'monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.js';
34
34
  import { ProgressBar } from 'monaco-editor/esm/vs/base/browser/ui/progressbar/progressbar.js';
@@ -38,9 +38,10 @@ import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
38
38
  import { IOpenerService } from 'monaco-editor/esm/vs/platform/opener/common/opener.js';
39
39
  import { IKeybindingService } from 'monaco-editor/esm/vs/platform/keybinding/common/keybinding.js';
40
40
  import { DropdownMenuActionViewItem } from 'monaco-editor/esm/vs/base/browser/ui/dropdown/dropdownActionViewItem.js';
41
+ import { a as assertAllDefined } from './types-371cc315.js';
41
42
  import { assertIsDefined } from 'monaco-editor/esm/vs/base/common/types.js';
42
43
  import { ILayoutService } from 'monaco-editor/esm/vs/platform/layout/browser/layoutService.js';
43
- import { I as IntervalCounter } from './async-9ffe4d42.js';
44
+ import { I as IntervalCounter } from './async-f842d13c.js';
44
45
  import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
45
46
  import { Widget } from 'monaco-editor/esm/vs/base/browser/ui/widget.js';
46
47
  import { isMacintosh, isWindows, isLinux } from 'monaco-editor/esm/vs/base/common/platform.js';
@@ -50,35 +51,38 @@ import Severity$1 from 'monaco-editor/esm/vs/base/common/severity.js';
50
51
  import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
51
52
  import { IDialogService } from 'monaco-editor/esm/vs/platform/dialogs/common/dialogs.js';
52
53
  import { DeferredPromise } from 'monaco-editor/esm/vs/base/common/async.js';
54
+ import { ICodeEditorService } from 'monaco-editor/esm/vs/editor/browser/services/codeEditorService.js';
53
55
  import { SyncDescriptor } from 'monaco-editor/esm/vs/platform/instantiation/common/descriptors.js';
54
56
  import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
55
- import 'monaco-editor/esm/vs/base/common/buffer.js';
56
- import 'monaco-editor/esm/vs/editor/common/services/languageService.js';
57
- import 'monaco-editor/esm/vs/editor/common/services/languagesRegistry.js';
58
- import 'monaco-editor/esm/vs/editor/common/languages/modesRegistry.js';
59
- import 'monaco-editor/esm/vs/editor/common/languages.js';
60
- import 'monaco-editor/esm/vs/base/parts/quickinput/browser/quickInput.js';
61
- import 'monaco-editor/esm/vs/platform/instantiation/common/extensions.js';
62
- import 'monaco-editor/esm/vs/platform/label/common/label.js';
63
- import 'monaco-editor/esm/vs/editor/editor.api.js';
64
- import 'monaco-editor/esm/vs/base/common/network.js';
65
- import 'monaco-editor/esm/vs/editor/common/languageFeatureRegistry.js';
66
- import 'monaco-editor/esm/vs/base/common/strings.js';
67
57
  import 'monaco-editor/esm/vs/platform/environment/common/environment.js';
58
+ import 'monaco-editor/esm/vs/base/common/network.js';
68
59
  import 'monaco-editor/esm/vs/platform/workspace/common/workspace.js';
69
60
  import 'monaco-editor/esm/vs/base/common/path.js';
70
61
  import 'monaco-editor/esm/vs/base/common/linkedList.js';
71
62
  import 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
63
+ import 'monaco-editor/esm/vs/editor/editor.api.js';
64
+ import 'monaco-editor/esm/vs/base/common/map.js';
72
65
  import 'monaco-editor/esm/vs/base/common/stopwatch.js';
73
66
  import 'monaco-editor/esm/vs/base/common/cancellation.js';
74
67
  import 'monaco-editor/esm/vs/editor/browser/services/bulkEditService.js';
75
- import 'monaco-editor/esm/vs/editor/browser/services/codeEditorService.js';
76
68
  import 'monaco-editor/esm/vs/editor/common/languages/languageConfigurationRegistry.js';
77
69
  import 'monaco-editor/esm/vs/editor/common/services/editorWorker.js';
78
70
  import 'monaco-editor/esm/vs/editor/common/services/languageFeatures.js';
79
71
  import 'monaco-editor/esm/vs/editor/common/services/resolverService.js';
80
72
  import 'monaco-editor/esm/vs/platform/markers/common/markers.js';
81
73
  import 'monaco-editor/esm/vs/platform/quickinput/common/quickInput.js';
74
+ import 'monaco-editor/esm/vs/base/common/buffer.js';
75
+ import 'monaco-editor/esm/vs/editor/common/services/languageService.js';
76
+ import 'monaco-editor/esm/vs/editor/common/services/languagesRegistry.js';
77
+ import 'monaco-editor/esm/vs/editor/common/languages/modesRegistry.js';
78
+ import 'monaco-editor/esm/vs/editor/common/languages.js';
79
+ import 'monaco-editor/esm/vs/platform/registry/common/platform.js';
80
+ import 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
81
+ import 'monaco-editor/esm/vs/base/parts/quickinput/browser/quickInput.js';
82
+ import 'monaco-editor/esm/vs/platform/instantiation/common/extensions.js';
83
+ import 'monaco-editor/esm/vs/platform/label/common/label.js';
84
+ import 'monaco-editor/esm/vs/editor/common/languageFeatureRegistry.js';
85
+ import 'monaco-editor/esm/vs/base/common/strings.js';
82
86
  function isErrorWithActions(obj) {
83
87
  const candidate = obj;
84
88
  return candidate instanceof Error && Array.isArray(candidate.actions);
@@ -153,793 +157,7 @@ const defaultDialogStyles = {
153
157
  function attachDialogStyler(widget, themeService, style) {
154
158
  return attachStyler(themeService, { ...defaultDialogStyles, ...style }, widget);
155
159
  }
156
- const TAB_ACTIVE_BACKGROUND = registerColor('tab.activeBackground', {
157
- dark: editorBackground,
158
- light: editorBackground,
159
- hc: editorBackground
160
- }, localize(
161
- 'tabActiveBackground',
162
- "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."
163
- ));
164
- registerColor('tab.unfocusedActiveBackground', {
165
- dark: TAB_ACTIVE_BACKGROUND,
166
- light: TAB_ACTIVE_BACKGROUND,
167
- hc: TAB_ACTIVE_BACKGROUND
168
- }, localize(
169
- 'tabUnfocusedActiveBackground',
170
- "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."
171
- ));
172
- const TAB_INACTIVE_BACKGROUND = registerColor('tab.inactiveBackground', {
173
- dark: '#2D2D2D',
174
- light: '#ECECEC',
175
- hc: null
176
- }, localize(
177
- 'tabInactiveBackground',
178
- "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."
179
- ));
180
- registerColor('tab.unfocusedInactiveBackground', {
181
- dark: TAB_INACTIVE_BACKGROUND,
182
- light: TAB_INACTIVE_BACKGROUND,
183
- hc: TAB_INACTIVE_BACKGROUND
184
- }, localize(
185
- 'tabUnfocusedInactiveBackground',
186
- "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."
187
- ));
188
- const TAB_ACTIVE_FOREGROUND = registerColor('tab.activeForeground', {
189
- dark: Color.white,
190
- light: '#333333',
191
- hc: Color.white
192
- }, localize(
193
- 'tabActiveForeground',
194
- "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."
195
- ));
196
- const TAB_INACTIVE_FOREGROUND = registerColor('tab.inactiveForeground', {
197
- dark: transparent(TAB_ACTIVE_FOREGROUND, 0.5),
198
- light: transparent(TAB_ACTIVE_FOREGROUND, 0.7),
199
- hc: Color.white
200
- }, localize(
201
- 'tabInactiveForeground',
202
- "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."
203
- ));
204
- registerColor('tab.unfocusedActiveForeground', {
205
- dark: transparent(TAB_ACTIVE_FOREGROUND, 0.5),
206
- light: transparent(TAB_ACTIVE_FOREGROUND, 0.7),
207
- hc: Color.white
208
- }, localize(
209
- 'tabUnfocusedActiveForeground',
210
- "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."
211
- ));
212
- registerColor('tab.unfocusedInactiveForeground', {
213
- dark: transparent(TAB_INACTIVE_FOREGROUND, 0.5),
214
- light: transparent(TAB_INACTIVE_FOREGROUND, 0.5),
215
- hc: Color.white
216
- }, localize(
217
- 'tabUnfocusedInactiveForeground',
218
- "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."
219
- ));
220
- const TAB_HOVER_BACKGROUND = registerColor('tab.hoverBackground', {
221
- dark: null,
222
- light: null,
223
- hc: null
224
- }, localize(
225
- 'tabHoverBackground',
226
- "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."
227
- ));
228
- registerColor('tab.unfocusedHoverBackground', {
229
- dark: transparent(TAB_HOVER_BACKGROUND, 0.5),
230
- light: transparent(TAB_HOVER_BACKGROUND, 0.7),
231
- hc: null
232
- }, localize(
233
- 'tabUnfocusedHoverBackground',
234
- "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."
235
- ));
236
- const TAB_HOVER_FOREGROUND = registerColor('tab.hoverForeground', {
237
- dark: null,
238
- light: null,
239
- hc: null
240
- }, localize(
241
- 'tabHoverForeground',
242
- "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."
243
- ));
244
- registerColor('tab.unfocusedHoverForeground', {
245
- dark: transparent(TAB_HOVER_FOREGROUND, 0.5),
246
- light: transparent(TAB_HOVER_FOREGROUND, 0.5),
247
- hc: null
248
- }, localize(
249
- 'tabUnfocusedHoverForeground',
250
- "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."
251
- ));
252
- registerColor('tab.border', {
253
- dark: '#252526',
254
- light: '#F3F3F3',
255
- hc: contrastBorder
256
- }, localize(
257
- 'tabBorder',
258
- "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."
259
- ));
260
- registerColor('tab.lastPinnedBorder', {
261
- dark: treeIndentGuidesStroke,
262
- light: treeIndentGuidesStroke,
263
- hc: contrastBorder
264
- }, localize(
265
- 'lastPinnedTabBorder',
266
- "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."
267
- ));
268
- const TAB_ACTIVE_BORDER = registerColor('tab.activeBorder', {
269
- dark: null,
270
- light: null,
271
- hc: null
272
- }, localize(
273
- 'tabActiveBorder',
274
- "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."
275
- ));
276
- registerColor('tab.unfocusedActiveBorder', {
277
- dark: transparent(TAB_ACTIVE_BORDER, 0.5),
278
- light: transparent(TAB_ACTIVE_BORDER, 0.7),
279
- hc: null
280
- }, localize(
281
- 'tabActiveUnfocusedBorder',
282
- "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."
283
- ));
284
- const TAB_ACTIVE_BORDER_TOP = registerColor('tab.activeBorderTop', {
285
- dark: null,
286
- light: null,
287
- hc: null
288
- }, localize(
289
- 'tabActiveBorderTop',
290
- "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."
291
- ));
292
- registerColor('tab.unfocusedActiveBorderTop', {
293
- dark: transparent(TAB_ACTIVE_BORDER_TOP, 0.5),
294
- light: transparent(TAB_ACTIVE_BORDER_TOP, 0.7),
295
- hc: null
296
- }, localize(
297
- 'tabActiveUnfocusedBorderTop',
298
- "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."
299
- ));
300
- const TAB_HOVER_BORDER = registerColor('tab.hoverBorder', {
301
- dark: null,
302
- light: null,
303
- hc: null
304
- }, localize(
305
- 'tabHoverBorder',
306
- "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."
307
- ));
308
- registerColor('tab.unfocusedHoverBorder', {
309
- dark: transparent(TAB_HOVER_BORDER, 0.5),
310
- light: transparent(TAB_HOVER_BORDER, 0.7),
311
- hc: null
312
- }, localize(
313
- 'tabUnfocusedHoverBorder',
314
- "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."
315
- ));
316
- const TAB_ACTIVE_MODIFIED_BORDER = registerColor('tab.activeModifiedBorder', {
317
- dark: '#3399CC',
318
- light: '#33AAEE',
319
- hc: null
320
- }, localize(
321
- 'tabActiveModifiedBorder',
322
- "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."
323
- ));
324
- const TAB_INACTIVE_MODIFIED_BORDER = registerColor('tab.inactiveModifiedBorder', {
325
- dark: transparent(TAB_ACTIVE_MODIFIED_BORDER, 0.5),
326
- light: transparent(TAB_ACTIVE_MODIFIED_BORDER, 0.5),
327
- hc: Color.white
328
- }, localize(
329
- 'tabInactiveModifiedBorder',
330
- "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."
331
- ));
332
- registerColor('tab.unfocusedActiveModifiedBorder', {
333
- dark: transparent(TAB_ACTIVE_MODIFIED_BORDER, 0.5),
334
- light: transparent(TAB_ACTIVE_MODIFIED_BORDER, 0.7),
335
- hc: Color.white
336
- }, localize(
337
- 'unfocusedActiveModifiedBorder',
338
- "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."
339
- ));
340
- registerColor('tab.unfocusedInactiveModifiedBorder', {
341
- dark: transparent(TAB_INACTIVE_MODIFIED_BORDER, 0.5),
342
- light: transparent(TAB_INACTIVE_MODIFIED_BORDER, 0.5),
343
- hc: Color.white
344
- }, localize(
345
- 'unfocusedINactiveModifiedBorder',
346
- "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."
347
- ));
348
- registerColor('editorPane.background', {
349
- dark: editorBackground,
350
- light: editorBackground,
351
- hc: editorBackground
352
- }, localize(
353
- 'editorPaneBackground',
354
- "Background color of the editor pane visible on the left and right side of the centered editor layout."
355
- ));
356
- registerColor('editorGroup.emptyBackground', {
357
- dark: null,
358
- light: null,
359
- hc: null
360
- }, localize(
361
- 'editorGroupEmptyBackground',
362
- "Background color of an empty editor group. Editor groups are the containers of editors."
363
- ));
364
- registerColor('editorGroup.focusedEmptyBorder', {
365
- dark: null,
366
- light: null,
367
- hc: focusBorder
368
- }, localize(
369
- 'editorGroupFocusedEmptyBorder',
370
- "Border color of an empty editor group that is focused. Editor groups are the containers of editors."
371
- ));
372
- registerColor('editorGroupHeader.tabsBackground', {
373
- dark: '#252526',
374
- light: '#F3F3F3',
375
- hc: null
376
- }, localize(
377
- 'tabsContainerBackground',
378
- "Background color of the editor group title header when tabs are enabled. Editor groups are the containers of editors."
379
- ));
380
- registerColor('editorGroupHeader.tabsBorder', {
381
- dark: null,
382
- light: null,
383
- hc: null
384
- }, localize(
385
- 'tabsContainerBorder',
386
- "Border color of the editor group title header when tabs are enabled. Editor groups are the containers of editors."
387
- ));
388
- registerColor('editorGroupHeader.noTabsBackground', {
389
- dark: editorBackground,
390
- light: editorBackground,
391
- hc: editorBackground
392
- }, localize(
393
- 'editorGroupHeaderBackground',
394
- "Background color of the editor group title header when tabs are disabled (`\"workbench.editor.showTabs\": false`). Editor groups are the containers of editors."
395
- ));
396
- registerColor('editorGroupHeader.border', {
397
- dark: null,
398
- light: null,
399
- hc: contrastBorder
400
- }, localize(
401
- 'editorTitleContainerBorder',
402
- "Border color of the editor group title header. Editor groups are the containers of editors."
403
- ));
404
- const EDITOR_GROUP_BORDER = registerColor('editorGroup.border', {
405
- dark: '#444444',
406
- light: '#E7E7E7',
407
- hc: contrastBorder
408
- }, localize(
409
- 'editorGroupBorder',
410
- "Color to separate multiple editor groups from each other. Editor groups are the containers of editors."
411
- ));
412
- const EDITOR_DRAG_AND_DROP_BACKGROUND = registerColor('editorGroup.dropBackground', {
413
- dark: Color.fromHex('#53595D').transparent(0.5),
414
- light: Color.fromHex('#2677CB').transparent(0.18),
415
- hc: null
416
- }, localize(
417
- 'editorDragAndDropBackground',
418
- "Background color when dragging editors around. The color should have transparency so that the editor contents can still shine through."
419
- ));
420
- registerColor('sideBySideEditor.horizontalBorder', {
421
- dark: EDITOR_GROUP_BORDER,
422
- light: EDITOR_GROUP_BORDER,
423
- hc: EDITOR_GROUP_BORDER
424
- }, localize(
425
- 'sideBySideEditor.horizontalBorder',
426
- "Color to separate two editors from each other when shown side by side in an editor group from top to bottom."
427
- ));
428
- registerColor('sideBySideEditor.verticalBorder', {
429
- dark: EDITOR_GROUP_BORDER,
430
- light: EDITOR_GROUP_BORDER,
431
- hc: EDITOR_GROUP_BORDER
432
- }, localize(
433
- 'sideBySideEditor.verticalBorder',
434
- "Color to separate two editors from each other when shown side by side in an editor group from left to right."
435
- ));
436
- registerColor('panel.background', {
437
- dark: editorBackground,
438
- light: editorBackground,
439
- hc: editorBackground
440
- }, localize(
441
- 'panelBackground',
442
- "Panel background color. Panels are shown below the editor area and contain views like output and integrated terminal."
443
- ));
444
- const PANEL_BORDER = registerColor('panel.border', {
445
- dark: Color.fromHex('#808080').transparent(0.35),
446
- light: Color.fromHex('#808080').transparent(0.35),
447
- hc: contrastBorder
448
- }, localize(
449
- 'panelBorder',
450
- "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."
451
- ));
452
- const PANEL_ACTIVE_TITLE_FOREGROUND = registerColor('panelTitle.activeForeground', {
453
- dark: '#E7E7E7',
454
- light: '#424242',
455
- hc: Color.white
456
- }, localize(
457
- 'panelActiveTitleForeground',
458
- "Title color for the active panel. Panels are shown below the editor area and contain views like output and integrated terminal."
459
- ));
460
- registerColor('panelTitle.inactiveForeground', {
461
- dark: transparent(PANEL_ACTIVE_TITLE_FOREGROUND, 0.6),
462
- light: transparent(PANEL_ACTIVE_TITLE_FOREGROUND, 0.75),
463
- hc: Color.white
464
- }, localize(
465
- 'panelInactiveTitleForeground',
466
- "Title color for the inactive panel. Panels are shown below the editor area and contain views like output and integrated terminal."
467
- ));
468
- registerColor('panelTitle.activeBorder', {
469
- dark: PANEL_ACTIVE_TITLE_FOREGROUND,
470
- light: PANEL_ACTIVE_TITLE_FOREGROUND,
471
- hc: contrastBorder
472
- }, localize(
473
- 'panelActiveTitleBorder',
474
- "Border color for the active panel title. Panels are shown below the editor area and contain views like output and integrated terminal."
475
- ));
476
- registerColor('panelInput.border', {
477
- dark: null,
478
- light: Color.fromHex('#ddd'),
479
- hc: null
480
- }, localize('panelInputBorder', "Input box border for inputs in the panel."));
481
- registerColor('panel.dropBorder', {
482
- dark: PANEL_ACTIVE_TITLE_FOREGROUND,
483
- light: PANEL_ACTIVE_TITLE_FOREGROUND,
484
- hc: PANEL_ACTIVE_TITLE_FOREGROUND,
485
- }, localize(
486
- 'panelDragAndDropBorder',
487
- "Drag and drop feedback color for the panel titles. Panels are shown below the editor area and contain views like output and integrated terminal."
488
- ));
489
- registerColor('panelSection.dropBackground', {
490
- dark: EDITOR_DRAG_AND_DROP_BACKGROUND,
491
- light: EDITOR_DRAG_AND_DROP_BACKGROUND,
492
- hc: EDITOR_DRAG_AND_DROP_BACKGROUND,
493
- }, localize(
494
- 'panelSectionDragAndDropBackground',
495
- "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."
496
- ));
497
- registerColor('panelSectionHeader.background', {
498
- dark: Color.fromHex('#808080').transparent(0.2),
499
- light: Color.fromHex('#808080').transparent(0.2),
500
- hc: null
501
- }, localize(
502
- 'panelSectionHeaderBackground',
503
- "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."
504
- ));
505
- registerColor('panelSectionHeader.foreground', {
506
- dark: null,
507
- light: null,
508
- hc: null
509
- }, localize(
510
- 'panelSectionHeaderForeground',
511
- "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."
512
- ));
513
- registerColor('panelSectionHeader.border', {
514
- dark: contrastBorder,
515
- light: contrastBorder,
516
- hc: contrastBorder
517
- }, localize(
518
- 'panelSectionHeaderBorder',
519
- "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."
520
- ));
521
- registerColor('panelSection.border', {
522
- dark: PANEL_BORDER,
523
- light: PANEL_BORDER,
524
- hc: PANEL_BORDER
525
- }, localize(
526
- 'panelSectionBorder',
527
- "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."
528
- ));
529
- registerColor('banner.background', {
530
- dark: listActiveSelectionBackground,
531
- light: darken(listActiveSelectionBackground, 0.3),
532
- hc: listActiveSelectionBackground
533
- }, localize(
534
- 'banner.background',
535
- "Banner background color. The banner is shown under the title bar of the window."
536
- ));
537
- registerColor('banner.foreground', {
538
- dark: listActiveSelectionForeground,
539
- light: listActiveSelectionForeground,
540
- hc: listActiveSelectionForeground
541
- }, localize(
542
- 'banner.foreground',
543
- "Banner foreground color. The banner is shown under the title bar of the window."
544
- ));
545
- registerColor('banner.iconForeground', {
546
- dark: editorInfoForeground,
547
- light: editorInfoForeground,
548
- hc: editorInfoForeground
549
- }, localize(
550
- 'banner.iconForeground',
551
- "Banner icon color. The banner is shown under the title bar of the window."
552
- ));
553
- const STATUS_BAR_FOREGROUND = registerColor('statusBar.foreground', {
554
- dark: '#FFFFFF',
555
- light: '#FFFFFF',
556
- hc: '#FFFFFF'
557
- }, localize(
558
- 'statusBarForeground',
559
- "Status bar foreground color when a workspace or folder is opened. The status bar is shown in the bottom of the window."
560
- ));
561
- registerColor('statusBar.noFolderForeground', {
562
- dark: STATUS_BAR_FOREGROUND,
563
- light: STATUS_BAR_FOREGROUND,
564
- hc: STATUS_BAR_FOREGROUND
565
- }, localize(
566
- 'statusBarNoFolderForeground',
567
- "Status bar foreground color when no folder is opened. The status bar is shown in the bottom of the window."
568
- ));
569
- registerColor('statusBar.background', {
570
- dark: '#007ACC',
571
- light: '#007ACC',
572
- hc: null
573
- }, localize(
574
- 'statusBarBackground',
575
- "Status bar background color when a workspace or folder is opened. The status bar is shown in the bottom of the window."
576
- ));
577
- registerColor('statusBar.noFolderBackground', {
578
- dark: '#68217A',
579
- light: '#68217A',
580
- hc: null
581
- }, localize(
582
- 'statusBarNoFolderBackground',
583
- "Status bar background color when no folder is opened. The status bar is shown in the bottom of the window."
584
- ));
585
- const STATUS_BAR_BORDER = registerColor('statusBar.border', {
586
- dark: null,
587
- light: null,
588
- hc: contrastBorder
589
- }, localize(
590
- 'statusBarBorder',
591
- "Status bar border color separating to the sidebar and editor. The status bar is shown in the bottom of the window."
592
- ));
593
- registerColor('statusBar.focusBorder', {
594
- dark: STATUS_BAR_FOREGROUND,
595
- light: STATUS_BAR_FOREGROUND,
596
- hc: null,
597
- }, localize(
598
- 'statusBarFocusBorder',
599
- "Status bar border color when focused on keyboard navigation. The status bar is shown in the bottom of the window."
600
- ));
601
- registerColor('statusBar.noFolderBorder', {
602
- dark: STATUS_BAR_BORDER,
603
- light: STATUS_BAR_BORDER,
604
- hc: STATUS_BAR_BORDER
605
- }, localize(
606
- 'statusBarNoFolderBorder',
607
- "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."
608
- ));
609
- registerColor('statusBarItem.activeBackground', {
610
- dark: Color.white.transparent(0.18),
611
- light: Color.white.transparent(0.18),
612
- hc: Color.white.transparent(0.18)
613
- }, localize(
614
- 'statusBarItemActiveBackground',
615
- "Status bar item background color when clicking. The status bar is shown in the bottom of the window."
616
- ));
617
- registerColor('statusBarItem.focusBorder', {
618
- dark: STATUS_BAR_FOREGROUND,
619
- light: STATUS_BAR_FOREGROUND,
620
- hc: null,
621
- }, localize(
622
- 'statusBarItemFocusBorder',
623
- "Status bar item border color when focused on keyboard navigation. The status bar is shown in the bottom of the window."
624
- ));
625
- registerColor('statusBarItem.hoverBackground', {
626
- dark: Color.white.transparent(0.12),
627
- light: Color.white.transparent(0.12),
628
- hc: Color.white.transparent(0.12)
629
- }, localize(
630
- 'statusBarItemHoverBackground',
631
- "Status bar item background color when hovering. The status bar is shown in the bottom of the window."
632
- ));
633
- registerColor('statusBarItem.compactHoverBackground', {
634
- dark: Color.white.transparent(0.20),
635
- light: Color.white.transparent(0.20),
636
- hc: Color.white.transparent(0.20)
637
- }, localize(
638
- 'statusBarItemCompactHoverBackground',
639
- "Status bar item background color when hovering an item that contains two hovers. The status bar is shown in the bottom of the window."
640
- ));
641
- registerColor('statusBarItem.prominentForeground', {
642
- dark: STATUS_BAR_FOREGROUND,
643
- light: STATUS_BAR_FOREGROUND,
644
- hc: STATUS_BAR_FOREGROUND
645
- }, localize(
646
- 'statusBarProminentItemForeground',
647
- "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."
648
- ));
649
- registerColor('statusBarItem.prominentBackground', {
650
- dark: Color.black.transparent(0.5),
651
- light: Color.black.transparent(0.5),
652
- hc: Color.black.transparent(0.5),
653
- }, localize(
654
- 'statusBarProminentItemBackground',
655
- "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."
656
- ));
657
- registerColor('statusBarItem.prominentHoverBackground', {
658
- dark: Color.black.transparent(0.3),
659
- light: Color.black.transparent(0.3),
660
- hc: Color.black.transparent(0.3),
661
- }, localize(
662
- 'statusBarProminentItemHoverBackground',
663
- "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."
664
- ));
665
- registerColor('statusBarItem.errorBackground', {
666
- dark: darken(errorForeground, .4),
667
- light: darken(errorForeground, .4),
668
- hc: null,
669
- }, localize(
670
- 'statusBarErrorItemBackground',
671
- "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."
672
- ));
673
- registerColor('statusBarItem.errorForeground', {
674
- dark: Color.white,
675
- light: Color.white,
676
- hc: Color.white,
677
- }, localize(
678
- 'statusBarErrorItemForeground',
679
- "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."
680
- ));
681
- registerColor('statusBarItem.warningBackground', {
682
- dark: darken(editorWarningForeground, .4),
683
- light: darken(editorWarningForeground, .4),
684
- hc: null,
685
- }, localize(
686
- 'statusBarWarningItemBackground',
687
- "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."
688
- ));
689
- registerColor('statusBarItem.warningForeground', {
690
- dark: Color.white,
691
- light: Color.white,
692
- hc: Color.white,
693
- }, localize(
694
- 'statusBarWarningItemForeground',
695
- "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."
696
- ));
697
- registerColor('activityBar.background', {
698
- dark: '#333333',
699
- light: '#2C2C2C',
700
- hc: '#000000'
701
- }, localize(
702
- 'activityBarBackground',
703
- "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."
704
- ));
705
- const ACTIVITY_BAR_FOREGROUND = registerColor('activityBar.foreground', {
706
- dark: Color.white,
707
- light: Color.white,
708
- hc: Color.white
709
- }, localize(
710
- 'activityBarForeground',
711
- "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."
712
- ));
713
- registerColor('activityBar.inactiveForeground', {
714
- dark: transparent(ACTIVITY_BAR_FOREGROUND, 0.4),
715
- light: transparent(ACTIVITY_BAR_FOREGROUND, 0.4),
716
- hc: Color.white
717
- }, localize(
718
- 'activityBarInActiveForeground',
719
- "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."
720
- ));
721
- registerColor('activityBar.border', {
722
- dark: null,
723
- light: null,
724
- hc: contrastBorder
725
- }, localize(
726
- 'activityBarBorder',
727
- "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."
728
- ));
729
- registerColor('activityBar.activeBorder', {
730
- dark: ACTIVITY_BAR_FOREGROUND,
731
- light: ACTIVITY_BAR_FOREGROUND,
732
- hc: null
733
- }, localize(
734
- 'activityBarActiveBorder',
735
- "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."
736
- ));
737
- registerColor('activityBar.activeFocusBorder', {
738
- dark: null,
739
- light: null,
740
- hc: null
741
- }, localize(
742
- 'activityBarActiveFocusBorder',
743
- "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."
744
- ));
745
- registerColor('activityBar.activeBackground', {
746
- dark: null,
747
- light: null,
748
- hc: null
749
- }, localize(
750
- 'activityBarActiveBackground',
751
- "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."
752
- ));
753
- registerColor('activityBar.dropBorder', {
754
- dark: ACTIVITY_BAR_FOREGROUND,
755
- light: ACTIVITY_BAR_FOREGROUND,
756
- hc: ACTIVITY_BAR_FOREGROUND,
757
- }, localize(
758
- 'activityBarDragAndDropBorder',
759
- "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."
760
- ));
761
- const ACTIVITY_BAR_BADGE_BACKGROUND = registerColor('activityBarBadge.background', {
762
- dark: '#007ACC',
763
- light: '#007ACC',
764
- hc: '#000000'
765
- }, localize(
766
- 'activityBarBadgeBackground',
767
- "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."
768
- ));
769
- const ACTIVITY_BAR_BADGE_FOREGROUND = registerColor('activityBarBadge.foreground', {
770
- dark: Color.white,
771
- light: Color.white,
772
- hc: Color.white
773
- }, localize(
774
- 'activityBarBadgeForeground',
775
- "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."
776
- ));
777
- registerColor('statusBarItem.remoteBackground', {
778
- dark: ACTIVITY_BAR_BADGE_BACKGROUND,
779
- light: ACTIVITY_BAR_BADGE_BACKGROUND,
780
- hc: ACTIVITY_BAR_BADGE_BACKGROUND
781
- }, localize(
782
- 'statusBarItemHostBackground',
783
- "Background color for the remote indicator on the status bar."
784
- ));
785
- registerColor('statusBarItem.remoteForeground', {
786
- dark: ACTIVITY_BAR_BADGE_FOREGROUND,
787
- light: ACTIVITY_BAR_BADGE_FOREGROUND,
788
- hc: ACTIVITY_BAR_BADGE_FOREGROUND
789
- }, localize(
790
- 'statusBarItemHostForeground',
791
- "Foreground color for the remote indicator on the status bar."
792
- ));
793
- registerColor('extensionBadge.remoteBackground', {
794
- dark: ACTIVITY_BAR_BADGE_BACKGROUND,
795
- light: ACTIVITY_BAR_BADGE_BACKGROUND,
796
- hc: ACTIVITY_BAR_BADGE_BACKGROUND
797
- }, localize(
798
- 'extensionBadge.remoteBackground',
799
- "Background color for the remote badge in the extensions view."
800
- ));
801
- registerColor('extensionBadge.remoteForeground', {
802
- dark: ACTIVITY_BAR_BADGE_FOREGROUND,
803
- light: ACTIVITY_BAR_BADGE_FOREGROUND,
804
- hc: ACTIVITY_BAR_BADGE_FOREGROUND
805
- }, localize(
806
- 'extensionBadge.remoteForeground',
807
- "Foreground color for the remote badge in the extensions view."
808
- ));
809
- registerColor('sideBar.background', {
810
- dark: '#252526',
811
- light: '#F3F3F3',
812
- hc: '#000000'
813
- }, localize(
814
- 'sideBarBackground',
815
- "Side bar background color. The side bar is the container for views like explorer and search."
816
- ));
817
- const SIDE_BAR_FOREGROUND = registerColor('sideBar.foreground', {
818
- dark: null,
819
- light: null,
820
- hc: null
821
- }, localize(
822
- 'sideBarForeground',
823
- "Side bar foreground color. The side bar is the container for views like explorer and search."
824
- ));
825
- registerColor('sideBar.border', {
826
- dark: null,
827
- light: null,
828
- hc: 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
- hc: SIDE_BAR_FOREGROUND
837
- }, localize(
838
- 'sideBarTitleForeground',
839
- "Side bar title foreground color. The side bar is the container for views like explorer and search."
840
- ));
841
- registerColor('sideBar.dropBackground', {
842
- dark: EDITOR_DRAG_AND_DROP_BACKGROUND,
843
- light: EDITOR_DRAG_AND_DROP_BACKGROUND,
844
- hc: EDITOR_DRAG_AND_DROP_BACKGROUND,
845
- }, localize(
846
- 'sideBarDragAndDropBackground',
847
- "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."
848
- ));
849
- registerColor('sideBarSectionHeader.background', {
850
- dark: Color.fromHex('#808080').transparent(0.2),
851
- light: Color.fromHex('#808080').transparent(0.2),
852
- hc: null
853
- }, localize(
854
- 'sideBarSectionHeaderBackground',
855
- "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."
856
- ));
857
- registerColor('sideBarSectionHeader.foreground', {
858
- dark: SIDE_BAR_FOREGROUND,
859
- light: SIDE_BAR_FOREGROUND,
860
- hc: SIDE_BAR_FOREGROUND
861
- }, localize(
862
- 'sideBarSectionHeaderForeground',
863
- "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."
864
- ));
865
- registerColor('sideBarSectionHeader.border', {
866
- dark: contrastBorder,
867
- light: contrastBorder,
868
- hc: contrastBorder
869
- }, localize(
870
- 'sideBarSectionHeaderBorder',
871
- "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."
872
- ));
873
- const TITLE_BAR_ACTIVE_FOREGROUND = registerColor('titleBar.activeForeground', {
874
- dark: '#CCCCCC',
875
- light: '#333333',
876
- hc: '#FFFFFF'
877
- }, localize(
878
- 'titleBarActiveForeground',
879
- "Title bar foreground when the window is active."
880
- ));
881
- registerColor('titleBar.inactiveForeground', {
882
- dark: transparent(TITLE_BAR_ACTIVE_FOREGROUND, 0.6),
883
- light: transparent(TITLE_BAR_ACTIVE_FOREGROUND, 0.6),
884
- hc: null
885
- }, localize(
886
- 'titleBarInactiveForeground',
887
- "Title bar foreground when the window is inactive."
888
- ));
889
- const TITLE_BAR_ACTIVE_BACKGROUND = registerColor('titleBar.activeBackground', {
890
- dark: '#3C3C3C',
891
- light: '#DDDDDD',
892
- hc: '#000000'
893
- }, localize(
894
- 'titleBarActiveBackground',
895
- "Title bar background when the window is active."
896
- ));
897
- registerColor('titleBar.inactiveBackground', {
898
- dark: transparent(TITLE_BAR_ACTIVE_BACKGROUND, 0.6),
899
- light: transparent(TITLE_BAR_ACTIVE_BACKGROUND, 0.6),
900
- hc: null
901
- }, localize(
902
- 'titleBarInactiveBackground',
903
- "Title bar background when the window is inactive."
904
- ));
905
- registerColor('titleBar.border', {
906
- dark: null,
907
- light: null,
908
- hc: contrastBorder
909
- }, localize('titleBarBorder', "Title bar border color."));
910
- registerColor('menubar.selectionForeground', {
911
- dark: TITLE_BAR_ACTIVE_FOREGROUND,
912
- light: TITLE_BAR_ACTIVE_FOREGROUND,
913
- hc: TITLE_BAR_ACTIVE_FOREGROUND
914
- }, localize(
915
- 'menubarSelectionForeground',
916
- "Foreground color of the selected menu item in the menubar."
917
- ));
918
- registerColor('menubar.selectionBackground', {
919
- dark: transparent(Color.white, 0.1),
920
- light: transparent(Color.black, 0.1),
921
- hc: null
922
- }, localize(
923
- 'menubarSelectionBackground',
924
- "Background color of the selected menu item in the menubar."
925
- ));
926
- registerColor('menubar.selectionBorder', {
927
- dark: null,
928
- light: null,
929
- hc: activeContrastBorder
930
- }, localize(
931
- 'menubarSelectionBorder',
932
- "Border color of the selected menu item in the menubar."
933
- ));
934
- registerColor('notificationCenter.border', {
935
- dark: null,
936
- light: null,
937
- hc: contrastBorder
938
- }, localize(
939
- 'notificationCenterBorder',
940
- "Notifications center border color. Notifications slide in from the bottom right of the window."
941
- ));
942
- const NOTIFICATIONS_TOAST_BORDER = registerColor('notificationToast.border', {
160
+ const NOTIFICATIONS_TOAST_BORDER = registerColor('notificationToast.border', {
943
161
  dark: null,
944
162
  light: null,
945
163
  hc: contrastBorder
@@ -947,7 +165,7 @@ const NOTIFICATIONS_TOAST_BORDER = registerColor('notificationToast.border', {
947
165
  'notificationToastBorder',
948
166
  "Notification toast border color. Notifications slide in from the bottom right of the window."
949
167
  ));
950
- const NOTIFICATIONS_FOREGROUND = registerColor('notifications.foreground', {
168
+ const NOTIFICATIONS_FOREGROUND = registerColor('notifications.foreground', {
951
169
  dark: editorWidgetForeground,
952
170
  light: editorWidgetForeground,
953
171
  hc: editorWidgetForeground
@@ -955,7 +173,7 @@ const NOTIFICATIONS_FOREGROUND = registerColor('notifications.foreground', {
955
173
  'notificationsForeground',
956
174
  "Notifications foreground color. Notifications slide in from the bottom right of the window."
957
175
  ));
958
- const NOTIFICATIONS_BACKGROUND = registerColor('notifications.background', {
176
+ const NOTIFICATIONS_BACKGROUND = registerColor('notifications.background', {
959
177
  dark: editorWidgetBackground,
960
178
  light: editorWidgetBackground,
961
179
  hc: editorWidgetBackground
@@ -963,7 +181,7 @@ const NOTIFICATIONS_BACKGROUND = registerColor('notifications.background', {
963
181
  'notificationsBackground',
964
182
  "Notifications background color. Notifications slide in from the bottom right of the window."
965
183
  ));
966
- const NOTIFICATIONS_LINKS = registerColor('notificationLink.foreground', {
184
+ const NOTIFICATIONS_LINKS = registerColor('notificationLink.foreground', {
967
185
  dark: textLinkForeground,
968
186
  light: textLinkForeground,
969
187
  hc: textLinkForeground
@@ -971,31 +189,7 @@ const NOTIFICATIONS_LINKS = registerColor('notificationLink.foreground', {
971
189
  'notificationsLink',
972
190
  "Notification links foreground color. Notifications slide in from the bottom right of the window."
973
191
  ));
974
- registerColor('notificationCenterHeader.foreground', {
975
- dark: null,
976
- light: null,
977
- hc: null
978
- }, localize(
979
- 'notificationCenterHeaderForeground',
980
- "Notifications center header foreground color. Notifications slide in from the bottom right of the window."
981
- ));
982
- const NOTIFICATIONS_CENTER_HEADER_BACKGROUND = registerColor('notificationCenterHeader.background', {
983
- dark: lighten(NOTIFICATIONS_BACKGROUND, 0.3),
984
- light: darken(NOTIFICATIONS_BACKGROUND, 0.05),
985
- hc: NOTIFICATIONS_BACKGROUND
986
- }, localize(
987
- 'notificationCenterHeaderBackground',
988
- "Notifications center header background color. Notifications slide in from the bottom right of the window."
989
- ));
990
- registerColor('notifications.border', {
991
- dark: NOTIFICATIONS_CENTER_HEADER_BACKGROUND,
992
- light: NOTIFICATIONS_CENTER_HEADER_BACKGROUND,
993
- hc: NOTIFICATIONS_CENTER_HEADER_BACKGROUND
994
- }, localize(
995
- 'notificationsBorder',
996
- "Notifications border color separating from other notifications in the notifications center. Notifications slide in from the bottom right of the window."
997
- ));
998
- const NOTIFICATIONS_ERROR_ICON_FOREGROUND = registerColor('notificationsErrorIcon.foreground', {
192
+ const NOTIFICATIONS_ERROR_ICON_FOREGROUND = registerColor('notificationsErrorIcon.foreground', {
999
193
  dark: editorErrorForeground,
1000
194
  light: editorErrorForeground,
1001
195
  hc: editorErrorForeground
@@ -1003,7 +197,7 @@ const NOTIFICATIONS_ERROR_ICON_FOREGROUND = registerColor('notificationsErrorIco
1003
197
  'notificationsErrorIconForeground',
1004
198
  "The color used for the icon of error notifications. Notifications slide in from the bottom right of the window."
1005
199
  ));
1006
- const NOTIFICATIONS_WARNING_ICON_FOREGROUND = registerColor('notificationsWarningIcon.foreground', {
200
+ const NOTIFICATIONS_WARNING_ICON_FOREGROUND = registerColor('notificationsWarningIcon.foreground', {
1007
201
  dark: editorWarningForeground,
1008
202
  light: editorWarningForeground,
1009
203
  hc: editorWarningForeground
@@ -1011,7 +205,7 @@ const NOTIFICATIONS_WARNING_ICON_FOREGROUND = registerColor('notificationsWarnin
1011
205
  'notificationsWarningIconForeground',
1012
206
  "The color used for the icon of warning notifications. Notifications slide in from the bottom right of the window."
1013
207
  ));
1014
- const NOTIFICATIONS_INFO_ICON_FOREGROUND = registerColor('notificationsInfoIcon.foreground', {
208
+ const NOTIFICATIONS_INFO_ICON_FOREGROUND = registerColor('notificationsInfoIcon.foreground', {
1015
209
  dark: editorInfoForeground,
1016
210
  light: editorInfoForeground,
1017
211
  hc: editorInfoForeground
@@ -1019,25 +213,9 @@ const NOTIFICATIONS_INFO_ICON_FOREGROUND = registerColor('notificationsInfoIcon.
1019
213
  'notificationsInfoIconForeground',
1020
214
  "The color used for the icon of info notifications. Notifications slide in from the bottom right of the window."
1021
215
  ));
1022
- registerColor('window.activeBorder', {
1023
- dark: null,
1024
- light: null,
1025
- hc: contrastBorder
1026
- }, localize(
1027
- 'windowActiveBorder',
1028
- "The color used for the border of the window when it is active. Only supported in the desktop client when using the custom title bar."
1029
- ));
1030
- registerColor('window.inactiveBorder', {
1031
- dark: null,
1032
- light: null,
1033
- hc: contrastBorder
1034
- }, localize(
1035
- 'windowInactiveBorder',
1036
- "The color used for the border of the window when it is inactive. Only supported in the desktop client when using the custom title bar."
1037
- ));
1038
216
  const defaultOptions = {
1039
- buttonBackground: Color.fromHex('#0E639C'),
1040
- buttonHoverBackground: Color.fromHex('#006BB3'),
217
+ buttonBackground: Color.fromHex('#0E639C'),
218
+ buttonHoverBackground: Color.fromHex('#006BB3'),
1041
219
  buttonForeground: Color.white
1042
220
  };
1043
221
  class Button extends Disposable {
@@ -3332,9 +2510,9 @@ NotificationService = __decorate([
3332
2510
  __param(0, IStorageService)
3333
2511
  ], NotificationService);
3334
2512
  const defaultOpts = {
3335
- inputActiveOptionBorder: Color.fromHex('#007ACC00'),
3336
- inputActiveOptionForeground: Color.fromHex('#FFFFFF'),
3337
- inputActiveOptionBackground: Color.fromHex('#0E639C50')
2513
+ inputActiveOptionBorder: Color.fromHex('#007ACC00'),
2514
+ inputActiveOptionForeground: Color.fromHex('#FFFFFF'),
2515
+ inputActiveOptionBackground: Color.fromHex('#0E639C50')
3338
2516
  };
3339
2517
  class Checkbox extends Widget {
3340
2518
  constructor(opts) {
@@ -3755,7 +2933,7 @@ class Dialog extends Disposable {
3755
2933
  this.checkbox.style(style);
3756
2934
  }
3757
2935
  if (fgColor && bgColor) {
3758
- const messageDetailColor = fgColor.transparent(.9);
2936
+ const messageDetailColor = fgColor.transparent(.9);
3759
2937
  this.messageDetailElement.style.color = messageDetailColor.makeOpaque(bgColor).toString();
3760
2938
  }
3761
2939
  if (linkFgColor) {
@@ -4242,7 +3420,7 @@ class DialogService extends Disposable {
4242
3420
  await handle.result;
4243
3421
  }
4244
3422
  }
4245
- class LayoutService {
3423
+ let LayoutService = class LayoutService {
4246
3424
  constructor(container, _codeEditorService) {
4247
3425
  this.container = container;
4248
3426
  this._codeEditorService = _codeEditorService;
@@ -4265,7 +3443,10 @@ class LayoutService {
4265
3443
  focus() {
4266
3444
  this._codeEditorService.getFocusedCodeEditor()?.focus();
4267
3445
  }
4268
- }
3446
+ };
3447
+ LayoutService = __decorate([
3448
+ __param(1, ICodeEditorService)
3449
+ ], LayoutService);
4269
3450
  function register(container) {
4270
3451
  container.classList.add('monaco-workbench');
4271
3452
  const model = StandaloneServices.get(INotificationService).model;