@oxide/design-system 6.5.4-canary.fb43c60 → 6.5.4

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.
@@ -1,1709 +0,0 @@
1
- var $schema$1 = "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json";
2
- var name$2 = "oxql";
3
- var repository$1 = {
4
- keywords: {
5
- patterns: [
6
- {
7
- name: "keyword.control.oxql",
8
- match: "\\b(if|while|for|return)\\b"
9
- }
10
- ]
11
- },
12
- strings: {
13
- name: "string.quoted.double.oxql",
14
- begin: "\"",
15
- end: "\"",
16
- patterns: [
17
- {
18
- name: "constant.character.escape.oxql",
19
- match: "\\\\."
20
- }
21
- ]
22
- }
23
- };
24
- var scopeName$1 = "source.oxql";
25
- var patterns$1 = [
26
- {
27
- name: "keyword.control.oxql",
28
- match: "\\b(get|join|align|filter|group_by)\\b"
29
- },
30
- {
31
- name: "string.quoted.double.oxql",
32
- begin: "\"",
33
- end: "\"",
34
- patterns: [
35
- {
36
- name: "constant.character.escape.oxql",
37
- match: "\\\\."
38
- }
39
- ]
40
- },
41
- {
42
- name: "string.quoted.single.oxql",
43
- begin: "'",
44
- end: "'",
45
- patterns: [
46
- {
47
- name: "constant.character.escape.oxql",
48
- match: "\\\\."
49
- }
50
- ]
51
- },
52
- {
53
- name: "constant.numeric.oxql",
54
- match: "\\b\\d+[smhdw]\\b"
55
- },
56
- {
57
- name: "constant.numeric.datetime.oxql",
58
- match: "@\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}"
59
- },
60
- {
61
- name: "constant.numeric.function.oxql",
62
- match: "@now\\(\\)"
63
- },
64
- {
65
- name: "constant.numeric.oxql",
66
- match: "\\b\\d+\\b"
67
- },
68
- {
69
- name: "comment.block.oxql",
70
- begin: "/\\*",
71
- end: "\\*/"
72
- },
73
- {
74
- name: "comment.line.double-slash.oxql",
75
- match: "//.*$"
76
- },
77
- {
78
- name: "keyword.operator.oxql",
79
- match: "\\|"
80
- }
81
- ];
82
- var oxql_tmLanguage = {
83
- $schema: $schema$1,
84
- name: name$2,
85
- repository: repository$1,
86
- scopeName: scopeName$1,
87
- patterns: patterns$1
88
- };
89
-
90
- var $schema = "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json";
91
- var name$1 = "p4";
92
- var scopeName = "source.p4";
93
- var repository = {
94
- comment: {
95
- patterns: [
96
- {
97
- name: "comment.line.double-slash.p4",
98
- match: "//.*$"
99
- },
100
- {
101
- name: "comment.block.p4",
102
- begin: "/\\*",
103
- end: "\\*/"
104
- }
105
- ]
106
- },
107
- keywords: {
108
- patterns: [
109
- {
110
- name: "constant.language.p4",
111
- match: "\\b(?:false|true)\\b"
112
- },
113
- {
114
- name: "keyword.control.p4",
115
- match: "\\b(?:default_action|transition|counters|NoAction|optional|actions|control|default|package|ternary|typedef|action|extern|header|meters|parser|return|select|struct|apply|const|exact|inout|range|state|table|else|size|key|lpm|out|if|in|_)\\b"
116
- },
117
- {
118
- name: "storage.type.p4",
119
- match: "\\b(?:packet_out|packet_in|varbit|error|tuple|bool|bit|int)\\b"
120
- }
121
- ]
122
- }
123
- };
124
- var patterns = [
125
- {
126
- name: "keyword.control.directive.p4",
127
- match: "^\\s*#\\s*\\w+"
128
- },
129
- {
130
- include: "#comment"
131
- },
132
- {
133
- name: "string.quoted.double.p4",
134
- begin: "\"",
135
- end: "\"",
136
- patterns: [
137
- {
138
- name: "constant.character.escape.p4",
139
- match: "\\\\."
140
- }
141
- ]
142
- },
143
- {
144
- match: "(@)([A-Za-z_]\\w*)",
145
- captures: {
146
- "1": {
147
- name: "punctuation.definition.annotation.p4"
148
- },
149
- "2": {
150
- name: "storage.type.annotation.p4"
151
- }
152
- }
153
- },
154
- {
155
- name: "storage.type.p4",
156
- match: "\\b(?:bit|varbit)\\s*<\\s*\\d+\\s*>|\\btuple\\s*<(?:[^<>]|<[^>]*>)*>"
157
- },
158
- {
159
- name: "constant.numeric.p4",
160
- match: "\\b(?:\\d+w0x[0-9a-fA-F]+|\\d+w\\d+|0x[0-9a-fA-F]+|\\d+)\\b"
161
- },
162
- {
163
- match: "\\b(typedef|struct|header|extern)\\s+([A-Za-z_]\\w*)",
164
- captures: {
165
- "1": {
166
- name: "keyword.control.p4"
167
- },
168
- "2": {
169
- name: "storage.type.p4"
170
- }
171
- }
172
- },
173
- {
174
- match: "\\b(table|parser|control|state|package)\\s+([A-Za-z_]\\w*)",
175
- captures: {
176
- "1": {
177
- name: "keyword.control.p4"
178
- },
179
- "2": {
180
- name: "entity.name.type.p4"
181
- }
182
- }
183
- },
184
- {
185
- match: "\\b(action)\\s+([A-Za-z_]\\w*)",
186
- captures: {
187
- "1": {
188
- name: "keyword.control.p4"
189
- },
190
- "2": {
191
- name: "entity.name.function.p4"
192
- }
193
- }
194
- },
195
- {
196
- name: "storage.type.p4",
197
- match: "\\b[A-Za-z_]\\w*_[th]\\b"
198
- },
199
- {
200
- begin: "\\b(actions)\\s*=\\s*\\{",
201
- end: "\\}",
202
- beginCaptures: {
203
- "1": {
204
- name: "keyword.control.p4"
205
- }
206
- },
207
- patterns: [
208
- {
209
- include: "#comment"
210
- },
211
- {
212
- include: "#keywords"
213
- },
214
- {
215
- name: "entity.name.function.p4",
216
- match: "\\b[A-Za-z_]\\w*\\b"
217
- }
218
- ]
219
- },
220
- {
221
- include: "#keywords"
222
- },
223
- {
224
- match: "(\\.)([A-Za-z_]\\w*)(?=\\s*\\()",
225
- captures: {
226
- "1": {
227
- name: "punctuation.accessor.p4"
228
- },
229
- "2": {
230
- name: "entity.name.function.p4"
231
- }
232
- }
233
- },
234
- {
235
- name: "entity.name.function.p4",
236
- match: "(?<!\\.)\\b[A-Za-z_]\\w*(?=\\s*\\()"
237
- }
238
- ];
239
- var p4_tmLanguage = {
240
- $schema: $schema,
241
- name: name$1,
242
- scopeName: scopeName,
243
- repository: repository,
244
- patterns: patterns
245
- };
246
-
247
- var name = "Oxide Dark";
248
- var colors = {
249
- "editor.background": "var(--syntax-bg)",
250
- "editor.foreground": "var(--syntax-fg)"
251
- };
252
- var tokenColors = [
253
- {
254
- scope: [
255
- "text",
256
- "source",
257
- "variable.other.readwrite",
258
- "punctuation.definition.variable"
259
- ],
260
- settings: {
261
- foreground: "var(--syntax-fg)"
262
- }
263
- },
264
- {
265
- scope: "punctuation",
266
- settings: {
267
- foreground: "var(--syntax-comment)",
268
- fontStyle: ""
269
- }
270
- },
271
- {
272
- scope: [
273
- "comment",
274
- "punctuation.definition.comment"
275
- ],
276
- settings: {
277
- foreground: "var(--syntax-comment)"
278
- }
279
- },
280
- {
281
- scope: [
282
- "string",
283
- "punctuation.definition.string"
284
- ],
285
- settings: {
286
- foreground: "var(--syntax-string)"
287
- }
288
- },
289
- {
290
- scope: "constant.character.escape",
291
- settings: {
292
- foreground: "var(--syntax-escape)"
293
- }
294
- },
295
- {
296
- scope: [
297
- "constant.numeric",
298
- "variable.other.constant",
299
- "entity.name.constant",
300
- "constant.language.boolean",
301
- "constant.language.false",
302
- "constant.language.true",
303
- "keyword.other.unit.user-defined",
304
- "keyword.other.unit.suffix.floating-point"
305
- ],
306
- settings: {
307
- foreground: "var(--syntax-number)"
308
- }
309
- },
310
- {
311
- scope: [
312
- "keyword",
313
- "keyword.operator.word",
314
- "keyword.operator.new",
315
- "variable.language.super",
316
- "support.type.primitive",
317
- "storage.type",
318
- "storage.modifier",
319
- "punctuation.definition.keyword"
320
- ],
321
- settings: {
322
- foreground: "var(--syntax-keyword)",
323
- fontStyle: ""
324
- }
325
- },
326
- {
327
- scope: "entity.name.tag.documentation",
328
- settings: {
329
- foreground: "var(--syntax-keyword)"
330
- }
331
- },
332
- {
333
- scope: [
334
- "keyword.operator",
335
- "punctuation.accessor",
336
- "punctuation.definition.generic",
337
- "meta.function.closure punctuation.section.parameters",
338
- "punctuation.definition.tag",
339
- "punctuation.separator.key-value"
340
- ],
341
- settings: {
342
- foreground: "var(--syntax-operator)"
343
- }
344
- },
345
- {
346
- scope: [
347
- "entity.name.function",
348
- "meta.function-call.method",
349
- "support.function",
350
- "support.function.misc",
351
- "variable.function"
352
- ],
353
- settings: {
354
- foreground: "var(--syntax-function)"
355
- }
356
- },
357
- {
358
- scope: [
359
- "entity.name.class",
360
- "entity.other.inherited-class",
361
- "support.class",
362
- "meta.function-call.constructor",
363
- "entity.name.struct"
364
- ],
365
- settings: {
366
- foreground: "var(--syntax-number)"
367
- }
368
- },
369
- {
370
- scope: "entity.name.enum",
371
- settings: {
372
- foreground: "var(--syntax-number)"
373
- }
374
- },
375
- {
376
- scope: [
377
- "meta.enum variable.other.readwrite",
378
- "variable.other.enummember"
379
- ],
380
- settings: {
381
- foreground: "var(--syntax-operator)"
382
- }
383
- },
384
- {
385
- scope: "meta.property.object",
386
- settings: {
387
- foreground: "var(--syntax-operator)"
388
- }
389
- },
390
- {
391
- scope: [
392
- "meta.type",
393
- "meta.type-alias",
394
- "support.type",
395
- "entity.name.type"
396
- ],
397
- settings: {
398
- foreground: "var(--syntax-number)"
399
- }
400
- },
401
- {
402
- scope: [
403
- "meta.annotation variable.function",
404
- "meta.annotation variable.annotation.function",
405
- "meta.annotation punctuation.definition.annotation",
406
- "meta.decorator",
407
- "punctuation.decorator"
408
- ],
409
- settings: {
410
- foreground: "var(--syntax-number)"
411
- }
412
- },
413
- {
414
- scope: [
415
- "variable.parameter",
416
- "meta.function.parameters"
417
- ],
418
- settings: {
419
- foreground: "var(--syntax-parameter)"
420
- }
421
- },
422
- {
423
- scope: [
424
- "constant.language",
425
- "support.function.builtin"
426
- ],
427
- settings: {
428
- foreground: "var(--syntax-builtin)"
429
- }
430
- },
431
- {
432
- scope: "entity.other.attribute-name.documentation",
433
- settings: {
434
- foreground: "var(--syntax-builtin)"
435
- }
436
- },
437
- {
438
- scope: [
439
- "keyword.control.directive",
440
- "punctuation.definition.directive"
441
- ],
442
- settings: {
443
- foreground: "var(--syntax-number)"
444
- }
445
- },
446
- {
447
- scope: "punctuation.definition.typeparameters",
448
- settings: {
449
- foreground: "var(--syntax-function)"
450
- }
451
- },
452
- {
453
- scope: "entity.name.namespace",
454
- settings: {
455
- foreground: "var(--syntax-number)"
456
- }
457
- },
458
- {
459
- scope: "support.type.property-name.css",
460
- settings: {
461
- foreground: "var(--syntax-function)",
462
- fontStyle: ""
463
- }
464
- },
465
- {
466
- scope: [
467
- "variable.language.this",
468
- "variable.language.this punctuation.definition.variable"
469
- ],
470
- settings: {
471
- foreground: "var(--syntax-builtin)"
472
- }
473
- },
474
- {
475
- scope: "variable.object.property",
476
- settings: {
477
- foreground: "var(--syntax-fg)"
478
- }
479
- },
480
- {
481
- scope: [
482
- "string.template variable",
483
- "string variable"
484
- ],
485
- settings: {
486
- foreground: "var(--syntax-fg)"
487
- }
488
- },
489
- {
490
- scope: "keyword.operator.new",
491
- settings: {
492
- fontStyle: "bold"
493
- }
494
- },
495
- {
496
- scope: "storage.modifier.specifier.extern.cpp",
497
- settings: {
498
- foreground: "var(--syntax-keyword)"
499
- }
500
- },
501
- {
502
- scope: [
503
- "entity.name.scope-resolution.template.call.cpp",
504
- "entity.name.scope-resolution.parameter.cpp",
505
- "entity.name.scope-resolution.cpp",
506
- "entity.name.scope-resolution.function.definition.cpp"
507
- ],
508
- settings: {
509
- foreground: "var(--syntax-number)"
510
- }
511
- },
512
- {
513
- scope: "storage.type.class.doxygen",
514
- settings: {
515
- fontStyle: ""
516
- }
517
- },
518
- {
519
- scope: [
520
- "storage.modifier.reference.cpp"
521
- ],
522
- settings: {
523
- foreground: "var(--syntax-operator)"
524
- }
525
- },
526
- {
527
- scope: "meta.interpolation.cs",
528
- settings: {
529
- foreground: "var(--syntax-fg)"
530
- }
531
- },
532
- {
533
- scope: "comment.block.documentation.cs",
534
- settings: {
535
- foreground: "var(--syntax-fg)"
536
- }
537
- },
538
- {
539
- scope: [
540
- "source.css entity.other.attribute-name.class.css",
541
- "entity.other.attribute-name.parent-selector.css punctuation.definition.entity.css"
542
- ],
543
- settings: {
544
- foreground: "var(--syntax-number)"
545
- }
546
- },
547
- {
548
- scope: "punctuation.separator.operator.css",
549
- settings: {
550
- foreground: "var(--syntax-operator)"
551
- }
552
- },
553
- {
554
- scope: "source.css entity.other.attribute-name.pseudo-class",
555
- settings: {
556
- foreground: "var(--syntax-operator)"
557
- }
558
- },
559
- {
560
- scope: "source.css constant.other.unicode-range",
561
- settings: {
562
- foreground: "var(--syntax-number)"
563
- }
564
- },
565
- {
566
- scope: "source.css variable.parameter.url",
567
- settings: {
568
- foreground: "var(--syntax-operator)",
569
- fontStyle: ""
570
- }
571
- },
572
- {
573
- scope: [
574
- "support.type.vendored.property-name"
575
- ],
576
- settings: {
577
- foreground: "var(--syntax-function)"
578
- }
579
- },
580
- {
581
- scope: [
582
- "source.css meta.property-value variable",
583
- "source.css meta.property-value variable.other.less",
584
- "source.css meta.property-value variable.other.less punctuation.definition.variable.less",
585
- "meta.definition.variable.scss"
586
- ],
587
- settings: {
588
- foreground: "var(--syntax-parameter)"
589
- }
590
- },
591
- {
592
- scope: [
593
- "source.css meta.property-list variable",
594
- "meta.property-list variable.other.less",
595
- "meta.property-list variable.other.less punctuation.definition.variable.less"
596
- ],
597
- settings: {
598
- foreground: "var(--syntax-function)"
599
- }
600
- },
601
- {
602
- scope: "keyword.other.unit.percentage.css",
603
- settings: {
604
- foreground: "var(--syntax-number)"
605
- }
606
- },
607
- {
608
- scope: "source.css meta.attribute-selector",
609
- settings: {
610
- foreground: "var(--syntax-operator)"
611
- }
612
- },
613
- {
614
- scope: [
615
- "keyword.other.definition.ini",
616
- "punctuation.support.type.property-name.json",
617
- "support.type.property-name.json",
618
- "punctuation.support.type.property-name.toml",
619
- "support.type.property-name.toml",
620
- "entity.name.tag.yaml",
621
- "punctuation.support.type.property-name.yaml",
622
- "support.type.property-name.yaml"
623
- ],
624
- settings: {
625
- foreground: "var(--syntax-function)",
626
- fontStyle: ""
627
- }
628
- },
629
- {
630
- scope: [
631
- "constant.language.json",
632
- "constant.language.yaml"
633
- ],
634
- settings: {
635
- foreground: "var(--syntax-number)"
636
- }
637
- },
638
- {
639
- scope: [
640
- "entity.name.type.anchor.yaml",
641
- "variable.other.alias.yaml"
642
- ],
643
- settings: {
644
- foreground: "var(--syntax-number)",
645
- fontStyle: ""
646
- }
647
- },
648
- {
649
- scope: [
650
- "support.type.property-name.table",
651
- "entity.name.section.group-title.ini"
652
- ],
653
- settings: {
654
- foreground: "var(--syntax-number)"
655
- }
656
- },
657
- {
658
- scope: "constant.other.time.datetime.offset.toml",
659
- settings: {
660
- foreground: "var(--syntax-escape)"
661
- }
662
- },
663
- {
664
- scope: [
665
- "punctuation.definition.anchor.yaml",
666
- "punctuation.definition.alias.yaml"
667
- ],
668
- settings: {
669
- foreground: "var(--syntax-escape)"
670
- }
671
- },
672
- {
673
- scope: "entity.other.document.begin.yaml",
674
- settings: {
675
- foreground: "var(--syntax-escape)"
676
- }
677
- },
678
- {
679
- scope: "markup.changed.diff",
680
- settings: {
681
- foreground: "var(--syntax-number)"
682
- }
683
- },
684
- {
685
- scope: [
686
- "meta.diff.header.from-file",
687
- "meta.diff.header.to-file",
688
- "punctuation.definition.from-file.diff",
689
- "punctuation.definition.to-file.diff"
690
- ],
691
- settings: {
692
- foreground: "var(--syntax-function)"
693
- }
694
- },
695
- {
696
- scope: "markup.inserted.diff",
697
- settings: {
698
- foreground: "var(--syntax-operator)"
699
- }
700
- },
701
- {
702
- scope: "markup.deleted.diff",
703
- settings: {
704
- foreground: "var(--syntax-builtin)"
705
- }
706
- },
707
- {
708
- scope: [
709
- "variable.other.env"
710
- ],
711
- settings: {
712
- foreground: "var(--syntax-function)"
713
- }
714
- },
715
- {
716
- scope: [
717
- "string.quoted variable.other.env"
718
- ],
719
- settings: {
720
- foreground: "var(--syntax-fg)"
721
- }
722
- },
723
- {
724
- scope: "support.function.builtin.gdscript",
725
- settings: {
726
- foreground: "var(--syntax-function)"
727
- }
728
- },
729
- {
730
- scope: "constant.language.gdscript",
731
- settings: {
732
- foreground: "var(--syntax-number)"
733
- }
734
- },
735
- {
736
- scope: "comment meta.annotation.go",
737
- settings: {
738
- foreground: "var(--syntax-parameter)"
739
- }
740
- },
741
- {
742
- scope: "comment meta.annotation.parameters.go",
743
- settings: {
744
- foreground: "var(--syntax-number)"
745
- }
746
- },
747
- {
748
- scope: "constant.language.go",
749
- settings: {
750
- foreground: "var(--syntax-number)"
751
- }
752
- },
753
- {
754
- scope: "variable.graphql",
755
- settings: {
756
- foreground: "var(--syntax-fg)"
757
- }
758
- },
759
- {
760
- scope: "string.unquoted.alias.graphql",
761
- settings: {
762
- foreground: "var(--syntax-string-alias)"
763
- }
764
- },
765
- {
766
- scope: "constant.character.enum.graphql",
767
- settings: {
768
- foreground: "var(--syntax-operator)"
769
- }
770
- },
771
- {
772
- scope: "meta.objectvalues.graphql constant.object.key.graphql string.unquoted.graphql",
773
- settings: {
774
- foreground: "var(--syntax-string-alias)"
775
- }
776
- },
777
- {
778
- scope: [
779
- "keyword.other.doctype",
780
- "meta.tag.sgml.doctype punctuation.definition.tag",
781
- "meta.tag.metadata.doctype entity.name.tag",
782
- "meta.tag.metadata.doctype punctuation.definition.tag"
783
- ],
784
- settings: {
785
- foreground: "var(--syntax-keyword)"
786
- }
787
- },
788
- {
789
- scope: [
790
- "entity.name.tag"
791
- ],
792
- settings: {
793
- foreground: "var(--syntax-function)",
794
- fontStyle: ""
795
- }
796
- },
797
- {
798
- scope: [
799
- "text.html constant.character.entity",
800
- "text.html constant.character.entity punctuation",
801
- "constant.character.entity.xml",
802
- "constant.character.entity.xml punctuation",
803
- "constant.character.entity.js.jsx",
804
- "constant.charactger.entity.js.jsx punctuation",
805
- "constant.character.entity.tsx",
806
- "constant.character.entity.tsx punctuation"
807
- ],
808
- settings: {
809
- foreground: "var(--syntax-builtin)"
810
- }
811
- },
812
- {
813
- scope: [
814
- "entity.other.attribute-name"
815
- ],
816
- settings: {
817
- foreground: "var(--syntax-number)"
818
- }
819
- },
820
- {
821
- scope: [
822
- "support.class.component",
823
- "support.class.component.jsx",
824
- "support.class.component.tsx",
825
- "support.class.component.vue"
826
- ],
827
- settings: {
828
- foreground: "var(--syntax-escape)",
829
- fontStyle: ""
830
- }
831
- },
832
- {
833
- scope: [
834
- "punctuation.definition.annotation",
835
- "storage.type.annotation"
836
- ],
837
- settings: {
838
- foreground: "var(--syntax-number)"
839
- }
840
- },
841
- {
842
- scope: "constant.other.enum.java",
843
- settings: {
844
- foreground: "var(--syntax-operator)"
845
- }
846
- },
847
- {
848
- scope: "storage.modifier.import.java",
849
- settings: {
850
- foreground: "var(--syntax-fg)"
851
- }
852
- },
853
- {
854
- scope: "comment.block.javadoc.java keyword.other.documentation.javadoc.java",
855
- settings: {
856
- fontStyle: ""
857
- }
858
- },
859
- {
860
- scope: "meta.export variable.other.readwrite.js",
861
- settings: {
862
- foreground: "var(--syntax-parameter)"
863
- }
864
- },
865
- {
866
- scope: [
867
- "variable.other.constant.js",
868
- "variable.other.constant.ts",
869
- "variable.other.property.js",
870
- "variable.other.property.ts"
871
- ],
872
- settings: {
873
- foreground: "var(--syntax-fg)"
874
- }
875
- },
876
- {
877
- scope: [
878
- "variable.other.jsdoc",
879
- "comment.block.documentation variable.other"
880
- ],
881
- settings: {
882
- foreground: "var(--syntax-parameter)",
883
- fontStyle: ""
884
- }
885
- },
886
- {
887
- scope: "storage.type.class.jsdoc",
888
- settings: {
889
- fontStyle: ""
890
- }
891
- },
892
- {
893
- scope: "support.type.object.console.js",
894
- settings: {
895
- foreground: "var(--syntax-fg)"
896
- }
897
- },
898
- {
899
- scope: [
900
- "support.constant.node",
901
- "support.type.object.module.js"
902
- ],
903
- settings: {
904
- foreground: "var(--syntax-keyword)"
905
- }
906
- },
907
- {
908
- scope: "storage.modifier.implements",
909
- settings: {
910
- foreground: "var(--syntax-keyword)"
911
- }
912
- },
913
- {
914
- scope: [
915
- "constant.language.null.js",
916
- "constant.language.null.ts",
917
- "constant.language.undefined.js",
918
- "constant.language.undefined.ts",
919
- "support.type.builtin.ts"
920
- ],
921
- settings: {
922
- foreground: "var(--syntax-keyword)"
923
- }
924
- },
925
- {
926
- scope: "variable.parameter.generic",
927
- settings: {
928
- foreground: "var(--syntax-number)"
929
- }
930
- },
931
- {
932
- scope: [
933
- "keyword.declaration.function.arrow.js",
934
- "storage.type.function.arrow.ts"
935
- ],
936
- settings: {
937
- foreground: "var(--syntax-operator)"
938
- }
939
- },
940
- {
941
- scope: "punctuation.decorator.ts",
942
- settings: {
943
- foreground: "var(--syntax-function)"
944
- }
945
- },
946
- {
947
- scope: [
948
- "keyword.operator.expression.in.js",
949
- "keyword.operator.expression.in.ts",
950
- "keyword.operator.expression.infer.ts",
951
- "keyword.operator.expression.instanceof.js",
952
- "keyword.operator.expression.instanceof.ts",
953
- "keyword.operator.expression.is",
954
- "keyword.operator.expression.keyof.ts",
955
- "keyword.operator.expression.of.js",
956
- "keyword.operator.expression.of.ts",
957
- "keyword.operator.expression.typeof.ts"
958
- ],
959
- settings: {
960
- foreground: "var(--syntax-keyword)"
961
- }
962
- },
963
- {
964
- scope: "support.function.macro.julia",
965
- settings: {
966
- foreground: "var(--syntax-operator)"
967
- }
968
- },
969
- {
970
- scope: "constant.language.julia",
971
- settings: {
972
- foreground: "var(--syntax-number)"
973
- }
974
- },
975
- {
976
- scope: "constant.other.symbol.julia",
977
- settings: {
978
- foreground: "var(--syntax-parameter)"
979
- }
980
- },
981
- {
982
- scope: "text.tex keyword.control.preamble",
983
- settings: {
984
- foreground: "var(--syntax-operator)"
985
- }
986
- },
987
- {
988
- scope: "text.tex support.function.be",
989
- settings: {
990
- foreground: "var(--syntax-function)"
991
- }
992
- },
993
- {
994
- scope: "constant.other.general.math.tex",
995
- settings: {
996
- foreground: "var(--syntax-string-alias)"
997
- }
998
- },
999
- {
1000
- scope: "comment.line.double-dash.documentation.lua storage.type.annotation.lua",
1001
- settings: {
1002
- foreground: "var(--syntax-keyword)",
1003
- fontStyle: ""
1004
- }
1005
- },
1006
- {
1007
- scope: [
1008
- "comment.line.double-dash.documentation.lua entity.name.variable.lua",
1009
- "comment.line.double-dash.documentation.lua variable.lua"
1010
- ],
1011
- settings: {
1012
- foreground: "var(--syntax-fg)"
1013
- }
1014
- },
1015
- {
1016
- scope: [
1017
- "heading.1.markdown punctuation.definition.heading.markdown",
1018
- "heading.1.markdown",
1019
- "heading.1.quarto punctuation.definition.heading.quarto",
1020
- "heading.1.quarto",
1021
- "markup.heading.atx.1.mdx",
1022
- "markup.heading.atx.1.mdx punctuation.definition.heading.mdx",
1023
- "markup.heading.setext.1.markdown",
1024
- "markup.heading.heading-0.asciidoc"
1025
- ],
1026
- settings: {
1027
- foreground: "var(--syntax-builtin)"
1028
- }
1029
- },
1030
- {
1031
- scope: [
1032
- "heading.2.markdown punctuation.definition.heading.markdown",
1033
- "heading.2.markdown",
1034
- "heading.2.quarto punctuation.definition.heading.quarto",
1035
- "heading.2.quarto",
1036
- "markup.heading.atx.2.mdx",
1037
- "markup.heading.atx.2.mdx punctuation.definition.heading.mdx",
1038
- "markup.heading.setext.2.markdown",
1039
- "markup.heading.heading-1.asciidoc"
1040
- ],
1041
- settings: {
1042
- foreground: "var(--syntax-number)"
1043
- }
1044
- },
1045
- {
1046
- scope: [
1047
- "heading.3.markdown punctuation.definition.heading.markdown",
1048
- "heading.3.markdown",
1049
- "heading.3.quarto punctuation.definition.heading.quarto",
1050
- "heading.3.quarto",
1051
- "markup.heading.atx.3.mdx",
1052
- "markup.heading.atx.3.mdx punctuation.definition.heading.mdx",
1053
- "markup.heading.heading-2.asciidoc"
1054
- ],
1055
- settings: {
1056
- foreground: "var(--syntax-number)"
1057
- }
1058
- },
1059
- {
1060
- scope: [
1061
- "heading.4.markdown punctuation.definition.heading.markdown",
1062
- "heading.4.markdown",
1063
- "heading.4.quarto punctuation.definition.heading.quarto",
1064
- "heading.4.quarto",
1065
- "markup.heading.atx.4.mdx",
1066
- "markup.heading.atx.4.mdx punctuation.definition.heading.mdx",
1067
- "markup.heading.heading-3.asciidoc"
1068
- ],
1069
- settings: {
1070
- foreground: "var(--syntax-operator)"
1071
- }
1072
- },
1073
- {
1074
- scope: [
1075
- "heading.5.markdown punctuation.definition.heading.markdown",
1076
- "heading.5.markdown",
1077
- "heading.5.quarto punctuation.definition.heading.quarto",
1078
- "heading.5.quarto",
1079
- "markup.heading.atx.5.mdx",
1080
- "markup.heading.atx.5.mdx punctuation.definition.heading.mdx",
1081
- "markup.heading.heading-4.asciidoc"
1082
- ],
1083
- settings: {
1084
- foreground: "var(--syntax-function)"
1085
- }
1086
- },
1087
- {
1088
- scope: [
1089
- "heading.6.markdown punctuation.definition.heading.markdown",
1090
- "heading.6.markdown",
1091
- "heading.6.quarto punctuation.definition.heading.quarto",
1092
- "heading.6.quarto",
1093
- "markup.heading.atx.6.mdx",
1094
- "markup.heading.atx.6.mdx punctuation.definition.heading.mdx",
1095
- "markup.heading.heading-5.asciidoc"
1096
- ],
1097
- settings: {
1098
- foreground: "var(--syntax-keyword)"
1099
- }
1100
- },
1101
- {
1102
- scope: "markup.bold",
1103
- settings: {
1104
- foreground: "var(--syntax-builtin)",
1105
- fontStyle: "bold"
1106
- }
1107
- },
1108
- {
1109
- scope: "markup.italic",
1110
- settings: {
1111
- foreground: "var(--syntax-builtin)"
1112
- }
1113
- },
1114
- {
1115
- scope: "markup.strikethrough",
1116
- settings: {
1117
- foreground: "var(--syntax-comment)",
1118
- fontStyle: "strikethrough"
1119
- }
1120
- },
1121
- {
1122
- scope: [
1123
- "punctuation.definition.link",
1124
- "markup.underline.link"
1125
- ],
1126
- settings: {
1127
- foreground: "var(--syntax-function)"
1128
- }
1129
- },
1130
- {
1131
- scope: [
1132
- "text.html.markdown punctuation.definition.link.title",
1133
- "text.html.quarto punctuation.definition.link.title",
1134
- "string.other.link.title.markdown",
1135
- "string.other.link.title.quarto",
1136
- "markup.link",
1137
- "punctuation.definition.constant.markdown",
1138
- "punctuation.definition.constant.quarto",
1139
- "constant.other.reference.link.markdown",
1140
- "constant.other.reference.link.quarto",
1141
- "markup.substitution.attribute-reference"
1142
- ],
1143
- settings: {
1144
- foreground: "var(--syntax-blue-pale)"
1145
- }
1146
- },
1147
- {
1148
- scope: [
1149
- "punctuation.definition.raw.markdown",
1150
- "punctuation.definition.raw.quarto",
1151
- "markup.inline.raw.string.markdown",
1152
- "markup.inline.raw.string.quarto",
1153
- "markup.raw.block.markdown",
1154
- "markup.raw.block.quarto"
1155
- ],
1156
- settings: {
1157
- foreground: "var(--syntax-operator)"
1158
- }
1159
- },
1160
- {
1161
- scope: "fenced_code.block.language",
1162
- settings: {
1163
- foreground: "var(--syntax-function)"
1164
- }
1165
- },
1166
- {
1167
- scope: [
1168
- "markup.fenced_code.block punctuation.definition",
1169
- "markup.raw support.asciidoc"
1170
- ],
1171
- settings: {
1172
- foreground: "var(--syntax-comment)"
1173
- }
1174
- },
1175
- {
1176
- scope: [
1177
- "markup.quote",
1178
- "punctuation.definition.quote.begin"
1179
- ],
1180
- settings: {
1181
- foreground: "var(--syntax-escape)"
1182
- }
1183
- },
1184
- {
1185
- scope: "meta.separator.markdown",
1186
- settings: {
1187
- foreground: "var(--syntax-operator)"
1188
- }
1189
- },
1190
- {
1191
- scope: [
1192
- "punctuation.definition.list.begin.markdown",
1193
- "punctuation.definition.list.begin.quarto",
1194
- "markup.list.bullet"
1195
- ],
1196
- settings: {
1197
- foreground: "var(--syntax-operator)"
1198
- }
1199
- },
1200
- {
1201
- scope: "markup.heading.quarto",
1202
- settings: {
1203
- fontStyle: "bold"
1204
- }
1205
- },
1206
- {
1207
- scope: [
1208
- "entity.other.attribute-name.multipart.nix",
1209
- "entity.other.attribute-name.single.nix"
1210
- ],
1211
- settings: {
1212
- foreground: "var(--syntax-function)"
1213
- }
1214
- },
1215
- {
1216
- scope: "variable.parameter.name.nix",
1217
- settings: {
1218
- foreground: "var(--syntax-fg)",
1219
- fontStyle: ""
1220
- }
1221
- },
1222
- {
1223
- scope: "meta.embedded variable.parameter.name.nix",
1224
- settings: {
1225
- foreground: "var(--syntax-blue-pale)",
1226
- fontStyle: ""
1227
- }
1228
- },
1229
- {
1230
- scope: "string.unquoted.path.nix",
1231
- settings: {
1232
- foreground: "var(--syntax-escape)",
1233
- fontStyle: ""
1234
- }
1235
- },
1236
- {
1237
- scope: [
1238
- "support.attribute.builtin",
1239
- "meta.attribute.php"
1240
- ],
1241
- settings: {
1242
- foreground: "var(--syntax-number)"
1243
- }
1244
- },
1245
- {
1246
- scope: "meta.function.parameters.php punctuation.definition.variable.php",
1247
- settings: {
1248
- foreground: "var(--syntax-parameter)"
1249
- }
1250
- },
1251
- {
1252
- scope: "constant.language.php",
1253
- settings: {
1254
- foreground: "var(--syntax-keyword)"
1255
- }
1256
- },
1257
- {
1258
- scope: "text.html.php support.function",
1259
- settings: {
1260
- foreground: "var(--syntax-function)"
1261
- }
1262
- },
1263
- {
1264
- scope: "keyword.other.phpdoc.php",
1265
- settings: {
1266
- fontStyle: ""
1267
- }
1268
- },
1269
- {
1270
- scope: [
1271
- "support.variable.magic.python",
1272
- "meta.function-call.arguments.python"
1273
- ],
1274
- settings: {
1275
- foreground: "var(--syntax-fg)"
1276
- }
1277
- },
1278
- {
1279
- scope: [
1280
- "support.function.magic.python"
1281
- ],
1282
- settings: {
1283
- foreground: "var(--syntax-function)"
1284
- }
1285
- },
1286
- {
1287
- scope: [
1288
- "variable.parameter.function.language.special.self.python",
1289
- "variable.language.special.self.python"
1290
- ],
1291
- settings: {
1292
- foreground: "var(--syntax-builtin)"
1293
- }
1294
- },
1295
- {
1296
- scope: [
1297
- "keyword.control.flow.python",
1298
- "keyword.operator.logical.python"
1299
- ],
1300
- settings: {
1301
- foreground: "var(--syntax-keyword)"
1302
- }
1303
- },
1304
- {
1305
- scope: "storage.type.function.python",
1306
- settings: {
1307
- foreground: "var(--syntax-keyword)"
1308
- }
1309
- },
1310
- {
1311
- scope: [
1312
- "support.token.decorator.python",
1313
- "meta.function.decorator.identifier.python"
1314
- ],
1315
- settings: {
1316
- foreground: "var(--syntax-function)"
1317
- }
1318
- },
1319
- {
1320
- scope: [
1321
- "meta.function-call.python"
1322
- ],
1323
- settings: {
1324
- foreground: "var(--syntax-function)"
1325
- }
1326
- },
1327
- {
1328
- scope: [
1329
- "entity.name.function.decorator.python",
1330
- "punctuation.definition.decorator.python"
1331
- ],
1332
- settings: {
1333
- foreground: "var(--syntax-number)"
1334
- }
1335
- },
1336
- {
1337
- scope: "constant.character.format.placeholder.other.python",
1338
- settings: {
1339
- foreground: "var(--syntax-escape)"
1340
- }
1341
- },
1342
- {
1343
- scope: [
1344
- "support.type.exception.python",
1345
- "support.function.builtin.python"
1346
- ],
1347
- settings: {
1348
- foreground: "var(--syntax-number)"
1349
- }
1350
- },
1351
- {
1352
- scope: [
1353
- "support.type.python"
1354
- ],
1355
- settings: {
1356
- foreground: "var(--syntax-number)"
1357
- }
1358
- },
1359
- {
1360
- scope: "constant.language.python",
1361
- settings: {
1362
- foreground: "var(--syntax-keyword)"
1363
- }
1364
- },
1365
- {
1366
- scope: [
1367
- "meta.indexed-name.python",
1368
- "meta.item-access.python"
1369
- ],
1370
- settings: {
1371
- foreground: "var(--syntax-parameter)"
1372
- }
1373
- },
1374
- {
1375
- scope: "storage.type.string.python",
1376
- settings: {
1377
- foreground: "var(--syntax-operator)"
1378
- }
1379
- },
1380
- {
1381
- scope: "meta.function.parameters.python",
1382
- settings: {
1383
- fontStyle: ""
1384
- }
1385
- },
1386
- {
1387
- scope: [
1388
- "string.regexp punctuation.definition.string.begin",
1389
- "string.regexp punctuation.definition.string.end"
1390
- ],
1391
- settings: {
1392
- foreground: "var(--syntax-escape)"
1393
- }
1394
- },
1395
- {
1396
- scope: "keyword.control.anchor.regexp",
1397
- settings: {
1398
- foreground: "var(--syntax-keyword)"
1399
- }
1400
- },
1401
- {
1402
- scope: "string.regexp.ts",
1403
- settings: {
1404
- foreground: "var(--syntax-fg)"
1405
- }
1406
- },
1407
- {
1408
- scope: [
1409
- "punctuation.definition.group.regexp",
1410
- "keyword.other.back-reference.regexp"
1411
- ],
1412
- settings: {
1413
- foreground: "var(--syntax-operator)"
1414
- }
1415
- },
1416
- {
1417
- scope: "punctuation.definition.character-class.regexp",
1418
- settings: {
1419
- foreground: "var(--syntax-number)"
1420
- }
1421
- },
1422
- {
1423
- scope: "constant.other.character-class.regexp",
1424
- settings: {
1425
- foreground: "var(--syntax-escape)"
1426
- }
1427
- },
1428
- {
1429
- scope: "constant.other.character-class.range.regexp",
1430
- settings: {
1431
- foreground: "var(--syntax-rose)"
1432
- }
1433
- },
1434
- {
1435
- scope: "keyword.operator.quantifier.regexp",
1436
- settings: {
1437
- foreground: "var(--syntax-operator)"
1438
- }
1439
- },
1440
- {
1441
- scope: "constant.character.numeric.regexp",
1442
- settings: {
1443
- foreground: "var(--syntax-number)"
1444
- }
1445
- },
1446
- {
1447
- scope: [
1448
- "punctuation.definition.group.no-capture.regexp",
1449
- "meta.assertion.look-ahead.regexp",
1450
- "meta.assertion.negative-look-ahead.regexp"
1451
- ],
1452
- settings: {
1453
- foreground: "var(--syntax-function)"
1454
- }
1455
- },
1456
- {
1457
- scope: [
1458
- "meta.annotation.rust",
1459
- "meta.annotation.rust punctuation",
1460
- "meta.attribute.rust",
1461
- "punctuation.definition.attribute.rust"
1462
- ],
1463
- settings: {
1464
- foreground: "var(--syntax-number)"
1465
- }
1466
- },
1467
- {
1468
- scope: [
1469
- "meta.attribute.rust string.quoted.double.rust",
1470
- "meta.attribute.rust string.quoted.single.char.rust"
1471
- ],
1472
- settings: {
1473
- fontStyle: ""
1474
- }
1475
- },
1476
- {
1477
- scope: [
1478
- "entity.name.function.macro.rules.rust",
1479
- "storage.type.module.rust",
1480
- "storage.modifier.rust",
1481
- "storage.type.struct.rust",
1482
- "storage.type.enum.rust",
1483
- "storage.type.trait.rust",
1484
- "storage.type.union.rust",
1485
- "storage.type.impl.rust",
1486
- "storage.type.rust",
1487
- "storage.type.function.rust",
1488
- "storage.type.type.rust"
1489
- ],
1490
- settings: {
1491
- foreground: "var(--syntax-keyword)",
1492
- fontStyle: ""
1493
- }
1494
- },
1495
- {
1496
- scope: "entity.name.type.numeric.rust",
1497
- settings: {
1498
- foreground: "var(--syntax-keyword)",
1499
- fontStyle: ""
1500
- }
1501
- },
1502
- {
1503
- scope: "meta.generic.rust",
1504
- settings: {
1505
- foreground: "var(--syntax-number)"
1506
- }
1507
- },
1508
- {
1509
- scope: "entity.name.impl.rust",
1510
- settings: {
1511
- foreground: "var(--syntax-number)"
1512
- }
1513
- },
1514
- {
1515
- scope: "entity.name.module.rust",
1516
- settings: {
1517
- foreground: "var(--syntax-number)"
1518
- }
1519
- },
1520
- {
1521
- scope: "entity.name.trait.rust",
1522
- settings: {
1523
- foreground: "var(--syntax-number)"
1524
- }
1525
- },
1526
- {
1527
- scope: "storage.type.source.rust",
1528
- settings: {
1529
- foreground: "var(--syntax-number)"
1530
- }
1531
- },
1532
- {
1533
- scope: "entity.name.union.rust",
1534
- settings: {
1535
- foreground: "var(--syntax-number)"
1536
- }
1537
- },
1538
- {
1539
- scope: "meta.enum.rust storage.type.source.rust",
1540
- settings: {
1541
- foreground: "var(--syntax-operator)"
1542
- }
1543
- },
1544
- {
1545
- scope: [
1546
- "support.macro.rust",
1547
- "meta.macro.rust support.function.rust",
1548
- "entity.name.function.macro.rust"
1549
- ],
1550
- settings: {
1551
- foreground: "var(--syntax-function)"
1552
- }
1553
- },
1554
- {
1555
- scope: [
1556
- "storage.modifier.lifetime.rust",
1557
- "entity.name.type.lifetime"
1558
- ],
1559
- settings: {
1560
- foreground: "var(--syntax-function)"
1561
- }
1562
- },
1563
- {
1564
- scope: "string.quoted.double.rust constant.other.placeholder.rust",
1565
- settings: {
1566
- foreground: "var(--syntax-escape)"
1567
- }
1568
- },
1569
- {
1570
- scope: "meta.function.return-type.rust meta.generic.rust storage.type.rust",
1571
- settings: {
1572
- foreground: "var(--syntax-fg)"
1573
- }
1574
- },
1575
- {
1576
- scope: "meta.function.call.rust",
1577
- settings: {
1578
- foreground: "var(--syntax-function)"
1579
- }
1580
- },
1581
- {
1582
- scope: "punctuation.brackets.angle.rust",
1583
- settings: {
1584
- foreground: "var(--syntax-function)"
1585
- }
1586
- },
1587
- {
1588
- scope: "constant.other.caps.rust",
1589
- settings: {
1590
- foreground: "var(--syntax-number)"
1591
- }
1592
- },
1593
- {
1594
- scope: [
1595
- "meta.function.definition.rust variable.other.rust"
1596
- ],
1597
- settings: {
1598
- foreground: "var(--syntax-parameter)"
1599
- }
1600
- },
1601
- {
1602
- scope: "meta.function.call.rust variable.other.rust",
1603
- settings: {
1604
- foreground: "var(--syntax-fg)"
1605
- }
1606
- },
1607
- {
1608
- scope: "variable.language.self.rust",
1609
- settings: {
1610
- foreground: "var(--syntax-builtin)"
1611
- }
1612
- },
1613
- {
1614
- scope: [
1615
- "variable.other.metavariable.name.rust",
1616
- "meta.macro.metavariable.rust keyword.operator.macro.dollar.rust"
1617
- ],
1618
- settings: {
1619
- foreground: "var(--syntax-escape)"
1620
- }
1621
- },
1622
- {
1623
- scope: [
1624
- "comment.line.shebang",
1625
- "comment.line.shebang punctuation.definition.comment",
1626
- "comment.line.shebang",
1627
- "punctuation.definition.comment.shebang.shell",
1628
- "meta.shebang.shell"
1629
- ],
1630
- settings: {
1631
- foreground: "var(--syntax-escape)"
1632
- }
1633
- },
1634
- {
1635
- scope: "comment.line.shebang constant.language",
1636
- settings: {
1637
- foreground: "var(--syntax-operator)"
1638
- }
1639
- },
1640
- {
1641
- scope: [
1642
- "meta.function-call.arguments.shell punctuation.definition.variable.shell",
1643
- "meta.function-call.arguments.shell punctuation.section.interpolation",
1644
- "meta.function-call.arguments.shell punctuation.definition.variable.shell",
1645
- "meta.function-call.arguments.shell punctuation.section.interpolation"
1646
- ],
1647
- settings: {
1648
- foreground: "var(--syntax-builtin)"
1649
- }
1650
- },
1651
- {
1652
- scope: "meta.string meta.interpolation.parameter.shell variable.other.readwrite",
1653
- settings: {
1654
- foreground: "var(--syntax-number)"
1655
- }
1656
- },
1657
- {
1658
- scope: [
1659
- "source.shell punctuation.section.interpolation",
1660
- "punctuation.definition.evaluation.backticks.shell"
1661
- ],
1662
- settings: {
1663
- foreground: "var(--syntax-operator)"
1664
- }
1665
- },
1666
- {
1667
- scope: "entity.name.tag.heredoc.shell",
1668
- settings: {
1669
- foreground: "var(--syntax-keyword)"
1670
- }
1671
- },
1672
- {
1673
- scope: "string.quoted.double.shell variable.other.normal.shell",
1674
- settings: {
1675
- foreground: "var(--syntax-fg)"
1676
- }
1677
- },
1678
- {
1679
- scope: "token.info-token",
1680
- settings: {
1681
- foreground: "var(--syntax-blue)"
1682
- }
1683
- },
1684
- {
1685
- scope: "token.warn-token",
1686
- settings: {
1687
- foreground: "var(--syntax-amber)"
1688
- }
1689
- },
1690
- {
1691
- scope: "token.error-token",
1692
- settings: {
1693
- foreground: "var(--syntax-builtin)"
1694
- }
1695
- },
1696
- {
1697
- scope: "token.debug-token",
1698
- settings: {
1699
- foreground: "var(--syntax-purple)"
1700
- }
1701
- }
1702
- ];
1703
- var oxideSyntax = {
1704
- name: name,
1705
- colors: colors,
1706
- tokenColors: tokenColors
1707
- };
1708
-
1709
- export { oxideSyntax as oxideTheme, oxql_tmLanguage as oxqlGrammar, p4_tmLanguage as p4Grammar };