@finos/legend-lego 1.2.66 → 1.2.67

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,6 +20,7 @@ import { buildCodeEditorTheme } from './themes/MonacoEditorThemeUtils.js';
20
20
  import SOLARIZED_DARK_THEME_DATA from './themes/solarized-dark-color-theme.json' with { type: 'json' };
21
21
  import GITHUB_DARK_THEME_DATA from './themes/Github-Theme-dark.json' with { type: 'json' };
22
22
  import GITHUB_DARK_DIMMED_THEME_DATA from './themes/Github-Theme-dark-dimmed.json' with { type: 'json' };
23
+ import GITHUB_LIGHT_THEME_DATA from './themes/Github-Theme-light.json' with { type: 'json' };
23
24
  import MATERIAL_DEFAULT_THEME_DATA from './themes/Material-Theme-Default.json' with { type: 'json' };
24
25
  import MATERIAL_DARKER_THEME_DATA from './themes/Material-Theme-Darker.json' with { type: 'json' };
25
26
  import ONE_DARK_PRO_THEME_DATA from './themes/OneDark-Pro.json' with { type: 'json' };
@@ -45,6 +46,7 @@ const BASE_PURE_LANGUAGE_COLOR_TOKENS: monacoEditorAPI.ITokenThemeRule[] = [
45
46
 
46
47
  export enum CODE_EDITOR_THEME {
47
48
  DEFAULT_DARK = 'default-dark',
49
+ GITHUB_LIGHT = 'github-light',
48
50
  GITHUB_DARK = 'github-dark',
49
51
  GITHUB_DARK_DIMMED = 'github-dark-dimmed',
50
52
  SOLARIZED_DARK = 'solarized-dark',
@@ -89,6 +91,30 @@ export const GITHUB_DARK_THEME = buildCodeEditorTheme(
89
91
  [],
90
92
  );
91
93
 
94
+ export const GITHUB_LIGHT_THEME = buildCodeEditorTheme(
95
+ GITHUB_LIGHT_THEME_DATA,
96
+ CODE_EDITOR_THEME.BUILT_IN__VSCODE_LIGHT,
97
+ {},
98
+ [
99
+ // NOTE: `monaco-editor` only accepts HEX values, not CSS variables
100
+ // { token: PURE_GRAMMAR_TOKEN.IDENTIFIER, foreground: '000000' },
101
+ // { token: PURE_GRAMMAR_TOKEN.NUMBER, foreground: 'b5cea8' },
102
+ // { token: PURE_GRAMMAR_TOKEN.DATE, foreground: 'b5cea8' },
103
+ // { token: PURE_GRAMMAR_TOKEN.COLOR, foreground: 'b5cea8' },
104
+ // { token: PURE_GRAMMAR_TOKEN.PACKAGE, foreground: '808080' },
105
+ // { token: PURE_GRAMMAR_TOKEN.PARSER, foreground: 'c586c0' },
106
+ // { token: PURE_GRAMMAR_TOKEN.LANGUAGE_STRUCT, foreground: 'c586c0' },
107
+ // { token: PURE_GRAMMAR_TOKEN.MULTIPLICITY, foreground: '2d796b' },
108
+ // { token: PURE_GRAMMAR_TOKEN.GENERICS, foreground: '2d796b' },
109
+ // { token: PURE_GRAMMAR_TOKEN.PROPERTY, foreground: '9cdcfe' },
110
+ // { token: PURE_GRAMMAR_TOKEN.PARAMETER, foreground: '9cdcfe' },
111
+ // { token: PURE_GRAMMAR_TOKEN.VARIABLE, foreground: '4fc1ff' },
112
+ // { token: PURE_GRAMMAR_TOKEN.TYPE, foreground: '3dc9b0' },
113
+ // { token: `${PURE_GRAMMAR_TOKEN.STRING}.escape`, foreground: 'd7ba7d' },
114
+ // TODO: handle SQL formatting like in dark theme?
115
+ ],
116
+ );
117
+
92
118
  export const GITHUB_DARK_DIMMED_THEME = buildCodeEditorTheme(
93
119
  GITHUB_DARK_DIMMED_THEME_DATA,
94
120
  CODE_EDITOR_THEME.BUILT_IN__VSCODE_DARK,
@@ -31,6 +31,7 @@ import {
31
31
  DEFAULT_DARK_THEME,
32
32
  GITHUB_DARK_DIMMED_THEME,
33
33
  GITHUB_DARK_THEME,
34
+ GITHUB_LIGHT_THEME,
34
35
  MATERIAL_DARKER_THEME,
35
36
  MATERIAL_DEFAULT_THEME,
36
37
  ONE_DARK_PRO_DARKER_THEME,
@@ -300,6 +301,10 @@ export const configureCodeEditorComponent = async (
300
301
  CODE_EDITOR_THEME.GITHUB_DARK_DIMMED,
301
302
  GITHUB_DARK_DIMMED_THEME,
302
303
  );
304
+ monacoEditorAPI.defineTheme(
305
+ CODE_EDITOR_THEME.GITHUB_LIGHT,
306
+ GITHUB_LIGHT_THEME,
307
+ );
303
308
  monacoEditorAPI.defineTheme(
304
309
  CODE_EDITOR_THEME.MATERIAL_DEFAULT,
305
310
  MATERIAL_DEFAULT_THEME,
@@ -336,3 +336,6 @@ export const isTokenOneOf = (
336
336
  );
337
337
  return baseTokens.includes(baseToken);
338
338
  };
339
+
340
+ export const PURE_CODE_EDITOR_WORD_SEPARATORS =
341
+ '`~!@#%^&*()-=+[{]}\\|;:\'",.<>/?'; // omit $ from default word separators
@@ -0,0 +1,598 @@
1
+ {
2
+ "name": "GitHub Light Default",
3
+ "colors": {
4
+ "focusBorder": "#0969da",
5
+ "foreground": "#1f2328",
6
+ "descriptionForeground": "#656d76",
7
+ "errorForeground": "#cf222e",
8
+ "textLink.foreground": "#0969da",
9
+ "textLink.activeForeground": "#0969da",
10
+ "textBlockQuote.background": "#f6f8fa",
11
+ "textBlockQuote.border": "#d0d7de",
12
+ "textCodeBlock.background": "#afb8c133",
13
+ "textPreformat.foreground": "#656d76",
14
+ "textSeparator.foreground": "#d8dee4",
15
+ "icon.foreground": "#656d76",
16
+ "keybindingLabel.foreground": "#1f2328",
17
+ "button.background": "#1f883d",
18
+ "button.foreground": "#ffffff",
19
+ "button.hoverBackground": "#1a7f37",
20
+ "button.secondaryBackground": "#ebecf0",
21
+ "button.secondaryForeground": "#24292f",
22
+ "button.secondaryHoverBackground": "#f3f4f6",
23
+ "checkbox.background": "#f6f8fa",
24
+ "checkbox.border": "#d0d7de",
25
+ "dropdown.background": "#ffffff",
26
+ "dropdown.border": "#d0d7de",
27
+ "dropdown.foreground": "#1f2328",
28
+ "dropdown.listBackground": "#ffffff",
29
+ "input.background": "#ffffff",
30
+ "input.border": "#d0d7de",
31
+ "input.foreground": "#1f2328",
32
+ "input.placeholderForeground": "#6e7781",
33
+ "badge.foreground": "#ffffff",
34
+ "badge.background": "#0969da",
35
+ "progressBar.background": "#0969da",
36
+ "titleBar.activeForeground": "#656d76",
37
+ "titleBar.activeBackground": "#ffffff",
38
+ "titleBar.inactiveForeground": "#656d76",
39
+ "titleBar.inactiveBackground": "#f6f8fa",
40
+ "titleBar.border": "#d0d7de",
41
+ "activityBar.foreground": "#1f2328",
42
+ "activityBar.inactiveForeground": "#656d76",
43
+ "activityBar.background": "#ffffff",
44
+ "activityBarBadge.foreground": "#ffffff",
45
+ "activityBarBadge.background": "#0969da",
46
+ "activityBar.activeBorder": "#fd8c73",
47
+ "activityBar.border": "#d0d7de",
48
+ "sideBar.foreground": "#1f2328",
49
+ "sideBar.background": "#f6f8fa",
50
+ "sideBar.border": "#d0d7de",
51
+ "sideBarTitle.foreground": "#1f2328",
52
+ "sideBarSectionHeader.foreground": "#1f2328",
53
+ "sideBarSectionHeader.background": "#f6f8fa",
54
+ "sideBarSectionHeader.border": "#d0d7de",
55
+ "list.hoverForeground": "#1f2328",
56
+ "list.inactiveSelectionForeground": "#1f2328",
57
+ "list.activeSelectionForeground": "#1f2328",
58
+ "list.hoverBackground": "#eaeef280",
59
+ "list.inactiveSelectionBackground": "#afb8c133",
60
+ "list.activeSelectionBackground": "#afb8c133",
61
+ "list.focusForeground": "#1f2328",
62
+ "list.focusBackground": "#ddf4ff",
63
+ "list.inactiveFocusBackground": "#ddf4ff",
64
+ "list.highlightForeground": "#0969da",
65
+ "tree.indentGuidesStroke": "#d8dee4",
66
+ "notificationCenterHeader.foreground": "#656d76",
67
+ "notificationCenterHeader.background": "#f6f8fa",
68
+ "notifications.foreground": "#1f2328",
69
+ "notifications.background": "#ffffff",
70
+ "notifications.border": "#d0d7de",
71
+ "notificationsErrorIcon.foreground": "#cf222e",
72
+ "notificationsWarningIcon.foreground": "#9a6700",
73
+ "notificationsInfoIcon.foreground": "#0969da",
74
+ "pickerGroup.border": "#d0d7de",
75
+ "pickerGroup.foreground": "#656d76",
76
+ "quickInput.background": "#ffffff",
77
+ "quickInput.foreground": "#1f2328",
78
+ "statusBar.foreground": "#656d76",
79
+ "statusBar.background": "#ffffff",
80
+ "statusBar.border": "#d0d7de",
81
+ "statusBar.focusBorder": "#0969da80",
82
+ "statusBar.noFolderBackground": "#ffffff",
83
+ "statusBar.debuggingForeground": "#ffffff",
84
+ "statusBar.debuggingBackground": "#cf222e",
85
+ "statusBarItem.prominentBackground": "#afb8c133",
86
+ "statusBarItem.remoteForeground": "#1f2328",
87
+ "statusBarItem.remoteBackground": "#eaeef2",
88
+ "statusBarItem.hoverBackground": "#1f232814",
89
+ "statusBarItem.activeBackground": "#1f23281f",
90
+ "statusBarItem.focusBorder": "#0969da",
91
+ "editorGroupHeader.tabsBackground": "#f6f8fa",
92
+ "editorGroupHeader.tabsBorder": "#d0d7de",
93
+ "editorGroup.border": "#d0d7de",
94
+ "tab.activeForeground": "#1f2328",
95
+ "tab.inactiveForeground": "#656d76",
96
+ "tab.inactiveBackground": "#f6f8fa",
97
+ "tab.activeBackground": "#ffffff",
98
+ "tab.hoverBackground": "#ffffff",
99
+ "tab.unfocusedHoverBackground": "#eaeef280",
100
+ "tab.border": "#d0d7de",
101
+ "tab.unfocusedActiveBorderTop": "#d0d7de",
102
+ "tab.activeBorder": "#ffffff",
103
+ "tab.unfocusedActiveBorder": "#ffffff",
104
+ "tab.activeBorderTop": "#fd8c73",
105
+ "breadcrumb.foreground": "#656d76",
106
+ "breadcrumb.focusForeground": "#1f2328",
107
+ "breadcrumb.activeSelectionForeground": "#656d76",
108
+ "breadcrumbPicker.background": "#ffffff",
109
+ "editor.foreground": "#1f2328",
110
+ "editor.background": "#ffffff",
111
+ "editorWidget.background": "#ffffff",
112
+ "editor.foldBackground": "#6e77811a",
113
+ "editor.lineHighlightBackground": "#eaeef280",
114
+ "editorLineNumber.foreground": "#8c959f",
115
+ "editorLineNumber.activeForeground": "#1f2328",
116
+ "editorIndentGuide.background": "#1f23281f",
117
+ "editorIndentGuide.activeBackground": "#1f23283d",
118
+ "editorWhitespace.foreground": "#afb8c1",
119
+ "editorCursor.foreground": "#0969da",
120
+ "editor.findMatchBackground": "#bf8700",
121
+ "editor.findMatchHighlightBackground": "#fae17d80",
122
+ "editor.linkedEditingBackground": "#0969da12",
123
+ "editor.selectionHighlightBackground": "#4ac26b40",
124
+ "editor.wordHighlightBackground": "#eaeef280",
125
+ "editor.wordHighlightBorder": "#afb8c199",
126
+ "editor.wordHighlightStrongBackground": "#afb8c14d",
127
+ "editor.wordHighlightStrongBorder": "#afb8c199",
128
+ "editorBracketMatch.background": "#4ac26b40",
129
+ "editorBracketMatch.border": "#4ac26b99",
130
+ "editorInlayHint.background": "#afb8c133",
131
+ "editorInlayHint.foreground": "#656d76",
132
+ "editorInlayHint.typeBackground": "#afb8c133",
133
+ "editorInlayHint.typeForeground": "#656d76",
134
+ "editorInlayHint.paramBackground": "#afb8c133",
135
+ "editorInlayHint.paramForeground": "#656d76",
136
+ "editorGutter.modifiedBackground": "#d4a72c66",
137
+ "editorGutter.addedBackground": "#4ac26b66",
138
+ "editorGutter.deletedBackground": "#ff818266",
139
+ "diffEditor.insertedLineBackground": "#aceebb4d",
140
+ "diffEditor.insertedTextBackground": "#6fdd8b80",
141
+ "diffEditor.removedLineBackground": "#ffcecb4d",
142
+ "diffEditor.removedTextBackground": "#ff818266",
143
+ "scrollbar.shadow": "#6e778133",
144
+ "scrollbarSlider.background": "#8c959f33",
145
+ "scrollbarSlider.hoverBackground": "#8c959f3d",
146
+ "scrollbarSlider.activeBackground": "#8c959f47",
147
+ "editorOverviewRuler.border": "#ffffff",
148
+ "minimapSlider.background": "#8c959f33",
149
+ "minimapSlider.hoverBackground": "#8c959f3d",
150
+ "minimapSlider.activeBackground": "#8c959f47",
151
+ "panel.background": "#f6f8fa",
152
+ "panel.border": "#d0d7de",
153
+ "panelTitle.activeBorder": "#fd8c73",
154
+ "panelTitle.activeForeground": "#1f2328",
155
+ "panelTitle.inactiveForeground": "#656d76",
156
+ "panelInput.border": "#d0d7de",
157
+ "debugIcon.breakpointForeground": "#cf222e",
158
+ "debugConsole.infoForeground": "#57606a",
159
+ "debugConsole.warningForeground": "#7d4e00",
160
+ "debugConsole.errorForeground": "#cf222e",
161
+ "debugConsole.sourceForeground": "#9a6700",
162
+ "debugConsoleInputIcon.foreground": "#6639ba",
163
+ "debugTokenExpression.name": "#0550ae",
164
+ "debugTokenExpression.value": "#0a3069",
165
+ "debugTokenExpression.string": "#0a3069",
166
+ "debugTokenExpression.boolean": "#116329",
167
+ "debugTokenExpression.number": "#116329",
168
+ "debugTokenExpression.error": "#a40e26",
169
+ "symbolIcon.arrayForeground": "#953800",
170
+ "symbolIcon.booleanForeground": "#0550ae",
171
+ "symbolIcon.classForeground": "#953800",
172
+ "symbolIcon.colorForeground": "#0a3069",
173
+ "symbolIcon.constructorForeground": "#3e1f79",
174
+ "symbolIcon.enumeratorForeground": "#953800",
175
+ "symbolIcon.enumeratorMemberForeground": "#0550ae",
176
+ "symbolIcon.eventForeground": "#57606a",
177
+ "symbolIcon.fieldForeground": "#953800",
178
+ "symbolIcon.fileForeground": "#7d4e00",
179
+ "symbolIcon.folderForeground": "#7d4e00",
180
+ "symbolIcon.functionForeground": "#6639ba",
181
+ "symbolIcon.interfaceForeground": "#953800",
182
+ "symbolIcon.keyForeground": "#0550ae",
183
+ "symbolIcon.keywordForeground": "#a40e26",
184
+ "symbolIcon.methodForeground": "#6639ba",
185
+ "symbolIcon.moduleForeground": "#a40e26",
186
+ "symbolIcon.namespaceForeground": "#a40e26",
187
+ "symbolIcon.nullForeground": "#0550ae",
188
+ "symbolIcon.numberForeground": "#116329",
189
+ "symbolIcon.objectForeground": "#953800",
190
+ "symbolIcon.operatorForeground": "#0a3069",
191
+ "symbolIcon.packageForeground": "#953800",
192
+ "symbolIcon.propertyForeground": "#953800",
193
+ "symbolIcon.referenceForeground": "#0550ae",
194
+ "symbolIcon.snippetForeground": "#0550ae",
195
+ "symbolIcon.stringForeground": "#0a3069",
196
+ "symbolIcon.structForeground": "#953800",
197
+ "symbolIcon.textForeground": "#0a3069",
198
+ "symbolIcon.typeParameterForeground": "#0a3069",
199
+ "symbolIcon.unitForeground": "#0550ae",
200
+ "symbolIcon.variableForeground": "#953800",
201
+ "symbolIcon.constantForeground": "#116329",
202
+ "terminal.foreground": "#1f2328",
203
+ "terminal.ansiBlack": "#24292f",
204
+ "terminal.ansiRed": "#cf222e",
205
+ "terminal.ansiGreen": "#116329",
206
+ "terminal.ansiYellow": "#4d2d00",
207
+ "terminal.ansiBlue": "#0969da",
208
+ "terminal.ansiMagenta": "#8250df",
209
+ "terminal.ansiCyan": "#1b7c83",
210
+ "terminal.ansiWhite": "#6e7781",
211
+ "terminal.ansiBrightBlack": "#57606a",
212
+ "terminal.ansiBrightRed": "#a40e26",
213
+ "terminal.ansiBrightGreen": "#1a7f37",
214
+ "terminal.ansiBrightYellow": "#633c01",
215
+ "terminal.ansiBrightBlue": "#218bff",
216
+ "terminal.ansiBrightMagenta": "#a475f9",
217
+ "terminal.ansiBrightCyan": "#3192aa",
218
+ "terminal.ansiBrightWhite": "#8c959f",
219
+ "editorBracketHighlight.foreground1": "#0969da",
220
+ "editorBracketHighlight.foreground2": "#1a7f37",
221
+ "editorBracketHighlight.foreground3": "#9a6700",
222
+ "editorBracketHighlight.foreground4": "#cf222e",
223
+ "editorBracketHighlight.foreground5": "#bf3989",
224
+ "editorBracketHighlight.foreground6": "#8250df",
225
+ "editorBracketHighlight.unexpectedBracket.foreground": "#656d76",
226
+ "gitDecoration.addedResourceForeground": "#1a7f37",
227
+ "gitDecoration.modifiedResourceForeground": "#9a6700",
228
+ "gitDecoration.deletedResourceForeground": "#cf222e",
229
+ "gitDecoration.untrackedResourceForeground": "#1a7f37",
230
+ "gitDecoration.ignoredResourceForeground": "#6e7781",
231
+ "gitDecoration.conflictingResourceForeground": "#bc4c00",
232
+ "gitDecoration.submoduleResourceForeground": "#656d76",
233
+ "debugToolBar.background": "#ffffff",
234
+ "editor.stackFrameHighlightBackground": "#d4a72c66",
235
+ "editor.focusedStackFrameHighlightBackground": "#4ac26b66",
236
+ "settings.headerForeground": "#1f2328",
237
+ "settings.modifiedItemIndicator": "#d4a72c66",
238
+ "welcomePage.buttonBackground": "#f6f8fa",
239
+ "welcomePage.buttonHoverBackground": "#f3f4f6"
240
+ },
241
+ "semanticHighlighting": true,
242
+ "tokenColors": [
243
+ {
244
+ "scope": ["comment", "punctuation.definition.comment", "string.comment"],
245
+ "settings": {
246
+ "foreground": "#6e7781"
247
+ }
248
+ },
249
+ {
250
+ "scope": ["constant.other.placeholder", "constant.character"],
251
+ "settings": {
252
+ "foreground": "#cf222e"
253
+ }
254
+ },
255
+ {
256
+ "scope": [
257
+ "constant",
258
+ "entity.name.constant",
259
+ "variable.other.constant",
260
+ "variable.other.enummember",
261
+ "variable.language",
262
+ "entity"
263
+ ],
264
+ "settings": {
265
+ "foreground": "#0550ae"
266
+ }
267
+ },
268
+ {
269
+ "scope": [
270
+ "entity.name",
271
+ "meta.export.default",
272
+ "meta.definition.variable"
273
+ ],
274
+ "settings": {
275
+ "foreground": "#953800"
276
+ }
277
+ },
278
+ {
279
+ "scope": [
280
+ "variable.parameter.function",
281
+ "meta.jsx.children",
282
+ "meta.block",
283
+ "meta.tag.attributes",
284
+ "entity.name.constant",
285
+ "meta.object.member",
286
+ "meta.embedded.expression"
287
+ ],
288
+ "settings": {
289
+ "foreground": "#1f2328"
290
+ }
291
+ },
292
+ {
293
+ "scope": "entity.name.function",
294
+ "settings": {
295
+ "foreground": "#8250df"
296
+ }
297
+ },
298
+ {
299
+ "scope": ["entity.name.tag", "support.class.component"],
300
+ "settings": {
301
+ "foreground": "#116329"
302
+ }
303
+ },
304
+ {
305
+ "scope": "keyword",
306
+ "settings": {
307
+ "foreground": "#cf222e"
308
+ }
309
+ },
310
+ {
311
+ "scope": ["storage", "storage.type"],
312
+ "settings": {
313
+ "foreground": "#cf222e"
314
+ }
315
+ },
316
+ {
317
+ "scope": [
318
+ "storage.modifier.package",
319
+ "storage.modifier.import",
320
+ "storage.type.java"
321
+ ],
322
+ "settings": {
323
+ "foreground": "#1f2328"
324
+ }
325
+ },
326
+ {
327
+ "scope": ["string", "string punctuation.section.embedded source"],
328
+ "settings": {
329
+ "foreground": "#0a3069"
330
+ }
331
+ },
332
+ {
333
+ "scope": "support",
334
+ "settings": {
335
+ "foreground": "#0550ae"
336
+ }
337
+ },
338
+ {
339
+ "scope": "meta.property-name",
340
+ "settings": {
341
+ "foreground": "#0550ae"
342
+ }
343
+ },
344
+ {
345
+ "scope": "variable",
346
+ "settings": {
347
+ "foreground": "#953800"
348
+ }
349
+ },
350
+ {
351
+ "scope": "variable.other",
352
+ "settings": {
353
+ "foreground": "#1f2328"
354
+ }
355
+ },
356
+ {
357
+ "scope": "invalid.broken",
358
+ "settings": {
359
+ "fontStyle": "italic",
360
+ "foreground": "#82071e"
361
+ }
362
+ },
363
+ {
364
+ "scope": "invalid.deprecated",
365
+ "settings": {
366
+ "fontStyle": "italic",
367
+ "foreground": "#82071e"
368
+ }
369
+ },
370
+ {
371
+ "scope": "invalid.illegal",
372
+ "settings": {
373
+ "fontStyle": "italic",
374
+ "foreground": "#82071e"
375
+ }
376
+ },
377
+ {
378
+ "scope": "invalid.unimplemented",
379
+ "settings": {
380
+ "fontStyle": "italic",
381
+ "foreground": "#82071e"
382
+ }
383
+ },
384
+ {
385
+ "scope": "carriage-return",
386
+ "settings": {
387
+ "fontStyle": "italic underline",
388
+ "background": "#cf222e",
389
+ "foreground": "#f6f8fa",
390
+ "content": "^M"
391
+ }
392
+ },
393
+ {
394
+ "scope": "message.error",
395
+ "settings": {
396
+ "foreground": "#82071e"
397
+ }
398
+ },
399
+ {
400
+ "scope": "string variable",
401
+ "settings": {
402
+ "foreground": "#0550ae"
403
+ }
404
+ },
405
+ {
406
+ "scope": ["source.regexp", "string.regexp"],
407
+ "settings": {
408
+ "foreground": "#0a3069"
409
+ }
410
+ },
411
+ {
412
+ "scope": [
413
+ "string.regexp.character-class",
414
+ "string.regexp constant.character.escape",
415
+ "string.regexp source.ruby.embedded",
416
+ "string.regexp string.regexp.arbitrary-repitition"
417
+ ],
418
+ "settings": {
419
+ "foreground": "#0a3069"
420
+ }
421
+ },
422
+ {
423
+ "scope": "string.regexp constant.character.escape",
424
+ "settings": {
425
+ "fontStyle": "bold",
426
+ "foreground": "#116329"
427
+ }
428
+ },
429
+ {
430
+ "scope": "support.constant",
431
+ "settings": {
432
+ "foreground": "#0550ae"
433
+ }
434
+ },
435
+ {
436
+ "scope": "support.variable",
437
+ "settings": {
438
+ "foreground": "#0550ae"
439
+ }
440
+ },
441
+ {
442
+ "scope": "support.type.property-name.json",
443
+ "settings": {
444
+ "foreground": "#116329"
445
+ }
446
+ },
447
+ {
448
+ "scope": "meta.module-reference",
449
+ "settings": {
450
+ "foreground": "#0550ae"
451
+ }
452
+ },
453
+ {
454
+ "scope": "punctuation.definition.list.begin.markdown",
455
+ "settings": {
456
+ "foreground": "#953800"
457
+ }
458
+ },
459
+ {
460
+ "scope": ["markup.heading", "markup.heading entity.name"],
461
+ "settings": {
462
+ "fontStyle": "bold",
463
+ "foreground": "#0550ae"
464
+ }
465
+ },
466
+ {
467
+ "scope": "markup.quote",
468
+ "settings": {
469
+ "foreground": "#116329"
470
+ }
471
+ },
472
+ {
473
+ "scope": "markup.italic",
474
+ "settings": {
475
+ "fontStyle": "italic",
476
+ "foreground": "#1f2328"
477
+ }
478
+ },
479
+ {
480
+ "scope": "markup.bold",
481
+ "settings": {
482
+ "fontStyle": "bold",
483
+ "foreground": "#1f2328"
484
+ }
485
+ },
486
+ {
487
+ "scope": ["markup.underline"],
488
+ "settings": {
489
+ "fontStyle": "underline"
490
+ }
491
+ },
492
+ {
493
+ "scope": ["markup.strikethrough"],
494
+ "settings": {
495
+ "fontStyle": "strikethrough"
496
+ }
497
+ },
498
+ {
499
+ "scope": "markup.inline.raw",
500
+ "settings": {
501
+ "foreground": "#0550ae"
502
+ }
503
+ },
504
+ {
505
+ "scope": [
506
+ "markup.deleted",
507
+ "meta.diff.header.from-file",
508
+ "punctuation.definition.deleted"
509
+ ],
510
+ "settings": {
511
+ "background": "#ffebe9",
512
+ "foreground": "#82071e"
513
+ }
514
+ },
515
+ {
516
+ "scope": ["punctuation.section.embedded"],
517
+ "settings": {
518
+ "foreground": "#cf222e"
519
+ }
520
+ },
521
+ {
522
+ "scope": [
523
+ "markup.inserted",
524
+ "meta.diff.header.to-file",
525
+ "punctuation.definition.inserted"
526
+ ],
527
+ "settings": {
528
+ "background": "#dafbe1",
529
+ "foreground": "#116329"
530
+ }
531
+ },
532
+ {
533
+ "scope": ["markup.changed", "punctuation.definition.changed"],
534
+ "settings": {
535
+ "background": "#ffd8b5",
536
+ "foreground": "#953800"
537
+ }
538
+ },
539
+ {
540
+ "scope": ["markup.ignored", "markup.untracked"],
541
+ "settings": {
542
+ "foreground": "#eaeef2",
543
+ "background": "#0550ae"
544
+ }
545
+ },
546
+ {
547
+ "scope": "meta.diff.range",
548
+ "settings": {
549
+ "foreground": "#8250df",
550
+ "fontStyle": "bold"
551
+ }
552
+ },
553
+ {
554
+ "scope": "meta.diff.header",
555
+ "settings": {
556
+ "foreground": "#0550ae"
557
+ }
558
+ },
559
+ {
560
+ "scope": "meta.separator",
561
+ "settings": {
562
+ "fontStyle": "bold",
563
+ "foreground": "#0550ae"
564
+ }
565
+ },
566
+ {
567
+ "scope": "meta.output",
568
+ "settings": {
569
+ "foreground": "#0550ae"
570
+ }
571
+ },
572
+ {
573
+ "scope": [
574
+ "brackethighlighter.tag",
575
+ "brackethighlighter.curly",
576
+ "brackethighlighter.round",
577
+ "brackethighlighter.square",
578
+ "brackethighlighter.angle",
579
+ "brackethighlighter.quote"
580
+ ],
581
+ "settings": {
582
+ "foreground": "#57606a"
583
+ }
584
+ },
585
+ {
586
+ "scope": "brackethighlighter.unmatched",
587
+ "settings": {
588
+ "foreground": "#82071e"
589
+ }
590
+ },
591
+ {
592
+ "scope": ["constant.other.reference.link", "string.other.link"],
593
+ "settings": {
594
+ "foreground": "#0a3069"
595
+ }
596
+ }
597
+ ]
598
+ }
package/tsconfig.json CHANGED
@@ -39,6 +39,7 @@
39
39
  "strictFunctionTypes": true,
40
40
  "strictBindCallApply": true,
41
41
  "strictPropertyInitialization": true,
42
+ "strictBuiltinIteratorReturn": true,
42
43
  "alwaysStrict": true,
43
44
  "useUnknownInCatchVariables": true
44
45
  },
@@ -70,6 +71,7 @@
70
71
  "./src/graph-editor/PackageableElementOption.tsx",
71
72
  "./src/code-editor/themes/Github-Theme-dark-dimmed.json",
72
73
  "./src/code-editor/themes/Github-Theme-dark.json",
74
+ "./src/code-editor/themes/Github-Theme-light.json",
73
75
  "./src/code-editor/themes/Material-Theme-Darker.json",
74
76
  "./src/code-editor/themes/Material-Theme-Default.json",
75
77
  "./src/code-editor/themes/OneDark-Pro-darker.json",