@@ -0,0 +1,710 @@
2+var monacoEditor = require('@monaco-editor/react');
4+exports.editorImpl = monacoEditor.default;
6+exports.initMonacoImpl = function() {
7+ return monacoEditor.monaco.init();
10+exports.getValue = function(editor) {
12+ return editor.getValue();
16+exports.defineThemeImpl = function(monacoInstance) {
17+ return function(name) {
18+ return function(theme) {
20+ return monacoInstance.editor.defineTheme(name, theme);
26+exports.setThemeImpl = function(monacoInstance) {
27+ return function(theme) {
29+ return monacoInstance.editor.setTheme(theme);
34+exports.nightOwlTheme = {
39+ "foreground": "637777",
43+ "foreground": "addb67",
47+ "foreground": "ecc48d",
48+ "token": "vstring.quoted"
51+ "foreground": "ecc48d",
52+ "token": "variable.other.readwrite.js"
55+ "foreground": "5ca7e4",
56+ "token": "string.regexp"
59+ "foreground": "5ca7e4",
60+ "token": "string.regexp keyword.other"
63+ "foreground": "5f7e97",
64+ "token": "meta.function punctuation.separator.comma"
67+ "foreground": "f78c6c",
68+ "token": "constant.numeric"
71+ "foreground": "f78c6c",
72+ "token": "constant.character.numeric"
75+ "foreground": "addb67",
79+ "foreground": "c792ea",
83+ "foreground": "c792ea",
84+ "token": "punctuation.accessor"
87+ "foreground": "c792ea",
91+ "foreground": "c792ea",
92+ "token": "meta.var.expr"
95+ "foreground": "c792ea",
96+ "token": "meta.class meta.method.declaration meta.var.expr storage.type.jsm"
99+ "foreground": "c792ea",
100+ "token": "storage.type.property.js"
103+ "foreground": "c792ea",
104+ "token": "storage.type.property.ts"
107+ "foreground": "c792ea",
108+ "token": "storage.type.property.tsx"
111+ "foreground": "82aaff",
112+ "token": "storage.type"
115+ "foreground": "ffcb8b",
116+ "token": "entity.name.class"
119+ "foreground": "ffcb8b",
120+ "token": "meta.class entity.name.type.class"
123+ "foreground": "addb67",
124+ "token": "entity.other.inherited-class"
127+ "foreground": "82aaff",
128+ "token": "entity.name.function"
131+ "foreground": "addb67",
132+ "token": "punctuation.definition.variable"
135+ "foreground": "d3423e",
136+ "token": "punctuation.section.embedded"
139+ "foreground": "d6deeb",
140+ "token": "punctuation.terminator.expression"
143+ "foreground": "d6deeb",
144+ "token": "punctuation.definition.arguments"
147+ "foreground": "d6deeb",
148+ "token": "punctuation.definition.array"
151+ "foreground": "d6deeb",
152+ "token": "punctuation.section.array"
155+ "foreground": "d6deeb",
156+ "token": "meta.array"
159+ "foreground": "d9f5dd",
160+ "token": "punctuation.definition.list.begin"
163+ "foreground": "d9f5dd",
164+ "token": "punctuation.definition.list.end"
167+ "foreground": "d9f5dd",
168+ "token": "punctuation.separator.arguments"
171+ "foreground": "d9f5dd",
172+ "token": "punctuation.definition.list"
175+ "foreground": "d3423e",
176+ "token": "string.template meta.template.expression"
179+ "foreground": "d6deeb",
180+ "token": "string.template punctuation.definition.string"
183+ "foreground": "c792ea",
184+ "fontStyle": "italic",
188+ "foreground": "addb67",
189+ "fontStyle": "bold",
193+ "foreground": "82aaff",
194+ "token": "constant.language"
197+ "foreground": "82aaff",
198+ "token": "punctuation.definition.constant"
201+ "foreground": "82aaff",
202+ "token": "variable.other.constant"
205+ "foreground": "7fdbca",
206+ "token": "support.function.construct"
209+ "foreground": "7fdbca",
210+ "token": "keyword.other.new"
213+ "foreground": "82aaff",
214+ "token": "constant.character"
217+ "foreground": "82aaff",
218+ "token": "constant.other"
221+ "foreground": "f78c6c",
222+ "token": "constant.character.escape"
225+ "foreground": "addb67",
226+ "token": "entity.other.inherited-class"
229+ "foreground": "d7dbe0",
230+ "token": "variable.parameter"
233+ "foreground": "7fdbca",
234+ "token": "entity.name.tag"
237+ "foreground": "cc2996",
238+ "token": "punctuation.definition.tag.html"
241+ "foreground": "cc2996",
242+ "token": "punctuation.definition.tag.begin"
245+ "foreground": "cc2996",
246+ "token": "punctuation.definition.tag.end"
249+ "foreground": "addb67",
250+ "token": "entity.other.attribute-name"
253+ "foreground": "addb67",
254+ "token": "entity.name.tag.custom"
257+ "foreground": "82aaff",
258+ "token": "support.function"
261+ "foreground": "82aaff",
262+ "token": "support.constant"
265+ "foreground": "7fdbca",
266+ "token": "upport.constant.meta.property-value"
269+ "foreground": "addb67",
270+ "token": "support.type"
273+ "foreground": "addb67",
274+ "token": "support.class"
277+ "foreground": "addb67",
278+ "token": "support.variable.dom"
281+ "foreground": "7fdbca",
282+ "token": "support.constant"
285+ "foreground": "7fdbca",
286+ "token": "keyword.other.special-method"
289+ "foreground": "7fdbca",
290+ "token": "keyword.other.new"
293+ "foreground": "7fdbca",
294+ "token": "keyword.other.debugger"
297+ "foreground": "7fdbca",
298+ "token": "keyword.control"
301+ "foreground": "c792ea",
302+ "token": "keyword.operator.comparison"
305+ "foreground": "c792ea",
306+ "token": "keyword.control.flow.js"
309+ "foreground": "c792ea",
310+ "token": "keyword.control.flow.ts"
313+ "foreground": "c792ea",
314+ "token": "keyword.control.flow.tsx"
317+ "foreground": "c792ea",
318+ "token": "keyword.control.ruby"
321+ "foreground": "c792ea",
322+ "token": "keyword.control.module.ruby"
325+ "foreground": "c792ea",
326+ "token": "keyword.control.class.ruby"
329+ "foreground": "c792ea",
330+ "token": "keyword.control.def.ruby"
333+ "foreground": "c792ea",
334+ "token": "keyword.control.loop.js"
337+ "foreground": "c792ea",
338+ "token": "keyword.control.loop.ts"
341+ "foreground": "c792ea",
342+ "token": "keyword.control.import.js"
345+ "foreground": "c792ea",
346+ "token": "keyword.control.import.ts"
349+ "foreground": "c792ea",
350+ "token": "keyword.control.import.tsx"
353+ "foreground": "c792ea",
354+ "token": "keyword.control.from.js"
357+ "foreground": "c792ea",
358+ "token": "keyword.control.from.ts"
361+ "foreground": "c792ea",
362+ "token": "keyword.control.from.tsx"
365+ "foreground": "ffffff",
366+ "background": "ff2c83",
370+ "foreground": "ffffff",
371+ "background": "d3423e",
372+ "token": "invalid.deprecated"
375+ "foreground": "7fdbca",
376+ "token": "keyword.operator"
379+ "foreground": "c792ea",
380+ "token": "keyword.operator.relational"
383+ "foreground": "c792ea",
384+ "token": "keyword.operator.assignement"
387+ "foreground": "c792ea",
388+ "token": "keyword.operator.arithmetic"
391+ "foreground": "c792ea",
392+ "token": "keyword.operator.bitwise"
395+ "foreground": "c792ea",
396+ "token": "keyword.operator.increment"
399+ "foreground": "c792ea",
400+ "token": "keyword.operator.ternary"
403+ "foreground": "637777",
404+ "token": "comment.line.double-slash"
407+ "foreground": "cdebf7",
411+ "foreground": "ff5874",
412+ "token": "constant.language.null"
415+ "foreground": "d6deeb",
416+ "token": "meta.brace"
419+ "foreground": "c792ea",
420+ "token": "meta.delimiter.period"
423+ "foreground": "d9f5dd",
424+ "token": "punctuation.definition.string"
427+ "foreground": "ff5874",
428+ "token": "constant.language.boolean"
431+ "foreground": "ffffff",
432+ "token": "object.comma"
435+ "foreground": "7fdbca",
436+ "token": "variable.parameter.function"
439+ "foreground": "80cbc4",
440+ "token": "support.type.vendor.property-name"
443+ "foreground": "80cbc4",
444+ "token": "support.constant.vendor.property-value"
447+ "foreground": "80cbc4",
448+ "token": "support.type.property-name"
451+ "foreground": "80cbc4",
452+ "token": "meta.property-list entity.name.tag"
455+ "foreground": "57eaf1",
456+ "token": "meta.property-list entity.name.tag.reference"
459+ "foreground": "f78c6c",
460+ "token": "constant.other.color.rgb-value punctuation.definition.constant"
463+ "foreground": "ffeb95",
464+ "token": "constant.other.color"
467+ "foreground": "ffeb95",
468+ "token": "keyword.other.unit"
471+ "foreground": "c792ea",
472+ "token": "meta.selector"
475+ "foreground": "fad430",
476+ "token": "entity.other.attribute-name.id"
479+ "foreground": "80cbc4",
480+ "token": "meta.property-name"
483+ "foreground": "c792ea",
484+ "token": "entity.name.tag.doctype"
487+ "foreground": "c792ea",
488+ "token": "meta.tag.sgml.doctype"
491+ "foreground": "d9f5dd",
492+ "token": "punctuation.definition.parameters"
495+ "foreground": "ecc48d",
496+ "token": "string.quoted"
499+ "foreground": "ecc48d",
500+ "token": "string.quoted.double"
503+ "foreground": "ecc48d",
504+ "token": "string.quoted.single"
507+ "foreground": "addb67",
508+ "token": "support.constant.math"
511+ "foreground": "addb67",
512+ "token": "support.type.property-name.json"
515+ "foreground": "addb67",
516+ "token": "support.constant.json"
519+ "foreground": "c789d6",
520+ "token": "meta.structure.dictionary.value.json string.quoted.double"
523+ "foreground": "80cbc4",
524+ "token": "string.quoted.double.json punctuation.definition.string.json"
527+ "foreground": "ff5874",
528+ "token": "meta.structure.dictionary.json meta.structure.dictionary.value constant.language"
531+ "foreground": "d6deeb",
532+ "token": "variable.other.ruby"
535+ "foreground": "ecc48d",
536+ "token": "entity.name.type.class.ruby"
539+ "foreground": "ecc48d",
540+ "token": "keyword.control.class.ruby"
543+ "foreground": "ecc48d",
544+ "token": "meta.class.ruby"
547+ "foreground": "7fdbca",
548+ "token": "constant.language.symbol.hashkey.ruby"
551+ "foreground": "e0eddd",
552+ "background": "a57706",
553+ "fontStyle": "italic",
554+ "token": "meta.diff"
557+ "foreground": "e0eddd",
558+ "background": "a57706",
559+ "fontStyle": "italic",
560+ "token": "meta.diff.header"
563+ "foreground": "ef535090",
564+ "fontStyle": "italic",
565+ "token": "markup.deleted"
568+ "foreground": "a2bffc",
569+ "fontStyle": "italic",
570+ "token": "markup.changed"
573+ "foreground": "a2bffc",
574+ "fontStyle": "italic",
575+ "token": "meta.diff.header.git"
578+ "foreground": "a2bffc",
579+ "fontStyle": "italic",
580+ "token": "meta.diff.header.from-file"
583+ "foreground": "a2bffc",
584+ "fontStyle": "italic",
585+ "token": "meta.diff.header.to-file"
588+ "foreground": "219186",
589+ "background": "eae3ca",
590+ "token": "markup.inserted"
593+ "foreground": "d3201f",
594+ "token": "other.package.exclude"
597+ "foreground": "d3201f",
598+ "token": "other.remove"
601+ "foreground": "269186",
602+ "token": "other.add"
605+ "foreground": "ff5874",
606+ "token": "constant.language.python"
609+ "foreground": "82aaff",
610+ "token": "variable.parameter.function.python"
613+ "foreground": "82aaff",
614+ "token": "meta.function-call.arguments.python"
617+ "foreground": "b2ccd6",
618+ "token": "meta.function-call.python"
621+ "foreground": "b2ccd6",
622+ "token": "meta.function-call.generic.python"
625+ "foreground": "d6deeb",
626+ "token": "punctuation.python"
629+ "foreground": "addb67",
630+ "token": "entity.name.function.decorator.python"
633+ "foreground": "8eace3",
634+ "token": "source.python variable.language.special"
637+ "foreground": "82b1ff",
638+ "token": "markup.heading.markdown"
641+ "foreground": "c792ea",
642+ "fontStyle": "italic",
643+ "token": "markup.italic.markdown"
646+ "foreground": "addb67",
647+ "fontStyle": "bold",
648+ "token": "markup.bold.markdown"
651+ "foreground": "697098",
652+ "token": "markup.quote.markdown"
655+ "foreground": "80cbc4",
656+ "token": "markup.inline.raw.markdown"
659+ "foreground": "ff869a",
660+ "token": "markup.underline.link.markdown"
663+ "foreground": "ff869a",
664+ "token": "markup.underline.link.image.markdown"
667+ "foreground": "d6deeb",
668+ "token": "string.other.link.title.markdown"
671+ "foreground": "d6deeb",
672+ "token": "string.other.link.description.markdown"
675+ "foreground": "82b1ff",
676+ "token": "punctuation.definition.string.markdown"
679+ "foreground": "82b1ff",
680+ "token": "punctuation.definition.string.begin.markdown"
683+ "foreground": "82b1ff",
684+ "token": "punctuation.definition.string.end.markdown"
687+ "foreground": "82b1ff",
688+ "token": "meta.link.inline.markdown punctuation.definition.string"
691+ "foreground": "7fdbca",
692+ "token": "punctuation.definition.metadata.markdown"
695+ "foreground": "82b1ff",
696+ "token": "beginning.punctuation.definition.list.markdown"
700+ "editor.foreground": "#d6deeb",
701+ "editor.background": "#011627",
702+ "editor.selectionBackground": "#5f7e9779",
703+ "editor.lineHighlightBackground": "#010E17",
704+ "editorCursor.foreground": "#80a4c2",
705+ "editorWhitespace.foreground": "#2e2040",
706+ "editorIndentGuide.background": "#5e81ce52",
707+ "editor.selectionHighlightBorder": "#122d42"