@@ -1,14 +1,14 @@
11"use strict";
2−var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
2+var __createBinding = (this && this.__createBinding) || (Object.create ? (function (o, m, k, k2) {
33 if (k2 === undefined) k2 = k;
4− Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5−}) : (function(o, m, k, k2) {
4+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
5+}) : (function (o, m, k, k2) {
66 if (k2 === undefined) k2 = k;
77 o[k2] = m[k];
88}));
9−var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
9+var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function (o, v) {
1010 Object.defineProperty(o, "default", { enumerable: true, value: v });
11−}) : function(o, v) {
11+}) : function (o, v) {
1212 o["default"] = v;
1313});
1414var __importStar = (this && this.__importStar) || function (mod) {
@@ -28,8 +28,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
2828 });
2929};
3030var __generator = (this && this.__generator) || function (thisArg, body) {
31− var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
32− return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
31+ var _ = { label: 0, sent: function () { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
32+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
3333 function verb(n) { return function (v) { return step([n, v]); }; }
3434 function step(op) {
3535 if (f) throw new TypeError("Generator is already executing.");
@@ -54,29 +54,43 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
5454 if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
5555 }
5656};
57−exports.monacoEditorImpl = function () { return __awaiter(void 0, void 0, void 0, function () {
58− var x;
59− return __generator(this, function (_a) {
60− switch (_a.label) {
61− case 0: return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require("react-monaco-editor")); })];
62− case 1:
63− x = _a.sent();
64− return [2 /*return*/, x.default];
65− }
57+exports.monacoEditorImpl = function () {
58+ return __awaiter(void 0, void 0, void 0, function () {
59+ var x;
60+ return __generator(this, function (_a) {
61+ switch (_a.label) {
62+ case 0: return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require("react-monaco-editor")); })];
63+ case 1:
64+ x = _a.sent();
65+ return [2 /*return*/, x.default];
66+ }
67+ });
6668 });
67−}); };
69+};
6870exports.getValue = function (editor) {
6971 return function () {
7072 return editor.getValue();
7173 };
7274};
73−exports.colorizeImpl = function (text) { return function (languageId) { return function (options) { return function (editor) {
74− return editor.colorize(text, languageId, options);
75−}; }; }; };
75+exports.colorizeImpl = function (text) {
76+ return function (languageId) {
77+ return function (options) {
78+ return function (editor) {
79+ return editor.colorize(text, languageId, options);
80+ };
81+ };
82+ };
83+};
7684exports.setValue = function (value) { return function (editor) { return function () { return editor.setValue(value); }; }; };
77−exports.defineThemeImpl = function (monacoInstance) { return function (name) { return function (theme) { return function () {
78− return monacoInstance.editor.defineTheme(name, theme);
79−}; }; }; };
85+exports.defineThemeImpl = function (monacoInstance) {
86+ return function (name) {
87+ return function (theme) {
88+ return function () {
89+ return monacoInstance.editor.defineTheme(name, theme);
90+ };
91+ };
92+ };
93+};
8094exports.setThemeImpl = function (monacoInstance) {
8195 return function (theme) {
8296 return function () {
@@ -100,777 +114,782 @@ exports.setMonarchTokensProviderImpl = function (monacoInstance) {
100114 };
101115 };
102116};
103−exports.vsCodeTheme = function (bg) { return ({
104− base: "vs",
105− inherit: true,
106− rules: [
107− {
108− foreground: "008e00",
109− token: "comment",
110− },
111− {
112− foreground: "7d4726",
113− token: "meta.preprocessor",
114− },
115− {
116− foreground: "7d4726",
117− token: "keyword.control.import",
118− },
119− {
120− foreground: "df0002",
121− token: "string",
122− },
123− {
124− foreground: "3a00dc",
125− token: "constant.numeric",
126− },
127− {
128− foreground: "c800a4",
129− token: "constant.language",
130− },
131− {
132− foreground: "275a5e",
133− token: "constant.character",
134− },
135− {
136− foreground: "275a5e",
137− token: "constant.other",
138− },
139− {
140− foreground: "c800a4",
141− token: "variable.language",
142− },
143− {
144− foreground: "c800a4",
145− token: "variable.other",
146− },
147− {
148− foreground: "c800a4",
149− token: "keyword",
150− },
151− {
152− foreground: "c900a4",
153− token: "storage",
154− },
155− {
156− foreground: "438288",
157− token: "entity.name.class",
158− },
159− {
160− foreground: "790ead",
161− token: "entity.name.tag",
162− },
163− {
164− foreground: "450084",
165− token: "entity.other.attribute-name",
166− },
167− {
168− foreground: "450084",
169− token: "support.function",
170− },
171− {
172− foreground: "450084",
173− token: "support.constant",
174− },
175− {
176− foreground: "790ead",
177− token: "support.type",
178− },
179− {
180− foreground: "790ead",
181− token: "support.class",
182− },
183− {
184− foreground: "790ead",
185− token: "support.other.variable",
186− },
187− ],
188− colors: {
189− "editor.foreground": "#000000",
190− "editor.background": bg,
191− "editor.selectionBackground": "#B5D5FF",
192− "editor.lineHighlightBackground": "#00000012",
193− "editorCursor.foreground": "#000000",
194− "editorWhitespace.foreground": "#BFBFBF",
195− },
196−}); };
197−exports.nightOwlTheme = function (bg) { return ({
198− base: "vs-dark",
199− inherit: true,
200− rules: [
201− {
202− foreground: "637777",
203− token: "comment",
204− },
205− {
206− foreground: "addb67",
207− token: "string",
208− },
209− {
210− foreground: "ecc48d",
211− token: "vstring.quoted",
212− },
213− {
214− foreground: "ecc48d",
215− token: "variable.other.readwrite.js",
216− },
217− {
218− foreground: "5ca7e4",
219− token: "string.regexp",
220− },
221− {
222− foreground: "5ca7e4",
223− token: "string.regexp keyword.other",
224− },
225− {
226− foreground: "5f7e97",
227− token: "meta.function punctuation.separator.comma",
228− },
229− {
230− foreground: "f78c6c",
231− token: "constant.numeric",
232− },
233− {
234− foreground: "f78c6c",
235− token: "constant.character.numeric",
236− },
237− {
238− foreground: "addb67",
239− token: "variable",
240− },
241− {
242− foreground: "c792ea",
243− token: "keyword",
244− },
245− {
246− foreground: "c792ea",
247− token: "punctuation.accessor",
248− },
249− {
250− foreground: "c792ea",
251− token: "storage",
252− },
253− {
254− foreground: "c792ea",
255− token: "meta.var.expr",
256− },
257− {
258− foreground: "c792ea",
259− token: "meta.class meta.method.declaration meta.var.expr storage.type.jsm",
260− },
261− {
262− foreground: "c792ea",
263− token: "storage.type.property.js",
264− },
265− {
266− foreground: "c792ea",
267− token: "storage.type.property.ts",
268− },
269− {
270− foreground: "c792ea",
271− token: "storage.type.property.tsx",
272− },
273− {
274− foreground: "82aaff",
275− token: "storage.type",
276− },
277− {
278− foreground: "ffcb8b",
279− token: "entity.name.class",
280− },
281− {
282− foreground: "ffcb8b",
283− token: "meta.class entity.name.type.class",
284− },
285− {
286− foreground: "addb67",
287− token: "entity.other.inherited-class",
288− },
289− {
290− foreground: "82aaff",
291− token: "entity.name.function",
292− },
293− {
294− foreground: "addb67",
295− token: "punctuation.definition.variable",
296− },
297− {
298− foreground: "d3423e",
299− token: "punctuation.section.embedded",
300− },
301− {
302− foreground: "d6deeb",
303− token: "punctuation.terminator.expression",
304− },
305− {
306− foreground: "d6deeb",
307− token: "punctuation.definition.arguments",
308− },
309− {
310− foreground: "d6deeb",
311− token: "punctuation.definition.array",
312− },
313− {
314− foreground: "d6deeb",
315− token: "punctuation.section.array",
316− },
317− {
318− foreground: "d6deeb",
319− token: "meta.array",
320− },
321− {
322− foreground: "d9f5dd",
323− token: "punctuation.definition.list.begin",
324− },
325− {
326− foreground: "d9f5dd",
327− token: "punctuation.definition.list.end",
328− },
329− {
330− foreground: "d9f5dd",
331− token: "punctuation.separator.arguments",
332− },
333− {
334− foreground: "d9f5dd",
335− token: "punctuation.definition.list",
336− },
337− {
338− foreground: "d3423e",
339− token: "string.template meta.template.expression",
340− },
341− {
342− foreground: "d6deeb",
343− token: "string.template punctuation.definition.string",
344− },
345− {
346− foreground: "c792ea",
347− fontStyle: "italic",
348− token: "italic",
349− },
350− {
351− foreground: "addb67",
352− fontStyle: "bold",
353− token: "bold",
354− },
355− {
356− foreground: "82aaff",
357− token: "constant.language",
358− },
359− {
360− foreground: "82aaff",
361− token: "punctuation.definition.constant",
362− },
363− {
364− foreground: "82aaff",
365− token: "variable.other.constant",
366− },
367− {
368− foreground: "7fdbca",
369− token: "support.function.construct",
370− },
371− {
372− foreground: "7fdbca",
373− token: "keyword.other.new",
374− },
375− {
376− foreground: "82aaff",
377− token: "constant.character",
378− },
379− {
380− foreground: "82aaff",
381− token: "constant.other",
382− },
383− {
384− foreground: "f78c6c",
385− token: "constant.character.escape",
386− },
387− {
388− foreground: "addb67",
389− token: "entity.other.inherited-class",
390− },
391− {
392− foreground: "d7dbe0",
393− token: "variable.parameter",
394− },
395− {
396− foreground: "7fdbca",
397− token: "entity.name.tag",
398− },
399− {
400− foreground: "cc2996",
401− token: "punctuation.definition.tag.html",
402− },
403− {
404− foreground: "cc2996",
405− token: "punctuation.definition.tag.begin",
406− },
407− {
408− foreground: "cc2996",
409− token: "punctuation.definition.tag.end",
410− },
411− {
412− foreground: "addb67",
413− token: "entity.other.attribute-name",
414− },
415− {
416− foreground: "addb67",
417− token: "entity.name.tag.custom",
418− },
419− {
420− foreground: "82aaff",
421− token: "support.function",
422− },
423− {
424− foreground: "82aaff",
425− token: "support.constant",
426− },
427− {
428− foreground: "7fdbca",
429− token: "upport.constant.meta.property-value",
430− },
431− {
432− foreground: "addb67",
433− token: "support.type",
434− },
435− {
436− foreground: "addb67",
437− token: "support.class",
438− },
439− {
440− foreground: "addb67",
441− token: "support.variable.dom",
442− },
443− {
444− foreground: "7fdbca",
445− token: "support.constant",
446− },
447− {
448− foreground: "7fdbca",
449− token: "keyword.other.special-method",
450− },
451− {
452− foreground: "7fdbca",
453− token: "keyword.other.new",
454− },
455− {
456− foreground: "7fdbca",
457− token: "keyword.other.debugger",
458− },
459− {
460− foreground: "7fdbca",
461− token: "keyword.control",
462− },
463− {
464− foreground: "c792ea",
465− token: "keyword.operator.comparison",
466− },
467− {
468− foreground: "c792ea",
469− token: "keyword.control.flow.js",
470− },
471− {
472− foreground: "c792ea",
473− token: "keyword.control.flow.ts",
474− },
475− {
476− foreground: "c792ea",
477− token: "keyword.control.flow.tsx",
478− },
479− {
480− foreground: "c792ea",
481− token: "keyword.control.ruby",
482− },
483− {
484− foreground: "c792ea",
485− token: "keyword.control.module.ruby",
486− },
487− {
488− foreground: "c792ea",
489− token: "keyword.control.class.ruby",
490− },
491− {
492− foreground: "c792ea",
493− token: "keyword.control.def.ruby",
494− },
495− {
496− foreground: "c792ea",
497− token: "keyword.control.loop.js",
498− },
499− {
500− foreground: "c792ea",
501− token: "keyword.control.loop.ts",
502− },
503− {
504− foreground: "c792ea",
505− token: "keyword.control.import.js",
506− },
507− {
508− foreground: "c792ea",
509− token: "keyword.control.import.ts",
510− },
511− {
512− foreground: "c792ea",
513− token: "keyword.control.import.tsx",
514− },
515− {
516− foreground: "c792ea",
517− token: "keyword.control.from.js",
518− },
519− {
520− foreground: "c792ea",
521− token: "keyword.control.from.ts",
522− },
523− {
524− foreground: "c792ea",
525− token: "keyword.control.from.tsx",
526− },
527− {
528− foreground: "ffffff",
529− background: "ff2c83",
530− token: "invalid",
531− },
532− {
533− foreground: "ffffff",
534− background: "d3423e",
535− token: "invalid.deprecated",
536− },
537− {
538− foreground: "7fdbca",
539− token: "keyword.operator",
540− },
541− {
542− foreground: "c792ea",
543− token: "keyword.operator.relational",
544− },
545− {
546− foreground: "c792ea",
547− token: "keyword.operator.assignement",
548− },
549− {
550− foreground: "c792ea",
551− token: "keyword.operator.arithmetic",
552− },
553− {
554− foreground: "c792ea",
555− token: "keyword.operator.bitwise",
556− },
557− {
558− foreground: "c792ea",
559− token: "keyword.operator.increment",
560− },
561− {
562− foreground: "c792ea",
563− token: "keyword.operator.ternary",
564− },
565− {
566− foreground: "637777",
567− token: "comment.line.double-slash",
568− },
569− {
570− foreground: "cdebf7",
571− token: "object",
572− },
573− {
574− foreground: "ff5874",
575− token: "constant.language.null",
576− },
577− {
578− foreground: "d6deeb",
579− token: "meta.brace",
580− },
581− {
582− foreground: "c792ea",
583− token: "meta.delimiter.period",
584− },
585− {
586− foreground: "d9f5dd",
587− token: "punctuation.definition.string",
588− },
589− {
590− foreground: "ff5874",
591− token: "constant.language.boolean",
592− },
593− {
594− foreground: "ffffff",
595− token: "object.comma",
596− },
597− {
598− foreground: "7fdbca",
599− token: "variable.parameter.function",
600− },
601− {
602− foreground: "80cbc4",
603− token: "support.type.vendor.property-name",
604− },
605− {
606− foreground: "80cbc4",
607− token: "support.constant.vendor.property-value",
608− },
609− {
610− foreground: "80cbc4",
611− token: "support.type.property-name",
612− },
613− {
614− foreground: "80cbc4",
615− token: "meta.property-list entity.name.tag",
616− },
617− {
618− foreground: "57eaf1",
619− token: "meta.property-list entity.name.tag.reference",
620− },
621− {
622− foreground: "f78c6c",
623− token: "constant.other.color.rgb-value punctuation.definition.constant",
624− },
625− {
626− foreground: "ffeb95",
627− token: "constant.other.color",
628− },
629− {
630− foreground: "ffeb95",
631− token: "keyword.other.unit",
632− },
633− {
634− foreground: "c792ea",
635− token: "meta.selector",
636− },
637− {
638− foreground: "fad430",
639− token: "entity.other.attribute-name.id",
640− },
641− {
642− foreground: "80cbc4",
643− token: "meta.property-name",
644− },
645− {
646− foreground: "c792ea",
647− token: "entity.name.tag.doctype",
648− },
649− {
650− foreground: "c792ea",
651− token: "meta.tag.sgml.doctype",
652− },
653− {
654− foreground: "d9f5dd",
655− token: "punctuation.definition.parameters",
656− },
657− {
658− foreground: "ecc48d",
659− token: "string.quoted",
660− },
661− {
662− foreground: "ecc48d",
663− token: "string.quoted.double",
664− },
665− {
666− foreground: "ecc48d",
667− token: "string.quoted.single",
668− },
669− {
670− foreground: "addb67",
671− token: "support.constant.math",
672− },
673− {
674− foreground: "addb67",
675− token: "support.type.property-name.json",
676− },
677− {
678− foreground: "addb67",
679− token: "support.constant.json",
680− },
681− {
682− foreground: "c789d6",
683− token: "meta.structure.dictionary.value.json string.quoted.double",
684− },
685− {
686− foreground: "80cbc4",
687− token: "string.quoted.double.json punctuation.definition.string.json",
688− },
689− {
690− foreground: "ff5874",
691− token: "meta.structure.dictionary.json meta.structure.dictionary.value constant.language",
692− },
693− {
694− foreground: "d6deeb",
695− token: "variable.other.ruby",
696− },
697− {
698− foreground: "ecc48d",
699− token: "entity.name.type.class.ruby",
700− },
701− {
702− foreground: "ecc48d",
703− token: "keyword.control.class.ruby",
704− },
705− {
706− foreground: "ecc48d",
707− token: "meta.class.ruby",
708− },
709− {
710− foreground: "7fdbca",
711− token: "constant.language.symbol.hashkey.ruby",
712− },
713− {
714− foreground: "e0eddd",
715− background: "a57706",
716− fontStyle: "italic",
717− token: "meta.diff",
718− },
719− {
720− foreground: "e0eddd",
721− background: "a57706",
722− fontStyle: "italic",
723− token: "meta.diff.header",
724− },
725− {
726− foreground: "ef535090",
727− fontStyle: "italic",
728− token: "markup.deleted",
729− },
730− {
731− foreground: "a2bffc",
732− fontStyle: "italic",
733− token: "markup.changed",
734− },
735− {
736− foreground: "a2bffc",
737− fontStyle: "italic",
738− token: "meta.diff.header.git",
739− },
740− {
741− foreground: "a2bffc",
742− fontStyle: "italic",
743− token: "meta.diff.header.from-file",
744− },
745− {
746− foreground: "a2bffc",
747− fontStyle: "italic",
748− token: "meta.diff.header.to-file",
749− },
750− {
751− foreground: "219186",
752− background: "eae3ca",
753− token: "markup.inserted",
754− },
755− {
756− foreground: "d3201f",
757− token: "other.package.exclude",
758− },
759− {
760− foreground: "d3201f",
761− token: "other.remove",
762− },
763− {
764− foreground: "269186",
765− token: "other.add",
766− },
767− {
768− foreground: "ff5874",
769− token: "constant.language.python",
770− },
771− {
772− foreground: "82aaff",
773− token: "variable.parameter.function.python",
774− },
775− {
776− foreground: "82aaff",
777− token: "meta.function-call.arguments.python",
778− },
779− {
780− foreground: "b2ccd6",
781− token: "meta.function-call.python",
782− },
783− {
784− foreground: "b2ccd6",
785− token: "meta.function-call.generic.python",
786− },
787− {
788− foreground: "d6deeb",
789− token: "punctuation.python",
790− },
791− {
792− foreground: "addb67",
793− token: "entity.name.function.decorator.python",
794− },
795− {
796− foreground: "8eace3",
797− token: "source.python variable.language.special",
798− },
799− {
800− foreground: "82b1ff",
801− token: "markup.heading.markdown",
802− },
803− {
804− foreground: "c792ea",
805− fontStyle: "italic",
806− token: "markup.italic.markdown",
807− },
808− {
809− foreground: "addb67",
810− fontStyle: "bold",
811− token: "markup.bold.markdown",
812− },
813− {
814− foreground: "697098",
815− token: "markup.quote.markdown",
816− },
817− {
818− foreground: "80cbc4",
819− token: "markup.inline.raw.markdown",
820− },
821− {
822− foreground: "ff869a",
823− token: "markup.underline.link.markdown",
824− },
825− {
826− foreground: "ff869a",
827− token: "markup.underline.link.image.markdown",
828− },
829− {
830− foreground: "d6deeb",
831− token: "string.other.link.title.markdown",
832− },
833− {
834− foreground: "d6deeb",
835− token: "string.other.link.description.markdown",
836− },
837− {
838− foreground: "82b1ff",
839− token: "punctuation.definition.string.markdown",
840− },
841− {
842− foreground: "82b1ff",
843− token: "punctuation.definition.string.begin.markdown",
844− },
845− {
846− foreground: "82b1ff",
847− token: "punctuation.definition.string.end.markdown",
848− },
849− {
850− foreground: "82b1ff",
851− token: "meta.link.inline.markdown punctuation.definition.string",
852− },
853− {
854− foreground: "7fdbca",
855− token: "punctuation.definition.metadata.markdown",
117+exports.vsCodeTheme = function (bg) {
118+ return ({
119+ base: "vs",
120+ inherit: true,
121+ rules: [
122+ {
123+ foreground: "008e00",
124+ token: "comment",
125+ },
126+ {
127+ foreground: "7d4726",
128+ token: "meta.preprocessor",
129+ },
130+ {
131+ foreground: "7d4726",
132+ token: "keyword.control.import",
133+ },
134+ {
135+ foreground: "df0002",
136+ token: "string",
137+ },
138+ {
139+ foreground: "3a00dc",
140+ token: "constant.numeric",
141+ },
142+ {
143+ foreground: "c800a4",
144+ token: "constant.language",
145+ },
146+ {
147+ foreground: "275a5e",
148+ token: "constant.character",
149+ },
150+ {
151+ foreground: "275a5e",
152+ token: "constant.other",
153+ },
154+ {
155+ foreground: "c800a4",
156+ token: "variable.language",
157+ },
158+ {
159+ foreground: "c800a4",
160+ token: "variable.other",
161+ },
162+ {
163+ foreground: "c800a4",
164+ token: "keyword",
165+ },
166+ {
167+ foreground: "c900a4",
168+ token: "storage",
169+ },
170+ {
171+ foreground: "438288",
172+ token: "entity.name.class",
173+ },
174+ {
175+ foreground: "790ead",
176+ token: "entity.name.tag",
177+ },
178+ {
179+ foreground: "450084",
180+ token: "entity.other.attribute-name",
181+ },
182+ {
183+ foreground: "450084",
184+ token: "support.function",
185+ },
186+ {
187+ foreground: "450084",
188+ token: "support.constant",
189+ },
190+ {
191+ foreground: "790ead",
192+ token: "support.type",
193+ },
194+ {
195+ foreground: "790ead",
196+ token: "support.class",
197+ },
198+ {
199+ foreground: "790ead",
200+ token: "support.other.variable",
201+ },
202+ ],
203+ colors: {
204+ "editor.foreground": "#000000",
205+ "editor.background": bg,
206+ "editor.selectionBackground": "#B5D5FF",
207+ "editor.lineHighlightBackground": "#B5D5FF",
208+ "editor.lineHighlightBorder": "#B5D5FF",
209+ "editorCursor.foreground": "#000000",
210+ "editorWhitespace.foreground": "#BFBFBF",
856211 },
857− {
858− foreground: "82b1ff",
859− token: "beginning.punctuation.definition.list.markdown",
212+ });
213+};
214+exports.nightOwlTheme = function (bg) {
215+ return ({
216+ base: "vs-dark",
217+ inherit: true,
218+ rules: [
219+ {
220+ foreground: "637777",
221+ token: "comment",
222+ },
223+ {
224+ foreground: "addb67",
225+ token: "string",
226+ },
227+ {
228+ foreground: "ecc48d",
229+ token: "vstring.quoted",
230+ },
231+ {
232+ foreground: "ecc48d",
233+ token: "variable.other.readwrite.js",
234+ },
235+ {
236+ foreground: "5ca7e4",
237+ token: "string.regexp",
238+ },
239+ {
240+ foreground: "5ca7e4",
241+ token: "string.regexp keyword.other",
242+ },
243+ {
244+ foreground: "5f7e97",
245+ token: "meta.function punctuation.separator.comma",
246+ },
247+ {
248+ foreground: "f78c6c",
249+ token: "constant.numeric",
250+ },
251+ {
252+ foreground: "f78c6c",
253+ token: "constant.character.numeric",
254+ },
255+ {
256+ foreground: "addb67",
257+ token: "variable",
258+ },
259+ {
260+ foreground: "c792ea",
261+ token: "keyword",
262+ },
263+ {
264+ foreground: "c792ea",
265+ token: "punctuation.accessor",
266+ },
267+ {
268+ foreground: "c792ea",
269+ token: "storage",
270+ },
271+ {
272+ foreground: "c792ea",
273+ token: "meta.var.expr",
274+ },
275+ {
276+ foreground: "c792ea",
277+ token: "meta.class meta.method.declaration meta.var.expr storage.type.jsm",
278+ },
279+ {
280+ foreground: "c792ea",
281+ token: "storage.type.property.js",
282+ },
283+ {
284+ foreground: "c792ea",
285+ token: "storage.type.property.ts",
286+ },
287+ {
288+ foreground: "c792ea",
289+ token: "storage.type.property.tsx",
290+ },
291+ {
292+ foreground: "82aaff",
293+ token: "storage.type",
294+ },
295+ {
296+ foreground: "ffcb8b",
297+ token: "entity.name.class",
298+ },
299+ {
300+ foreground: "ffcb8b",
301+ token: "meta.class entity.name.type.class",
302+ },
303+ {
304+ foreground: "addb67",
305+ token: "entity.other.inherited-class",
306+ },
307+ {
308+ foreground: "82aaff",
309+ token: "entity.name.function",
310+ },
311+ {
312+ foreground: "addb67",
313+ token: "punctuation.definition.variable",
314+ },
315+ {
316+ foreground: "d3423e",
317+ token: "punctuation.section.embedded",
318+ },
319+ {
320+ foreground: "d6deeb",
321+ token: "punctuation.terminator.expression",
322+ },
323+ {
324+ foreground: "d6deeb",
325+ token: "punctuation.definition.arguments",
326+ },
327+ {
328+ foreground: "d6deeb",
329+ token: "punctuation.definition.array",
330+ },
331+ {
332+ foreground: "d6deeb",
333+ token: "punctuation.section.array",
334+ },
335+ {
336+ foreground: "d6deeb",
337+ token: "meta.array",
338+ },
339+ {
340+ foreground: "d9f5dd",
341+ token: "punctuation.definition.list.begin",
342+ },
343+ {
344+ foreground: "d9f5dd",
345+ token: "punctuation.definition.list.end",
346+ },
347+ {
348+ foreground: "d9f5dd",
349+ token: "punctuation.separator.arguments",
350+ },
351+ {
352+ foreground: "d9f5dd",
353+ token: "punctuation.definition.list",
354+ },
355+ {
356+ foreground: "d3423e",
357+ token: "string.template meta.template.expression",
358+ },
359+ {
360+ foreground: "d6deeb",
361+ token: "string.template punctuation.definition.string",
362+ },
363+ {
364+ foreground: "c792ea",
365+ fontStyle: "italic",
366+ token: "italic",
367+ },
368+ {
369+ foreground: "addb67",
370+ fontStyle: "bold",
371+ token: "bold",
372+ },
373+ {
374+ foreground: "82aaff",
375+ token: "constant.language",
376+ },
377+ {
378+ foreground: "82aaff",
379+ token: "punctuation.definition.constant",
380+ },
381+ {
382+ foreground: "82aaff",
383+ token: "variable.other.constant",
384+ },
385+ {
386+ foreground: "7fdbca",
387+ token: "support.function.construct",
388+ },
389+ {
390+ foreground: "7fdbca",
391+ token: "keyword.other.new",
392+ },
393+ {
394+ foreground: "82aaff",
395+ token: "constant.character",
396+ },
397+ {
398+ foreground: "82aaff",
399+ token: "constant.other",
400+ },
401+ {
402+ foreground: "f78c6c",
403+ token: "constant.character.escape",
404+ },
405+ {
406+ foreground: "addb67",
407+ token: "entity.other.inherited-class",
408+ },
409+ {
410+ foreground: "d7dbe0",
411+ token: "variable.parameter",
412+ },
413+ {
414+ foreground: "7fdbca",
415+ token: "entity.name.tag",
416+ },
417+ {
418+ foreground: "cc2996",
419+ token: "punctuation.definition.tag.html",
420+ },
421+ {
422+ foreground: "cc2996",
423+ token: "punctuation.definition.tag.begin",
424+ },
425+ {
426+ foreground: "cc2996",
427+ token: "punctuation.definition.tag.end",
428+ },
429+ {
430+ foreground: "addb67",
431+ token: "entity.other.attribute-name",
432+ },
433+ {
434+ foreground: "addb67",
435+ token: "entity.name.tag.custom",
436+ },
437+ {
438+ foreground: "82aaff",
439+ token: "support.function",
440+ },
441+ {
442+ foreground: "82aaff",
443+ token: "support.constant",
444+ },
445+ {
446+ foreground: "7fdbca",
447+ token: "upport.constant.meta.property-value",
448+ },
449+ {
450+ foreground: "addb67",
451+ token: "support.type",
452+ },
453+ {
454+ foreground: "addb67",
455+ token: "support.class",
456+ },
457+ {
458+ foreground: "addb67",
459+ token: "support.variable.dom",
460+ },
461+ {
462+ foreground: "7fdbca",
463+ token: "support.constant",
464+ },
465+ {
466+ foreground: "7fdbca",
467+ token: "keyword.other.special-method",
468+ },
469+ {
470+ foreground: "7fdbca",
471+ token: "keyword.other.new",
472+ },
473+ {
474+ foreground: "7fdbca",
475+ token: "keyword.other.debugger",
476+ },
477+ {
478+ foreground: "7fdbca",
479+ token: "keyword.control",
480+ },
481+ {
482+ foreground: "c792ea",
483+ token: "keyword.operator.comparison",
484+ },
485+ {
486+ foreground: "c792ea",
487+ token: "keyword.control.flow.js",
488+ },
489+ {
490+ foreground: "c792ea",
491+ token: "keyword.control.flow.ts",
492+ },
493+ {
494+ foreground: "c792ea",
495+ token: "keyword.control.flow.tsx",
496+ },
497+ {
498+ foreground: "c792ea",
499+ token: "keyword.control.ruby",
500+ },
501+ {
502+ foreground: "c792ea",
503+ token: "keyword.control.module.ruby",
504+ },
505+ {
506+ foreground: "c792ea",
507+ token: "keyword.control.class.ruby",
508+ },
509+ {
510+ foreground: "c792ea",
511+ token: "keyword.control.def.ruby",
512+ },
513+ {
514+ foreground: "c792ea",
515+ token: "keyword.control.loop.js",
516+ },
517+ {
518+ foreground: "c792ea",
519+ token: "keyword.control.loop.ts",
520+ },
521+ {
522+ foreground: "c792ea",
523+ token: "keyword.control.import.js",
524+ },
525+ {
526+ foreground: "c792ea",
527+ token: "keyword.control.import.ts",
528+ },
529+ {
530+ foreground: "c792ea",
531+ token: "keyword.control.import.tsx",
532+ },
533+ {
534+ foreground: "c792ea",
535+ token: "keyword.control.from.js",
536+ },
537+ {
538+ foreground: "c792ea",
539+ token: "keyword.control.from.ts",
540+ },
541+ {
542+ foreground: "c792ea",
543+ token: "keyword.control.from.tsx",
544+ },
545+ {
546+ foreground: "ffffff",
547+ background: "ff2c83",
548+ token: "invalid",
549+ },
550+ {
551+ foreground: "ffffff",
552+ background: "d3423e",
553+ token: "invalid.deprecated",
554+ },
555+ {
556+ foreground: "7fdbca",
557+ token: "keyword.operator",
558+ },
559+ {
560+ foreground: "c792ea",
561+ token: "keyword.operator.relational",
562+ },
563+ {
564+ foreground: "c792ea",
565+ token: "keyword.operator.assignement",
566+ },
567+ {
568+ foreground: "c792ea",
569+ token: "keyword.operator.arithmetic",
570+ },
571+ {
572+ foreground: "c792ea",
573+ token: "keyword.operator.bitwise",
574+ },
575+ {
576+ foreground: "c792ea",
577+ token: "keyword.operator.increment",
578+ },
579+ {
580+ foreground: "c792ea",
581+ token: "keyword.operator.ternary",
582+ },
583+ {
584+ foreground: "637777",
585+ token: "comment.line.double-slash",
586+ },
587+ {
588+ foreground: "cdebf7",
589+ token: "object",
590+ },
591+ {
592+ foreground: "ff5874",
593+ token: "constant.language.null",
594+ },
595+ {
596+ foreground: "d6deeb",
597+ token: "meta.brace",
598+ },
599+ {
600+ foreground: "c792ea",
601+ token: "meta.delimiter.period",
602+ },
603+ {
604+ foreground: "d9f5dd",
605+ token: "punctuation.definition.string",
606+ },
607+ {
608+ foreground: "ff5874",
609+ token: "constant.language.boolean",
610+ },
611+ {
612+ foreground: "ffffff",
613+ token: "object.comma",
614+ },
615+ {
616+ foreground: "7fdbca",
617+ token: "variable.parameter.function",
618+ },
619+ {
620+ foreground: "80cbc4",
621+ token: "support.type.vendor.property-name",
622+ },
623+ {
624+ foreground: "80cbc4",
625+ token: "support.constant.vendor.property-value",
626+ },
627+ {
628+ foreground: "80cbc4",
629+ token: "support.type.property-name",
630+ },
631+ {
632+ foreground: "80cbc4",
633+ token: "meta.property-list entity.name.tag",
634+ },
635+ {
636+ foreground: "57eaf1",
637+ token: "meta.property-list entity.name.tag.reference",
638+ },
639+ {
640+ foreground: "f78c6c",
641+ token: "constant.other.color.rgb-value punctuation.definition.constant",
642+ },
643+ {
644+ foreground: "ffeb95",
645+ token: "constant.other.color",
646+ },
647+ {
648+ foreground: "ffeb95",
649+ token: "keyword.other.unit",
650+ },
651+ {
652+ foreground: "c792ea",
653+ token: "meta.selector",
654+ },
655+ {
656+ foreground: "fad430",
657+ token: "entity.other.attribute-name.id",
658+ },
659+ {
660+ foreground: "80cbc4",
661+ token: "meta.property-name",
662+ },
663+ {
664+ foreground: "c792ea",
665+ token: "entity.name.tag.doctype",
666+ },
667+ {
668+ foreground: "c792ea",
669+ token: "meta.tag.sgml.doctype",
670+ },
671+ {
672+ foreground: "d9f5dd",
673+ token: "punctuation.definition.parameters",
674+ },
675+ {
676+ foreground: "ecc48d",
677+ token: "string.quoted",
678+ },
679+ {
680+ foreground: "ecc48d",
681+ token: "string.quoted.double",
682+ },
683+ {
684+ foreground: "ecc48d",
685+ token: "string.quoted.single",
686+ },
687+ {
688+ foreground: "addb67",
689+ token: "support.constant.math",
690+ },
691+ {
692+ foreground: "addb67",
693+ token: "support.type.property-name.json",
694+ },
695+ {
696+ foreground: "addb67",
697+ token: "support.constant.json",
698+ },
699+ {
700+ foreground: "c789d6",
701+ token: "meta.structure.dictionary.value.json string.quoted.double",
702+ },
703+ {
704+ foreground: "80cbc4",
705+ token: "string.quoted.double.json punctuation.definition.string.json",
706+ },
707+ {
708+ foreground: "ff5874",
709+ token: "meta.structure.dictionary.json meta.structure.dictionary.value constant.language",
710+ },
711+ {
712+ foreground: "d6deeb",
713+ token: "variable.other.ruby",
714+ },
715+ {
716+ foreground: "ecc48d",
717+ token: "entity.name.type.class.ruby",
718+ },
719+ {
720+ foreground: "ecc48d",
721+ token: "keyword.control.class.ruby",
722+ },
723+ {
724+ foreground: "ecc48d",
725+ token: "meta.class.ruby",
726+ },
727+ {
728+ foreground: "7fdbca",
729+ token: "constant.language.symbol.hashkey.ruby",
730+ },
731+ {
732+ foreground: "e0eddd",
733+ background: "a57706",
734+ fontStyle: "italic",
735+ token: "meta.diff",
736+ },
737+ {
738+ foreground: "e0eddd",
739+ background: "a57706",
740+ fontStyle: "italic",
741+ token: "meta.diff.header",
742+ },
743+ {
744+ foreground: "ef535090",
745+ fontStyle: "italic",
746+ token: "markup.deleted",
747+ },
748+ {
749+ foreground: "a2bffc",
750+ fontStyle: "italic",
751+ token: "markup.changed",
752+ },
753+ {
754+ foreground: "a2bffc",
755+ fontStyle: "italic",
756+ token: "meta.diff.header.git",
757+ },
758+ {
759+ foreground: "a2bffc",
760+ fontStyle: "italic",
761+ token: "meta.diff.header.from-file",
762+ },
763+ {
764+ foreground: "a2bffc",
765+ fontStyle: "italic",
766+ token: "meta.diff.header.to-file",
767+ },
768+ {
769+ foreground: "219186",
770+ background: "eae3ca",
771+ token: "markup.inserted",
772+ },
773+ {
774+ foreground: "d3201f",
775+ token: "other.package.exclude",
776+ },
777+ {
778+ foreground: "d3201f",
779+ token: "other.remove",
780+ },
781+ {
782+ foreground: "269186",
783+ token: "other.add",
784+ },
785+ {
786+ foreground: "ff5874",
787+ token: "constant.language.python",
788+ },
789+ {
790+ foreground: "82aaff",
791+ token: "variable.parameter.function.python",
792+ },
793+ {
794+ foreground: "82aaff",
795+ token: "meta.function-call.arguments.python",
796+ },
797+ {
798+ foreground: "b2ccd6",
799+ token: "meta.function-call.python",
800+ },
801+ {
802+ foreground: "b2ccd6",
803+ token: "meta.function-call.generic.python",
804+ },
805+ {
806+ foreground: "d6deeb",
807+ token: "punctuation.python",
808+ },
809+ {
810+ foreground: "addb67",
811+ token: "entity.name.function.decorator.python",
812+ },
813+ {
814+ foreground: "8eace3",
815+ token: "source.python variable.language.special",
816+ },
817+ {
818+ foreground: "82b1ff",
819+ token: "markup.heading.markdown",
820+ },
821+ {
822+ foreground: "c792ea",
823+ fontStyle: "italic",
824+ token: "markup.italic.markdown",
825+ },
826+ {
827+ foreground: "addb67",
828+ fontStyle: "bold",
829+ token: "markup.bold.markdown",
830+ },
831+ {
832+ foreground: "697098",
833+ token: "markup.quote.markdown",
834+ },
835+ {
836+ foreground: "80cbc4",
837+ token: "markup.inline.raw.markdown",
838+ },
839+ {
840+ foreground: "ff869a",
841+ token: "markup.underline.link.markdown",
842+ },
843+ {
844+ foreground: "ff869a",
845+ token: "markup.underline.link.image.markdown",
846+ },
847+ {
848+ foreground: "d6deeb",
849+ token: "string.other.link.title.markdown",
850+ },
851+ {
852+ foreground: "d6deeb",
853+ token: "string.other.link.description.markdown",
854+ },
855+ {
856+ foreground: "82b1ff",
857+ token: "punctuation.definition.string.markdown",
858+ },
859+ {
860+ foreground: "82b1ff",
861+ token: "punctuation.definition.string.begin.markdown",
862+ },
863+ {
864+ foreground: "82b1ff",
865+ token: "punctuation.definition.string.end.markdown",
866+ },
867+ {
868+ foreground: "82b1ff",
869+ token: "meta.link.inline.markdown punctuation.definition.string",
870+ },
871+ {
872+ foreground: "7fdbca",
873+ token: "punctuation.definition.metadata.markdown",
874+ },
875+ {
876+ foreground: "82b1ff",
877+ token: "beginning.punctuation.definition.list.markdown",
878+ },
879+ ],
880+ colors: {
881+ "editor.foreground": "#d6deeb",
882+ // "editor.background": "#011627",
883+ "editor.background": bg,
884+ "editor.selectionBackground": "#5f7e9779",
885+ // "editor.lineHighlightBackground": "#010E17",
886+ "editorCursor.foreground": "#80a4c2",
887+ "editorWhitespace.foreground": "#2e2040",
888+ "editorIndentGuide.background": "#5e81ce52",
889+ "editor.selectionHighlightBorder": "#122d42",
860890 },
861− ],
862− colors: {
863− "editor.foreground": "#d6deeb",
864− // "editor.background": "#011627",
865− "editor.background": bg,
866− "editor.selectionBackground": "#5f7e9779",
867− "editor.lineHighlightBackground": "#010E17",
868− "editorCursor.foreground": "#80a4c2",
869− "editorWhitespace.foreground": "#2e2040",
870− "editorIndentGuide.background": "#5e81ce52",
871− "editor.selectionHighlightBorder": "#122d42",
872− },
873−}); };
891+ });
892+};
874893exports.purescriptSyntax = {
875894 displayName: "Purescript",
876895 name: "purescript",