@opensumi/ide-theme 2.21.13 → 2.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/lib/browser/icon-theme-data.js.map +1 -1
  2. package/lib/browser/icon-theme-store.js.map +1 -1
  3. package/lib/browser/icon.service.d.ts +3 -1
  4. package/lib/browser/icon.service.d.ts.map +1 -1
  5. package/lib/browser/icon.service.js +56 -24
  6. package/lib/browser/icon.service.js.map +1 -1
  7. package/lib/browser/index.js.map +1 -1
  8. package/lib/browser/semantic-tokens-registry.js.map +1 -1
  9. package/lib/browser/style.service.js.map +1 -1
  10. package/lib/browser/theme-data.js +7 -7
  11. package/lib/browser/theme-data.js.map +1 -1
  12. package/lib/browser/theme-store.js.map +1 -1
  13. package/lib/browser/theme.contribution.js +3 -3
  14. package/lib/browser/theme.contribution.js.map +1 -1
  15. package/lib/browser/workbench.theme.service.js +2 -2
  16. package/lib/browser/workbench.theme.service.js.map +1 -1
  17. package/lib/common/color-tokens/basic-color.d.ts +1 -1
  18. package/lib/common/color-tokens/basic-color.d.ts.map +1 -1
  19. package/lib/common/color-tokens/editor.d.ts +13 -0
  20. package/lib/common/color-tokens/editor.d.ts.map +1 -1
  21. package/lib/common/color-tokens/editor.js +35 -1
  22. package/lib/common/color-tokens/editor.js.map +1 -1
  23. package/lib/common/color.js +40 -40
  24. package/lib/common/color.js.map +1 -1
  25. package/lib/common/mocks/theme.service.js.map +1 -1
  26. package/lib/common/plistParser.js +40 -40
  27. package/lib/common/plistParser.js.map +1 -1
  28. package/lib/common/semantic-tokens-registry.d.ts +7 -7
  29. package/lib/common/semantic-tokens-registry.d.ts.map +1 -1
  30. package/lib/common/theme.service.d.ts +26 -6
  31. package/lib/common/theme.service.d.ts.map +1 -1
  32. package/lib/common/theme.service.js.map +1 -1
  33. package/package.json +11 -10
  34. package/src/browser/default-theme.ts +547 -0
  35. package/src/browser/icon-theme-data.ts +294 -0
  36. package/src/browser/icon-theme-store.ts +38 -0
  37. package/src/browser/icon.less +15 -0
  38. package/src/browser/icon.service.ts +457 -0
  39. package/src/browser/index.ts +45 -0
  40. package/src/browser/semantic-tokens-registry.ts +217 -0
  41. package/src/browser/style.service.ts +51 -0
  42. package/src/browser/theme-data.ts +719 -0
  43. package/src/browser/theme-store.ts +95 -0
  44. package/src/browser/theme.contribution.ts +343 -0
  45. package/src/browser/workbench.theme.service.ts +703 -0
  46. package/src/common/color-registry.ts +52 -0
  47. package/src/common/color-tokens/activity-bar.ts +122 -0
  48. package/src/common/color-tokens/badge.ts +31 -0
  49. package/src/common/color-tokens/base.ts +90 -0
  50. package/src/common/color-tokens/basic-color.ts +9 -0
  51. package/src/common/color-tokens/breadcrumb.ts +60 -0
  52. package/src/common/color-tokens/button.ts +69 -0
  53. package/src/common/color-tokens/charts.ts +68 -0
  54. package/src/common/color-tokens/checkbox.ts +23 -0
  55. package/src/common/color-tokens/custom/actionbar.ts +51 -0
  56. package/src/common/color-tokens/custom/activity-bar.ts +16 -0
  57. package/src/common/color-tokens/custom/badge.ts +30 -0
  58. package/src/common/color-tokens/custom/base.ts +111 -0
  59. package/src/common/color-tokens/custom/button.ts +359 -0
  60. package/src/common/color-tokens/custom/checkbox.ts +36 -0
  61. package/src/common/color-tokens/custom/decoration.ts +71 -0
  62. package/src/common/color-tokens/custom/editor.ts +27 -0
  63. package/src/common/color-tokens/custom/extension.ts +9 -0
  64. package/src/common/color-tokens/custom/icon.ts +30 -0
  65. package/src/common/color-tokens/custom/index.ts +26 -0
  66. package/src/common/color-tokens/custom/input.ts +48 -0
  67. package/src/common/color-tokens/custom/menu.ts +61 -0
  68. package/src/common/color-tokens/custom/modal.ts +57 -0
  69. package/src/common/color-tokens/custom/notification.ts +16 -0
  70. package/src/common/color-tokens/custom/panel.ts +112 -0
  71. package/src/common/color-tokens/custom/popover.ts +28 -0
  72. package/src/common/color-tokens/custom/select.ts +155 -0
  73. package/src/common/color-tokens/custom/settings.ts +32 -0
  74. package/src/common/color-tokens/custom/statusbar.ts +16 -0
  75. package/src/common/color-tokens/custom/tab.ts +31 -0
  76. package/src/common/color-tokens/custom/tooltip.ts +55 -0
  77. package/src/common/color-tokens/custom/tree.ts +106 -0
  78. package/src/common/color-tokens/debug.ts +103 -0
  79. package/src/common/color-tokens/debugToolbar.ts +134 -0
  80. package/src/common/color-tokens/dropdown.ts +27 -0
  81. package/src/common/color-tokens/editor.ts +945 -0
  82. package/src/common/color-tokens/index.ts +35 -0
  83. package/src/common/color-tokens/input.ts +105 -0
  84. package/src/common/color-tokens/list-tree.ts +205 -0
  85. package/src/common/color-tokens/menu-bar.ts +43 -0
  86. package/src/common/color-tokens/menu.ts +53 -0
  87. package/src/common/color-tokens/merge-conflict.ts +145 -0
  88. package/src/common/color-tokens/minimap.ts +99 -0
  89. package/src/common/color-tokens/notification.ts +169 -0
  90. package/src/common/color-tokens/panel.ts +177 -0
  91. package/src/common/color-tokens/pick-view.ts +96 -0
  92. package/src/common/color-tokens/picker.ts +15 -0
  93. package/src/common/color-tokens/progress-bar.ts +12 -0
  94. package/src/common/color-tokens/quick-input.ts +57 -0
  95. package/src/common/color-tokens/scrollbar.ts +42 -0
  96. package/src/common/color-tokens/settings.ts +126 -0
  97. package/src/common/color-tokens/sidebar.ts +121 -0
  98. package/src/common/color-tokens/snippet.ts +33 -0
  99. package/src/common/color-tokens/status-bar.ts +350 -0
  100. package/src/common/color-tokens/tab.ts +346 -0
  101. package/src/common/color-tokens/testing.ts +105 -0
  102. package/src/common/color-tokens/text.ts +41 -0
  103. package/src/common/color-tokens/title-bar.ts +62 -0
  104. package/src/common/color-tokens/toolbar.ts +28 -0
  105. package/src/common/color-tokens/welcome-page.ts +27 -0
  106. package/src/common/color.ts +647 -0
  107. package/src/common/default-themes.ts +273 -0
  108. package/src/common/event.ts +9 -0
  109. package/src/common/index.ts +8 -0
  110. package/src/common/mocks/theme.service.ts +55 -0
  111. package/src/common/plistParser.ts +525 -0
  112. package/src/common/semantic-tokens-registry.ts +439 -0
  113. package/src/common/style.ts +9 -0
  114. package/src/common/theme.service.ts +363 -0
  115. package/src/common/themeCompatibility.ts +95 -0
  116. package/src/common/utils.ts +195 -0
  117. package/src/index.ts +1 -0
@@ -0,0 +1,547 @@
1
+ export default {
2
+ themeSettings: [
3
+ {
4
+ scope: ['meta.embedded', 'source.groovy.embedded'],
5
+ settings: {
6
+ foreground: '#D4D4D4',
7
+ },
8
+ },
9
+ {
10
+ scope: 'emphasis',
11
+ settings: {
12
+ fontStyle: 'italic',
13
+ },
14
+ },
15
+ {
16
+ scope: 'strong',
17
+ settings: {
18
+ fontStyle: 'bold',
19
+ },
20
+ },
21
+ {
22
+ scope: 'header',
23
+ settings: {
24
+ foreground: '#000080',
25
+ },
26
+ },
27
+ {
28
+ scope: 'comment',
29
+ settings: {
30
+ foreground: '#6A9955',
31
+ },
32
+ },
33
+ {
34
+ scope: 'constant.language',
35
+ settings: {
36
+ foreground: '#569cd6',
37
+ },
38
+ },
39
+ {
40
+ scope: [
41
+ 'constant.numeric',
42
+ 'variable.other.enummember',
43
+ 'keyword.operator.plus.exponent',
44
+ 'keyword.operator.minus.exponent',
45
+ ],
46
+ settings: {
47
+ foreground: '#b5cea8',
48
+ },
49
+ },
50
+ {
51
+ scope: 'constant.regexp',
52
+ settings: {
53
+ foreground: '#646695',
54
+ },
55
+ },
56
+ {
57
+ scope: 'entity.name.tag',
58
+ settings: {
59
+ foreground: '#569cd6',
60
+ },
61
+ },
62
+ {
63
+ scope: 'entity.name.tag.css',
64
+ settings: {
65
+ foreground: '#d7ba7d',
66
+ },
67
+ },
68
+ {
69
+ scope: 'entity.other.attribute-name',
70
+ settings: {
71
+ foreground: '#9cdcfe',
72
+ },
73
+ },
74
+ {
75
+ scope: [
76
+ 'entity.other.attribute-name.class.css',
77
+ 'entity.other.attribute-name.class.mixin.css',
78
+ 'entity.other.attribute-name.id.css',
79
+ 'entity.other.attribute-name.parent-selector.css',
80
+ 'entity.other.attribute-name.pseudo-class.css',
81
+ 'entity.other.attribute-name.pseudo-element.css',
82
+ 'source.css.less entity.other.attribute-name.id',
83
+ 'entity.other.attribute-name.scss',
84
+ ],
85
+ settings: {
86
+ foreground: '#d7ba7d',
87
+ },
88
+ },
89
+ {
90
+ scope: 'invalid',
91
+ settings: {
92
+ foreground: '#f44747',
93
+ },
94
+ },
95
+ {
96
+ scope: 'markup.underline',
97
+ settings: {
98
+ fontStyle: 'underline',
99
+ },
100
+ },
101
+ {
102
+ scope: 'markup.bold',
103
+ settings: {
104
+ fontStyle: 'bold',
105
+ foreground: '#569cd6',
106
+ },
107
+ },
108
+ {
109
+ scope: 'markup.heading',
110
+ settings: {
111
+ fontStyle: 'bold',
112
+ foreground: '#569cd6',
113
+ },
114
+ },
115
+ {
116
+ scope: 'markup.italic',
117
+ settings: {
118
+ fontStyle: 'italic',
119
+ },
120
+ },
121
+ {
122
+ scope: 'markup.inserted',
123
+ settings: {
124
+ foreground: '#b5cea8',
125
+ },
126
+ },
127
+ {
128
+ scope: 'markup.deleted',
129
+ settings: {
130
+ foreground: '#ce9178',
131
+ },
132
+ },
133
+ {
134
+ scope: 'markup.changed',
135
+ settings: {
136
+ foreground: '#569cd6',
137
+ },
138
+ },
139
+ {
140
+ scope: 'punctuation.definition.quote.begin.markdown',
141
+ settings: {
142
+ foreground: '#6A9955',
143
+ },
144
+ },
145
+ {
146
+ scope: 'punctuation.definition.list.begin.markdown',
147
+ settings: {
148
+ foreground: '#6796e6',
149
+ },
150
+ },
151
+ {
152
+ scope: 'markup.inline.raw',
153
+ settings: {
154
+ foreground: '#ce9178',
155
+ },
156
+ },
157
+ {
158
+ name: 'brackets of XML/HTML tags',
159
+ scope: 'punctuation.definition.tag',
160
+ settings: {
161
+ foreground: '#808080',
162
+ },
163
+ },
164
+ {
165
+ scope: ['meta.preprocessor', 'entity.name.function.preprocessor'],
166
+ settings: {
167
+ foreground: '#569cd6',
168
+ },
169
+ },
170
+ {
171
+ scope: 'meta.preprocessor.string',
172
+ settings: {
173
+ foreground: '#ce9178',
174
+ },
175
+ },
176
+ {
177
+ scope: 'meta.preprocessor.numeric',
178
+ settings: {
179
+ foreground: '#b5cea8',
180
+ },
181
+ },
182
+ {
183
+ scope: 'meta.structure.dictionary.key.python',
184
+ settings: {
185
+ foreground: '#9cdcfe',
186
+ },
187
+ },
188
+ {
189
+ scope: 'meta.diff.header',
190
+ settings: {
191
+ foreground: '#569cd6',
192
+ },
193
+ },
194
+ {
195
+ scope: 'storage',
196
+ settings: {
197
+ foreground: '#569cd6',
198
+ },
199
+ },
200
+ {
201
+ scope: 'storage.type',
202
+ settings: {
203
+ foreground: '#569cd6',
204
+ },
205
+ },
206
+ {
207
+ scope: ['storage.modifier', 'keyword.operator.noexcept'],
208
+ settings: {
209
+ foreground: '#569cd6',
210
+ },
211
+ },
212
+ {
213
+ scope: ['string', 'meta.embedded.assembly'],
214
+ settings: {
215
+ foreground: '#ce9178',
216
+ },
217
+ },
218
+ {
219
+ scope: 'string.tag',
220
+ settings: {
221
+ foreground: '#ce9178',
222
+ },
223
+ },
224
+ {
225
+ scope: 'string.value',
226
+ settings: {
227
+ foreground: '#ce9178',
228
+ },
229
+ },
230
+ {
231
+ scope: 'string.regexp',
232
+ settings: {
233
+ foreground: '#d16969',
234
+ },
235
+ },
236
+ {
237
+ name: 'String interpolation',
238
+ scope: [
239
+ 'punctuation.definition.template-expression.begin',
240
+ 'punctuation.definition.template-expression.end',
241
+ 'punctuation.section.embedded',
242
+ ],
243
+ settings: {
244
+ foreground: '#569cd6',
245
+ },
246
+ },
247
+ {
248
+ name: 'Reset JavaScript string interpolation expression',
249
+ scope: ['meta.template.expression'],
250
+ settings: {
251
+ foreground: '#d4d4d4',
252
+ },
253
+ },
254
+ {
255
+ scope: [
256
+ 'support.type.vendored.property-name',
257
+ 'support.type.property-name',
258
+ 'variable.css',
259
+ 'variable.scss',
260
+ 'variable.other.less',
261
+ 'source.coffee.embedded',
262
+ ],
263
+ settings: {
264
+ foreground: '#9cdcfe',
265
+ },
266
+ },
267
+ {
268
+ scope: 'keyword',
269
+ settings: {
270
+ foreground: '#569cd6',
271
+ },
272
+ },
273
+ {
274
+ scope: 'keyword.control',
275
+ settings: {
276
+ foreground: '#569cd6',
277
+ },
278
+ },
279
+ {
280
+ scope: 'keyword.operator',
281
+ settings: {
282
+ foreground: '#d4d4d4',
283
+ },
284
+ },
285
+ {
286
+ scope: [
287
+ 'keyword.operator.new',
288
+ 'keyword.operator.expression',
289
+ 'keyword.operator.cast',
290
+ 'keyword.operator.sizeof',
291
+ 'keyword.operator.alignof',
292
+ 'keyword.operator.typeid',
293
+ 'keyword.operator.alignas',
294
+ 'keyword.operator.instanceof',
295
+ 'keyword.operator.logical.python',
296
+ 'keyword.operator.wordlike',
297
+ ],
298
+ settings: {
299
+ foreground: '#569cd6',
300
+ },
301
+ },
302
+ {
303
+ scope: 'keyword.other.unit',
304
+ settings: {
305
+ foreground: '#b5cea8',
306
+ },
307
+ },
308
+ {
309
+ scope: ['punctuation.section.embedded.begin.php', 'punctuation.section.embedded.end.php'],
310
+ settings: {
311
+ foreground: '#569cd6',
312
+ },
313
+ },
314
+ {
315
+ scope: 'support.function.git-rebase',
316
+ settings: {
317
+ foreground: '#9cdcfe',
318
+ },
319
+ },
320
+ {
321
+ scope: 'constant.sha.git-rebase',
322
+ settings: {
323
+ foreground: '#b5cea8',
324
+ },
325
+ },
326
+ {
327
+ name: 'coloring of the Java import and package identifiers',
328
+ scope: ['storage.modifier.import.java', 'variable.language.wildcard.java', 'storage.modifier.package.java'],
329
+ settings: {
330
+ foreground: '#d4d4d4',
331
+ },
332
+ },
333
+ {
334
+ name: 'this.self',
335
+ scope: 'variable.language',
336
+ settings: {
337
+ foreground: '#569cd6',
338
+ },
339
+ },
340
+
341
+ {
342
+ name: 'Function declarations',
343
+ scope: [
344
+ 'entity.name.function',
345
+ 'support.function',
346
+ 'support.constant.handlebars',
347
+ 'source.powershell variable.other.member',
348
+ 'entity.name.operator.custom-literal', // See https://en.cppreference.com/w/cpp/language/user_literal
349
+ ],
350
+ settings: {
351
+ foreground: '#DCDCAA',
352
+ },
353
+ },
354
+ {
355
+ name: 'Types declaration and references',
356
+ scope: [
357
+ 'meta.return-type',
358
+ 'support.class',
359
+ 'support.type',
360
+ 'entity.name.type',
361
+ 'entity.name.namespace',
362
+ 'entity.other.attribute',
363
+ 'entity.name.scope-resolution',
364
+ 'entity.name.class',
365
+ 'storage.type.numeric.go',
366
+ 'storage.type.byte.go',
367
+ 'storage.type.boolean.go',
368
+ 'storage.type.string.go',
369
+ 'storage.type.uintptr.go',
370
+ 'storage.type.error.go',
371
+ 'storage.type.rune.go',
372
+ 'storage.type.cs',
373
+ 'storage.type.generic.cs',
374
+ 'storage.type.modifier.cs',
375
+ 'storage.type.variable.cs',
376
+ 'storage.type.annotation.java',
377
+ 'storage.type.generic.java',
378
+ 'storage.type.java',
379
+ 'storage.type.object.array.java',
380
+ 'storage.type.primitive.array.java',
381
+ 'storage.type.primitive.java',
382
+ 'storage.type.token.java',
383
+ 'storage.type.groovy',
384
+ 'storage.type.annotation.groovy',
385
+ 'storage.type.parameters.groovy',
386
+ 'storage.type.generic.groovy',
387
+ 'storage.type.object.array.groovy',
388
+ 'storage.type.primitive.array.groovy',
389
+ 'storage.type.primitive.groovy',
390
+ ],
391
+ settings: {
392
+ foreground: '#4EC9B0',
393
+ },
394
+ },
395
+ {
396
+ name: 'Types declaration and references, TS grammar specific',
397
+ scope: [
398
+ 'meta.type.cast.expr',
399
+ 'meta.type.new.expr',
400
+ 'support.constant.math',
401
+ 'support.constant.dom',
402
+ 'support.constant.json',
403
+ 'entity.other.inherited-class',
404
+ ],
405
+ settings: {
406
+ foreground: '#4EC9B0',
407
+ },
408
+ },
409
+ {
410
+ name: 'Control flow / Special keywords',
411
+ scope: [
412
+ 'keyword.control',
413
+ 'source.cpp keyword.operator.new',
414
+ 'keyword.operator.delete',
415
+ 'keyword.other.using',
416
+ 'keyword.other.operator',
417
+ 'entity.name.operator',
418
+ ],
419
+ settings: {
420
+ foreground: '#C586C0',
421
+ },
422
+ },
423
+ {
424
+ name: 'Variable and parameter name',
425
+ scope: [
426
+ 'variable',
427
+ 'meta.definition.variable.name',
428
+ 'support.variable',
429
+ 'entity.name.variable',
430
+ 'constant.other.placeholder', // placeholders in strings
431
+ ],
432
+ settings: {
433
+ foreground: '#9CDCFE',
434
+ },
435
+ },
436
+ {
437
+ name: 'Constants and enums',
438
+ scope: ['variable.other.constant', 'variable.other.enummember'],
439
+ settings: {
440
+ foreground: '#4FC1FF',
441
+ },
442
+ },
443
+ {
444
+ name: 'Object keys, TS grammar specific',
445
+ scope: ['meta.object-literal.key'],
446
+ settings: {
447
+ foreground: '#9CDCFE',
448
+ },
449
+ },
450
+ {
451
+ name: 'CSS property value',
452
+ scope: [
453
+ 'support.constant.property-value',
454
+ 'support.constant.font-name',
455
+ 'support.constant.media-type',
456
+ 'support.constant.media',
457
+ 'constant.other.color.rgb-value',
458
+ 'constant.other.rgb-value',
459
+ 'support.constant.color',
460
+ ],
461
+ settings: {
462
+ foreground: '#CE9178',
463
+ },
464
+ },
465
+ {
466
+ name: 'Regular expression groups',
467
+ scope: [
468
+ 'punctuation.definition.group.regexp',
469
+ 'punctuation.definition.group.assertion.regexp',
470
+ 'punctuation.definition.character-class.regexp',
471
+ 'punctuation.character.set.begin.regexp',
472
+ 'punctuation.character.set.end.regexp',
473
+ 'keyword.operator.negation.regexp',
474
+ 'support.other.parenthesis.regexp',
475
+ ],
476
+ settings: {
477
+ foreground: '#CE9178',
478
+ },
479
+ },
480
+ {
481
+ scope: [
482
+ 'constant.character.character-class.regexp',
483
+ 'constant.other.character-class.set.regexp',
484
+ 'constant.other.character-class.regexp',
485
+ 'constant.character.set.regexp',
486
+ ],
487
+ settings: {
488
+ foreground: '#d16969',
489
+ },
490
+ },
491
+ {
492
+ scope: ['keyword.operator.or.regexp', 'keyword.control.anchor.regexp'],
493
+ settings: {
494
+ foreground: '#DCDCAA',
495
+ },
496
+ },
497
+ {
498
+ scope: 'keyword.operator.quantifier.regexp',
499
+ settings: {
500
+ foreground: '#d7ba7d',
501
+ },
502
+ },
503
+ {
504
+ scope: 'constant.character',
505
+ settings: {
506
+ foreground: '#569cd6',
507
+ },
508
+ },
509
+ {
510
+ scope: 'constant.character.escape',
511
+ settings: {
512
+ foreground: '#d7ba7d',
513
+ },
514
+ },
515
+ {
516
+ scope: 'entity.name.label',
517
+ settings: {
518
+ foreground: '#C8C8C8',
519
+ },
520
+ },
521
+ ],
522
+ colors: {
523
+ 'editor.background': '#1e1e1eff',
524
+ 'editor.foreground': '#d4d4d4ff',
525
+ 'editor.inactiveSelectionBackground': '#3a3d41ff',
526
+ 'editorIndentGuide.background': '#404040ff',
527
+ 'editorIndentGuide.activeBackground': '#707070ff',
528
+ 'editor.selectionHighlightBackground': '#add6ff26',
529
+ 'list.dropBackground': '#383b3dff',
530
+ 'activityBarBadge.background': '#007accff',
531
+ 'sideBarTitle.foreground': '#bbbbbbff',
532
+ 'input.placeholderForeground': '#a6a6a6ff',
533
+ 'settings.textInputBackground': '#292929ff',
534
+ 'settings.numberInputBackground': '#292929ff',
535
+ 'menu.background': '#252526ff',
536
+ 'menu.foreground': '#ccccccff',
537
+ 'statusBarItem.remoteForeground': '#ffffffff',
538
+ 'statusBarItem.remoteBackground': '#16825dff',
539
+ },
540
+ encodedTokensColors: [],
541
+ rules: [],
542
+ base: 'vs-dark',
543
+ inherit: true,
544
+ hasDefaultTokens: false,
545
+ id: 'Default Dark+',
546
+ name: 'Dark+ (default dark)',
547
+ };