@oxide/design-system 6.0.4 → 6.0.5-canary.70a2cc8
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.
- package/dist/asciidoc.css +3 -82
- package/dist/components/src/asciidoc/index.js +186 -178
- package/dist/components/src/asciidoc/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/dark.css +19 -0
- package/styles/light.css +19 -0
|
@@ -13,8 +13,16 @@ import { Content as Content4 } from "@oxide/react-asciidoc";
|
|
|
13
13
|
// components/src/asciidoc/Admonition.tsx
|
|
14
14
|
import { Content, parse, Title } from "@oxide/react-asciidoc";
|
|
15
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
|
+
var themeForAdmonition = {
|
|
17
|
+
note: "green-theme",
|
|
18
|
+
caution: "yellow-theme",
|
|
19
|
+
important: "yellow-theme",
|
|
20
|
+
warning: "red-theme",
|
|
21
|
+
tip: "purple-theme"
|
|
22
|
+
};
|
|
16
23
|
var Admonition = ({ node }) => {
|
|
17
24
|
const attrs2 = node.attributes;
|
|
25
|
+
const theme = themeForAdmonition[attrs2.name] || "";
|
|
18
26
|
let icon;
|
|
19
27
|
if (attrs2.name === "caution") {
|
|
20
28
|
icon = /* @__PURE__ */ jsx(Error12, {});
|
|
@@ -23,7 +31,7 @@ var Admonition = ({ node }) => {
|
|
|
23
31
|
} else {
|
|
24
32
|
icon = /* @__PURE__ */ jsx(Error12, { className: "rotate-180" });
|
|
25
33
|
}
|
|
26
|
-
return /* @__PURE__ */ jsxs("div", { className: `admonitionblock ${attrs2.name}`, children: [
|
|
34
|
+
return /* @__PURE__ */ jsxs("div", { className: `admonitionblock ${attrs2.name} ${theme}`, children: [
|
|
27
35
|
/* @__PURE__ */ jsx("div", { className: "admonition-icon", children: icon }),
|
|
28
36
|
/* @__PURE__ */ jsxs("div", { className: "admonition-content content", children: [
|
|
29
37
|
/* @__PURE__ */ jsx(Title, { text: node.title }),
|
|
@@ -478,12 +486,12 @@ var oxql_tmLanguage_default = {
|
|
|
478
486
|
]
|
|
479
487
|
};
|
|
480
488
|
|
|
481
|
-
// components/src/asciidoc/oxide-
|
|
482
|
-
var
|
|
489
|
+
// components/src/asciidoc/oxide-syntax.json
|
|
490
|
+
var oxide_syntax_default = {
|
|
483
491
|
name: "Oxide Dark",
|
|
484
492
|
colors: {
|
|
485
|
-
"editor.background": "
|
|
486
|
-
"editor.foreground": "
|
|
493
|
+
"editor.background": "var(--syntax-bg)",
|
|
494
|
+
"editor.foreground": "var(--syntax-fg)"
|
|
487
495
|
},
|
|
488
496
|
tokenColors: [
|
|
489
497
|
{
|
|
@@ -494,32 +502,32 @@ var oxide_dark_default = {
|
|
|
494
502
|
"punctuation.definition.variable"
|
|
495
503
|
],
|
|
496
504
|
settings: {
|
|
497
|
-
foreground: "
|
|
505
|
+
foreground: "var(--syntax-fg)"
|
|
498
506
|
}
|
|
499
507
|
},
|
|
500
508
|
{
|
|
501
509
|
scope: "punctuation",
|
|
502
510
|
settings: {
|
|
503
|
-
foreground: "
|
|
511
|
+
foreground: "var(--syntax-comment)",
|
|
504
512
|
fontStyle: ""
|
|
505
513
|
}
|
|
506
514
|
},
|
|
507
515
|
{
|
|
508
516
|
scope: ["comment", "punctuation.definition.comment"],
|
|
509
517
|
settings: {
|
|
510
|
-
foreground: "
|
|
518
|
+
foreground: "var(--syntax-comment)"
|
|
511
519
|
}
|
|
512
520
|
},
|
|
513
521
|
{
|
|
514
522
|
scope: ["string", "punctuation.definition.string"],
|
|
515
523
|
settings: {
|
|
516
|
-
foreground: "
|
|
524
|
+
foreground: "var(--syntax-string)"
|
|
517
525
|
}
|
|
518
526
|
},
|
|
519
527
|
{
|
|
520
528
|
scope: "constant.character.escape",
|
|
521
529
|
settings: {
|
|
522
|
-
foreground: "
|
|
530
|
+
foreground: "var(--syntax-escape)"
|
|
523
531
|
}
|
|
524
532
|
},
|
|
525
533
|
{
|
|
@@ -534,7 +542,7 @@ var oxide_dark_default = {
|
|
|
534
542
|
"keyword.other.unit.suffix.floating-point"
|
|
535
543
|
],
|
|
536
544
|
settings: {
|
|
537
|
-
foreground: "
|
|
545
|
+
foreground: "var(--syntax-number)"
|
|
538
546
|
}
|
|
539
547
|
},
|
|
540
548
|
{
|
|
@@ -549,14 +557,14 @@ var oxide_dark_default = {
|
|
|
549
557
|
"punctuation.definition.keyword"
|
|
550
558
|
],
|
|
551
559
|
settings: {
|
|
552
|
-
foreground: "
|
|
560
|
+
foreground: "var(--syntax-keyword)",
|
|
553
561
|
fontStyle: ""
|
|
554
562
|
}
|
|
555
563
|
},
|
|
556
564
|
{
|
|
557
565
|
scope: "entity.name.tag.documentation",
|
|
558
566
|
settings: {
|
|
559
|
-
foreground: "
|
|
567
|
+
foreground: "var(--syntax-keyword)"
|
|
560
568
|
}
|
|
561
569
|
},
|
|
562
570
|
{
|
|
@@ -569,7 +577,7 @@ var oxide_dark_default = {
|
|
|
569
577
|
"punctuation.separator.key-value"
|
|
570
578
|
],
|
|
571
579
|
settings: {
|
|
572
|
-
foreground: "
|
|
580
|
+
foreground: "var(--syntax-operator)"
|
|
573
581
|
}
|
|
574
582
|
},
|
|
575
583
|
{
|
|
@@ -581,7 +589,7 @@ var oxide_dark_default = {
|
|
|
581
589
|
"variable.function"
|
|
582
590
|
],
|
|
583
591
|
settings: {
|
|
584
|
-
foreground: "
|
|
592
|
+
foreground: "var(--syntax-function)"
|
|
585
593
|
}
|
|
586
594
|
},
|
|
587
595
|
{
|
|
@@ -593,31 +601,31 @@ var oxide_dark_default = {
|
|
|
593
601
|
"entity.name.struct"
|
|
594
602
|
],
|
|
595
603
|
settings: {
|
|
596
|
-
foreground: "
|
|
604
|
+
foreground: "var(--syntax-number)"
|
|
597
605
|
}
|
|
598
606
|
},
|
|
599
607
|
{
|
|
600
608
|
scope: "entity.name.enum",
|
|
601
609
|
settings: {
|
|
602
|
-
foreground: "
|
|
610
|
+
foreground: "var(--syntax-number)"
|
|
603
611
|
}
|
|
604
612
|
},
|
|
605
613
|
{
|
|
606
614
|
scope: ["meta.enum variable.other.readwrite", "variable.other.enummember"],
|
|
607
615
|
settings: {
|
|
608
|
-
foreground: "
|
|
616
|
+
foreground: "var(--syntax-operator)"
|
|
609
617
|
}
|
|
610
618
|
},
|
|
611
619
|
{
|
|
612
620
|
scope: "meta.property.object",
|
|
613
621
|
settings: {
|
|
614
|
-
foreground: "
|
|
622
|
+
foreground: "var(--syntax-operator)"
|
|
615
623
|
}
|
|
616
624
|
},
|
|
617
625
|
{
|
|
618
626
|
scope: ["meta.type", "meta.type-alias", "support.type", "entity.name.type"],
|
|
619
627
|
settings: {
|
|
620
|
-
foreground: "
|
|
628
|
+
foreground: "var(--syntax-number)"
|
|
621
629
|
}
|
|
622
630
|
},
|
|
623
631
|
{
|
|
@@ -629,49 +637,49 @@ var oxide_dark_default = {
|
|
|
629
637
|
"punctuation.decorator"
|
|
630
638
|
],
|
|
631
639
|
settings: {
|
|
632
|
-
foreground: "
|
|
640
|
+
foreground: "var(--syntax-number)"
|
|
633
641
|
}
|
|
634
642
|
},
|
|
635
643
|
{
|
|
636
644
|
scope: ["variable.parameter", "meta.function.parameters"],
|
|
637
645
|
settings: {
|
|
638
|
-
foreground: "
|
|
646
|
+
foreground: "var(--syntax-parameter)"
|
|
639
647
|
}
|
|
640
648
|
},
|
|
641
649
|
{
|
|
642
650
|
scope: ["constant.language", "support.function.builtin"],
|
|
643
651
|
settings: {
|
|
644
|
-
foreground: "
|
|
652
|
+
foreground: "var(--syntax-builtin)"
|
|
645
653
|
}
|
|
646
654
|
},
|
|
647
655
|
{
|
|
648
656
|
scope: "entity.other.attribute-name.documentation",
|
|
649
657
|
settings: {
|
|
650
|
-
foreground: "
|
|
658
|
+
foreground: "var(--syntax-builtin)"
|
|
651
659
|
}
|
|
652
660
|
},
|
|
653
661
|
{
|
|
654
662
|
scope: ["keyword.control.directive", "punctuation.definition.directive"],
|
|
655
663
|
settings: {
|
|
656
|
-
foreground: "
|
|
664
|
+
foreground: "var(--syntax-number)"
|
|
657
665
|
}
|
|
658
666
|
},
|
|
659
667
|
{
|
|
660
668
|
scope: "punctuation.definition.typeparameters",
|
|
661
669
|
settings: {
|
|
662
|
-
foreground: "
|
|
670
|
+
foreground: "var(--syntax-function)"
|
|
663
671
|
}
|
|
664
672
|
},
|
|
665
673
|
{
|
|
666
674
|
scope: "entity.name.namespace",
|
|
667
675
|
settings: {
|
|
668
|
-
foreground: "
|
|
676
|
+
foreground: "var(--syntax-number)"
|
|
669
677
|
}
|
|
670
678
|
},
|
|
671
679
|
{
|
|
672
680
|
scope: "support.type.property-name.css",
|
|
673
681
|
settings: {
|
|
674
|
-
foreground: "
|
|
682
|
+
foreground: "var(--syntax-function)",
|
|
675
683
|
fontStyle: ""
|
|
676
684
|
}
|
|
677
685
|
},
|
|
@@ -681,19 +689,19 @@ var oxide_dark_default = {
|
|
|
681
689
|
"variable.language.this punctuation.definition.variable"
|
|
682
690
|
],
|
|
683
691
|
settings: {
|
|
684
|
-
foreground: "
|
|
692
|
+
foreground: "var(--syntax-builtin)"
|
|
685
693
|
}
|
|
686
694
|
},
|
|
687
695
|
{
|
|
688
696
|
scope: "variable.object.property",
|
|
689
697
|
settings: {
|
|
690
|
-
foreground: "
|
|
698
|
+
foreground: "var(--syntax-fg)"
|
|
691
699
|
}
|
|
692
700
|
},
|
|
693
701
|
{
|
|
694
702
|
scope: ["string.template variable", "string variable"],
|
|
695
703
|
settings: {
|
|
696
|
-
foreground: "
|
|
704
|
+
foreground: "var(--syntax-fg)"
|
|
697
705
|
}
|
|
698
706
|
},
|
|
699
707
|
{
|
|
@@ -705,7 +713,7 @@ var oxide_dark_default = {
|
|
|
705
713
|
{
|
|
706
714
|
scope: "storage.modifier.specifier.extern.cpp",
|
|
707
715
|
settings: {
|
|
708
|
-
foreground: "
|
|
716
|
+
foreground: "var(--syntax-keyword)"
|
|
709
717
|
}
|
|
710
718
|
},
|
|
711
719
|
{
|
|
@@ -716,7 +724,7 @@ var oxide_dark_default = {
|
|
|
716
724
|
"entity.name.scope-resolution.function.definition.cpp"
|
|
717
725
|
],
|
|
718
726
|
settings: {
|
|
719
|
-
foreground: "
|
|
727
|
+
foreground: "var(--syntax-number)"
|
|
720
728
|
}
|
|
721
729
|
},
|
|
722
730
|
{
|
|
@@ -728,19 +736,19 @@ var oxide_dark_default = {
|
|
|
728
736
|
{
|
|
729
737
|
scope: ["storage.modifier.reference.cpp"],
|
|
730
738
|
settings: {
|
|
731
|
-
foreground: "
|
|
739
|
+
foreground: "var(--syntax-operator)"
|
|
732
740
|
}
|
|
733
741
|
},
|
|
734
742
|
{
|
|
735
743
|
scope: "meta.interpolation.cs",
|
|
736
744
|
settings: {
|
|
737
|
-
foreground: "
|
|
745
|
+
foreground: "var(--syntax-fg)"
|
|
738
746
|
}
|
|
739
747
|
},
|
|
740
748
|
{
|
|
741
749
|
scope: "comment.block.documentation.cs",
|
|
742
750
|
settings: {
|
|
743
|
-
foreground: "
|
|
751
|
+
foreground: "var(--syntax-fg)"
|
|
744
752
|
}
|
|
745
753
|
},
|
|
746
754
|
{
|
|
@@ -749,38 +757,38 @@ var oxide_dark_default = {
|
|
|
749
757
|
"entity.other.attribute-name.parent-selector.css punctuation.definition.entity.css"
|
|
750
758
|
],
|
|
751
759
|
settings: {
|
|
752
|
-
foreground: "
|
|
760
|
+
foreground: "var(--syntax-number)"
|
|
753
761
|
}
|
|
754
762
|
},
|
|
755
763
|
{
|
|
756
764
|
scope: "punctuation.separator.operator.css",
|
|
757
765
|
settings: {
|
|
758
|
-
foreground: "
|
|
766
|
+
foreground: "var(--syntax-operator)"
|
|
759
767
|
}
|
|
760
768
|
},
|
|
761
769
|
{
|
|
762
770
|
scope: "source.css entity.other.attribute-name.pseudo-class",
|
|
763
771
|
settings: {
|
|
764
|
-
foreground: "
|
|
772
|
+
foreground: "var(--syntax-operator)"
|
|
765
773
|
}
|
|
766
774
|
},
|
|
767
775
|
{
|
|
768
776
|
scope: "source.css constant.other.unicode-range",
|
|
769
777
|
settings: {
|
|
770
|
-
foreground: "
|
|
778
|
+
foreground: "var(--syntax-number)"
|
|
771
779
|
}
|
|
772
780
|
},
|
|
773
781
|
{
|
|
774
782
|
scope: "source.css variable.parameter.url",
|
|
775
783
|
settings: {
|
|
776
|
-
foreground: "
|
|
784
|
+
foreground: "var(--syntax-operator)",
|
|
777
785
|
fontStyle: ""
|
|
778
786
|
}
|
|
779
787
|
},
|
|
780
788
|
{
|
|
781
789
|
scope: ["support.type.vendored.property-name"],
|
|
782
790
|
settings: {
|
|
783
|
-
foreground: "
|
|
791
|
+
foreground: "var(--syntax-function)"
|
|
784
792
|
}
|
|
785
793
|
},
|
|
786
794
|
{
|
|
@@ -791,7 +799,7 @@ var oxide_dark_default = {
|
|
|
791
799
|
"meta.definition.variable.scss"
|
|
792
800
|
],
|
|
793
801
|
settings: {
|
|
794
|
-
foreground: "
|
|
802
|
+
foreground: "var(--syntax-parameter)"
|
|
795
803
|
}
|
|
796
804
|
},
|
|
797
805
|
{
|
|
@@ -801,19 +809,19 @@ var oxide_dark_default = {
|
|
|
801
809
|
"meta.property-list variable.other.less punctuation.definition.variable.less"
|
|
802
810
|
],
|
|
803
811
|
settings: {
|
|
804
|
-
foreground: "
|
|
812
|
+
foreground: "var(--syntax-function)"
|
|
805
813
|
}
|
|
806
814
|
},
|
|
807
815
|
{
|
|
808
816
|
scope: "keyword.other.unit.percentage.css",
|
|
809
817
|
settings: {
|
|
810
|
-
foreground: "
|
|
818
|
+
foreground: "var(--syntax-number)"
|
|
811
819
|
}
|
|
812
820
|
},
|
|
813
821
|
{
|
|
814
822
|
scope: "source.css meta.attribute-selector",
|
|
815
823
|
settings: {
|
|
816
|
-
foreground: "
|
|
824
|
+
foreground: "var(--syntax-operator)"
|
|
817
825
|
}
|
|
818
826
|
},
|
|
819
827
|
{
|
|
@@ -828,51 +836,51 @@ var oxide_dark_default = {
|
|
|
828
836
|
"support.type.property-name.yaml"
|
|
829
837
|
],
|
|
830
838
|
settings: {
|
|
831
|
-
foreground: "
|
|
839
|
+
foreground: "var(--syntax-function)",
|
|
832
840
|
fontStyle: ""
|
|
833
841
|
}
|
|
834
842
|
},
|
|
835
843
|
{
|
|
836
844
|
scope: ["constant.language.json", "constant.language.yaml"],
|
|
837
845
|
settings: {
|
|
838
|
-
foreground: "
|
|
846
|
+
foreground: "var(--syntax-number)"
|
|
839
847
|
}
|
|
840
848
|
},
|
|
841
849
|
{
|
|
842
850
|
scope: ["entity.name.type.anchor.yaml", "variable.other.alias.yaml"],
|
|
843
851
|
settings: {
|
|
844
|
-
foreground: "
|
|
852
|
+
foreground: "var(--syntax-number)",
|
|
845
853
|
fontStyle: ""
|
|
846
854
|
}
|
|
847
855
|
},
|
|
848
856
|
{
|
|
849
857
|
scope: ["support.type.property-name.table", "entity.name.section.group-title.ini"],
|
|
850
858
|
settings: {
|
|
851
|
-
foreground: "
|
|
859
|
+
foreground: "var(--syntax-number)"
|
|
852
860
|
}
|
|
853
861
|
},
|
|
854
862
|
{
|
|
855
863
|
scope: "constant.other.time.datetime.offset.toml",
|
|
856
864
|
settings: {
|
|
857
|
-
foreground: "
|
|
865
|
+
foreground: "var(--syntax-escape)"
|
|
858
866
|
}
|
|
859
867
|
},
|
|
860
868
|
{
|
|
861
869
|
scope: ["punctuation.definition.anchor.yaml", "punctuation.definition.alias.yaml"],
|
|
862
870
|
settings: {
|
|
863
|
-
foreground: "
|
|
871
|
+
foreground: "var(--syntax-escape)"
|
|
864
872
|
}
|
|
865
873
|
},
|
|
866
874
|
{
|
|
867
875
|
scope: "entity.other.document.begin.yaml",
|
|
868
876
|
settings: {
|
|
869
|
-
foreground: "
|
|
877
|
+
foreground: "var(--syntax-escape)"
|
|
870
878
|
}
|
|
871
879
|
},
|
|
872
880
|
{
|
|
873
881
|
scope: "markup.changed.diff",
|
|
874
882
|
settings: {
|
|
875
|
-
foreground: "
|
|
883
|
+
foreground: "var(--syntax-number)"
|
|
876
884
|
}
|
|
877
885
|
},
|
|
878
886
|
{
|
|
@@ -883,85 +891,85 @@ var oxide_dark_default = {
|
|
|
883
891
|
"punctuation.definition.to-file.diff"
|
|
884
892
|
],
|
|
885
893
|
settings: {
|
|
886
|
-
foreground: "
|
|
894
|
+
foreground: "var(--syntax-function)"
|
|
887
895
|
}
|
|
888
896
|
},
|
|
889
897
|
{
|
|
890
898
|
scope: "markup.inserted.diff",
|
|
891
899
|
settings: {
|
|
892
|
-
foreground: "
|
|
900
|
+
foreground: "var(--syntax-operator)"
|
|
893
901
|
}
|
|
894
902
|
},
|
|
895
903
|
{
|
|
896
904
|
scope: "markup.deleted.diff",
|
|
897
905
|
settings: {
|
|
898
|
-
foreground: "
|
|
906
|
+
foreground: "var(--syntax-builtin)"
|
|
899
907
|
}
|
|
900
908
|
},
|
|
901
909
|
{
|
|
902
910
|
scope: ["variable.other.env"],
|
|
903
911
|
settings: {
|
|
904
|
-
foreground: "
|
|
912
|
+
foreground: "var(--syntax-function)"
|
|
905
913
|
}
|
|
906
914
|
},
|
|
907
915
|
{
|
|
908
916
|
scope: ["string.quoted variable.other.env"],
|
|
909
917
|
settings: {
|
|
910
|
-
foreground: "
|
|
918
|
+
foreground: "var(--syntax-fg)"
|
|
911
919
|
}
|
|
912
920
|
},
|
|
913
921
|
{
|
|
914
922
|
scope: "support.function.builtin.gdscript",
|
|
915
923
|
settings: {
|
|
916
|
-
foreground: "
|
|
924
|
+
foreground: "var(--syntax-function)"
|
|
917
925
|
}
|
|
918
926
|
},
|
|
919
927
|
{
|
|
920
928
|
scope: "constant.language.gdscript",
|
|
921
929
|
settings: {
|
|
922
|
-
foreground: "
|
|
930
|
+
foreground: "var(--syntax-number)"
|
|
923
931
|
}
|
|
924
932
|
},
|
|
925
933
|
{
|
|
926
934
|
scope: "comment meta.annotation.go",
|
|
927
935
|
settings: {
|
|
928
|
-
foreground: "
|
|
936
|
+
foreground: "var(--syntax-parameter)"
|
|
929
937
|
}
|
|
930
938
|
},
|
|
931
939
|
{
|
|
932
940
|
scope: "comment meta.annotation.parameters.go",
|
|
933
941
|
settings: {
|
|
934
|
-
foreground: "
|
|
942
|
+
foreground: "var(--syntax-number)"
|
|
935
943
|
}
|
|
936
944
|
},
|
|
937
945
|
{
|
|
938
946
|
scope: "constant.language.go",
|
|
939
947
|
settings: {
|
|
940
|
-
foreground: "
|
|
948
|
+
foreground: "var(--syntax-number)"
|
|
941
949
|
}
|
|
942
950
|
},
|
|
943
951
|
{
|
|
944
952
|
scope: "variable.graphql",
|
|
945
953
|
settings: {
|
|
946
|
-
foreground: "
|
|
954
|
+
foreground: "var(--syntax-fg)"
|
|
947
955
|
}
|
|
948
956
|
},
|
|
949
957
|
{
|
|
950
958
|
scope: "string.unquoted.alias.graphql",
|
|
951
959
|
settings: {
|
|
952
|
-
foreground: "
|
|
960
|
+
foreground: "var(--syntax-string-alias)"
|
|
953
961
|
}
|
|
954
962
|
},
|
|
955
963
|
{
|
|
956
964
|
scope: "constant.character.enum.graphql",
|
|
957
965
|
settings: {
|
|
958
|
-
foreground: "
|
|
966
|
+
foreground: "var(--syntax-operator)"
|
|
959
967
|
}
|
|
960
968
|
},
|
|
961
969
|
{
|
|
962
970
|
scope: "meta.objectvalues.graphql constant.object.key.graphql string.unquoted.graphql",
|
|
963
971
|
settings: {
|
|
964
|
-
foreground: "
|
|
972
|
+
foreground: "var(--syntax-string-alias)"
|
|
965
973
|
}
|
|
966
974
|
},
|
|
967
975
|
{
|
|
@@ -972,13 +980,13 @@ var oxide_dark_default = {
|
|
|
972
980
|
"meta.tag.metadata.doctype punctuation.definition.tag"
|
|
973
981
|
],
|
|
974
982
|
settings: {
|
|
975
|
-
foreground: "
|
|
983
|
+
foreground: "var(--syntax-keyword)"
|
|
976
984
|
}
|
|
977
985
|
},
|
|
978
986
|
{
|
|
979
987
|
scope: ["entity.name.tag"],
|
|
980
988
|
settings: {
|
|
981
|
-
foreground: "
|
|
989
|
+
foreground: "var(--syntax-function)",
|
|
982
990
|
fontStyle: ""
|
|
983
991
|
}
|
|
984
992
|
},
|
|
@@ -994,13 +1002,13 @@ var oxide_dark_default = {
|
|
|
994
1002
|
"constant.character.entity.tsx punctuation"
|
|
995
1003
|
],
|
|
996
1004
|
settings: {
|
|
997
|
-
foreground: "
|
|
1005
|
+
foreground: "var(--syntax-builtin)"
|
|
998
1006
|
}
|
|
999
1007
|
},
|
|
1000
1008
|
{
|
|
1001
1009
|
scope: ["entity.other.attribute-name"],
|
|
1002
1010
|
settings: {
|
|
1003
|
-
foreground: "
|
|
1011
|
+
foreground: "var(--syntax-number)"
|
|
1004
1012
|
}
|
|
1005
1013
|
},
|
|
1006
1014
|
{
|
|
@@ -1011,26 +1019,26 @@ var oxide_dark_default = {
|
|
|
1011
1019
|
"support.class.component.vue"
|
|
1012
1020
|
],
|
|
1013
1021
|
settings: {
|
|
1014
|
-
foreground: "
|
|
1022
|
+
foreground: "var(--syntax-escape)",
|
|
1015
1023
|
fontStyle: ""
|
|
1016
1024
|
}
|
|
1017
1025
|
},
|
|
1018
1026
|
{
|
|
1019
1027
|
scope: ["punctuation.definition.annotation", "storage.type.annotation"],
|
|
1020
1028
|
settings: {
|
|
1021
|
-
foreground: "
|
|
1029
|
+
foreground: "var(--syntax-number)"
|
|
1022
1030
|
}
|
|
1023
1031
|
},
|
|
1024
1032
|
{
|
|
1025
1033
|
scope: "constant.other.enum.java",
|
|
1026
1034
|
settings: {
|
|
1027
|
-
foreground: "
|
|
1035
|
+
foreground: "var(--syntax-operator)"
|
|
1028
1036
|
}
|
|
1029
1037
|
},
|
|
1030
1038
|
{
|
|
1031
1039
|
scope: "storage.modifier.import.java",
|
|
1032
1040
|
settings: {
|
|
1033
|
-
foreground: "
|
|
1041
|
+
foreground: "var(--syntax-fg)"
|
|
1034
1042
|
}
|
|
1035
1043
|
},
|
|
1036
1044
|
{
|
|
@@ -1042,7 +1050,7 @@ var oxide_dark_default = {
|
|
|
1042
1050
|
{
|
|
1043
1051
|
scope: "meta.export variable.other.readwrite.js",
|
|
1044
1052
|
settings: {
|
|
1045
|
-
foreground: "
|
|
1053
|
+
foreground: "var(--syntax-parameter)"
|
|
1046
1054
|
}
|
|
1047
1055
|
},
|
|
1048
1056
|
{
|
|
@@ -1053,13 +1061,13 @@ var oxide_dark_default = {
|
|
|
1053
1061
|
"variable.other.property.ts"
|
|
1054
1062
|
],
|
|
1055
1063
|
settings: {
|
|
1056
|
-
foreground: "
|
|
1064
|
+
foreground: "var(--syntax-fg)"
|
|
1057
1065
|
}
|
|
1058
1066
|
},
|
|
1059
1067
|
{
|
|
1060
1068
|
scope: ["variable.other.jsdoc", "comment.block.documentation variable.other"],
|
|
1061
1069
|
settings: {
|
|
1062
|
-
foreground: "
|
|
1070
|
+
foreground: "var(--syntax-parameter)",
|
|
1063
1071
|
fontStyle: ""
|
|
1064
1072
|
}
|
|
1065
1073
|
},
|
|
@@ -1072,19 +1080,19 @@ var oxide_dark_default = {
|
|
|
1072
1080
|
{
|
|
1073
1081
|
scope: "support.type.object.console.js",
|
|
1074
1082
|
settings: {
|
|
1075
|
-
foreground: "
|
|
1083
|
+
foreground: "var(--syntax-fg)"
|
|
1076
1084
|
}
|
|
1077
1085
|
},
|
|
1078
1086
|
{
|
|
1079
1087
|
scope: ["support.constant.node", "support.type.object.module.js"],
|
|
1080
1088
|
settings: {
|
|
1081
|
-
foreground: "
|
|
1089
|
+
foreground: "var(--syntax-keyword)"
|
|
1082
1090
|
}
|
|
1083
1091
|
},
|
|
1084
1092
|
{
|
|
1085
1093
|
scope: "storage.modifier.implements",
|
|
1086
1094
|
settings: {
|
|
1087
|
-
foreground: "
|
|
1095
|
+
foreground: "var(--syntax-keyword)"
|
|
1088
1096
|
}
|
|
1089
1097
|
},
|
|
1090
1098
|
{
|
|
@@ -1096,25 +1104,25 @@ var oxide_dark_default = {
|
|
|
1096
1104
|
"support.type.builtin.ts"
|
|
1097
1105
|
],
|
|
1098
1106
|
settings: {
|
|
1099
|
-
foreground: "
|
|
1107
|
+
foreground: "var(--syntax-keyword)"
|
|
1100
1108
|
}
|
|
1101
1109
|
},
|
|
1102
1110
|
{
|
|
1103
1111
|
scope: "variable.parameter.generic",
|
|
1104
1112
|
settings: {
|
|
1105
|
-
foreground: "
|
|
1113
|
+
foreground: "var(--syntax-number)"
|
|
1106
1114
|
}
|
|
1107
1115
|
},
|
|
1108
1116
|
{
|
|
1109
1117
|
scope: ["keyword.declaration.function.arrow.js", "storage.type.function.arrow.ts"],
|
|
1110
1118
|
settings: {
|
|
1111
|
-
foreground: "
|
|
1119
|
+
foreground: "var(--syntax-operator)"
|
|
1112
1120
|
}
|
|
1113
1121
|
},
|
|
1114
1122
|
{
|
|
1115
1123
|
scope: "punctuation.decorator.ts",
|
|
1116
1124
|
settings: {
|
|
1117
|
-
foreground: "
|
|
1125
|
+
foreground: "var(--syntax-function)"
|
|
1118
1126
|
}
|
|
1119
1127
|
},
|
|
1120
1128
|
{
|
|
@@ -1131,49 +1139,49 @@ var oxide_dark_default = {
|
|
|
1131
1139
|
"keyword.operator.expression.typeof.ts"
|
|
1132
1140
|
],
|
|
1133
1141
|
settings: {
|
|
1134
|
-
foreground: "
|
|
1142
|
+
foreground: "var(--syntax-keyword)"
|
|
1135
1143
|
}
|
|
1136
1144
|
},
|
|
1137
1145
|
{
|
|
1138
1146
|
scope: "support.function.macro.julia",
|
|
1139
1147
|
settings: {
|
|
1140
|
-
foreground: "
|
|
1148
|
+
foreground: "var(--syntax-operator)"
|
|
1141
1149
|
}
|
|
1142
1150
|
},
|
|
1143
1151
|
{
|
|
1144
1152
|
scope: "constant.language.julia",
|
|
1145
1153
|
settings: {
|
|
1146
|
-
foreground: "
|
|
1154
|
+
foreground: "var(--syntax-number)"
|
|
1147
1155
|
}
|
|
1148
1156
|
},
|
|
1149
1157
|
{
|
|
1150
1158
|
scope: "constant.other.symbol.julia",
|
|
1151
1159
|
settings: {
|
|
1152
|
-
foreground: "
|
|
1160
|
+
foreground: "var(--syntax-parameter)"
|
|
1153
1161
|
}
|
|
1154
1162
|
},
|
|
1155
1163
|
{
|
|
1156
1164
|
scope: "text.tex keyword.control.preamble",
|
|
1157
1165
|
settings: {
|
|
1158
|
-
foreground: "
|
|
1166
|
+
foreground: "var(--syntax-operator)"
|
|
1159
1167
|
}
|
|
1160
1168
|
},
|
|
1161
1169
|
{
|
|
1162
1170
|
scope: "text.tex support.function.be",
|
|
1163
1171
|
settings: {
|
|
1164
|
-
foreground: "
|
|
1172
|
+
foreground: "var(--syntax-function)"
|
|
1165
1173
|
}
|
|
1166
1174
|
},
|
|
1167
1175
|
{
|
|
1168
1176
|
scope: "constant.other.general.math.tex",
|
|
1169
1177
|
settings: {
|
|
1170
|
-
foreground: "
|
|
1178
|
+
foreground: "var(--syntax-string-alias)"
|
|
1171
1179
|
}
|
|
1172
1180
|
},
|
|
1173
1181
|
{
|
|
1174
1182
|
scope: "comment.line.double-dash.documentation.lua storage.type.annotation.lua",
|
|
1175
1183
|
settings: {
|
|
1176
|
-
foreground: "
|
|
1184
|
+
foreground: "var(--syntax-keyword)",
|
|
1177
1185
|
fontStyle: ""
|
|
1178
1186
|
}
|
|
1179
1187
|
},
|
|
@@ -1183,7 +1191,7 @@ var oxide_dark_default = {
|
|
|
1183
1191
|
"comment.line.double-dash.documentation.lua variable.lua"
|
|
1184
1192
|
],
|
|
1185
1193
|
settings: {
|
|
1186
|
-
foreground: "
|
|
1194
|
+
foreground: "var(--syntax-fg)"
|
|
1187
1195
|
}
|
|
1188
1196
|
},
|
|
1189
1197
|
{
|
|
@@ -1198,7 +1206,7 @@ var oxide_dark_default = {
|
|
|
1198
1206
|
"markup.heading.heading-0.asciidoc"
|
|
1199
1207
|
],
|
|
1200
1208
|
settings: {
|
|
1201
|
-
foreground: "
|
|
1209
|
+
foreground: "var(--syntax-builtin)"
|
|
1202
1210
|
}
|
|
1203
1211
|
},
|
|
1204
1212
|
{
|
|
@@ -1213,7 +1221,7 @@ var oxide_dark_default = {
|
|
|
1213
1221
|
"markup.heading.heading-1.asciidoc"
|
|
1214
1222
|
],
|
|
1215
1223
|
settings: {
|
|
1216
|
-
foreground: "
|
|
1224
|
+
foreground: "var(--syntax-number)"
|
|
1217
1225
|
}
|
|
1218
1226
|
},
|
|
1219
1227
|
{
|
|
@@ -1227,7 +1235,7 @@ var oxide_dark_default = {
|
|
|
1227
1235
|
"markup.heading.heading-2.asciidoc"
|
|
1228
1236
|
],
|
|
1229
1237
|
settings: {
|
|
1230
|
-
foreground: "
|
|
1238
|
+
foreground: "var(--syntax-number)"
|
|
1231
1239
|
}
|
|
1232
1240
|
},
|
|
1233
1241
|
{
|
|
@@ -1241,7 +1249,7 @@ var oxide_dark_default = {
|
|
|
1241
1249
|
"markup.heading.heading-3.asciidoc"
|
|
1242
1250
|
],
|
|
1243
1251
|
settings: {
|
|
1244
|
-
foreground: "
|
|
1252
|
+
foreground: "var(--syntax-operator)"
|
|
1245
1253
|
}
|
|
1246
1254
|
},
|
|
1247
1255
|
{
|
|
@@ -1255,7 +1263,7 @@ var oxide_dark_default = {
|
|
|
1255
1263
|
"markup.heading.heading-4.asciidoc"
|
|
1256
1264
|
],
|
|
1257
1265
|
settings: {
|
|
1258
|
-
foreground: "
|
|
1266
|
+
foreground: "var(--syntax-function)"
|
|
1259
1267
|
}
|
|
1260
1268
|
},
|
|
1261
1269
|
{
|
|
@@ -1269,33 +1277,33 @@ var oxide_dark_default = {
|
|
|
1269
1277
|
"markup.heading.heading-5.asciidoc"
|
|
1270
1278
|
],
|
|
1271
1279
|
settings: {
|
|
1272
|
-
foreground: "
|
|
1280
|
+
foreground: "var(--syntax-keyword)"
|
|
1273
1281
|
}
|
|
1274
1282
|
},
|
|
1275
1283
|
{
|
|
1276
1284
|
scope: "markup.bold",
|
|
1277
1285
|
settings: {
|
|
1278
|
-
foreground: "
|
|
1286
|
+
foreground: "var(--syntax-builtin)",
|
|
1279
1287
|
fontStyle: "bold"
|
|
1280
1288
|
}
|
|
1281
1289
|
},
|
|
1282
1290
|
{
|
|
1283
1291
|
scope: "markup.italic",
|
|
1284
1292
|
settings: {
|
|
1285
|
-
foreground: "
|
|
1293
|
+
foreground: "var(--syntax-builtin)"
|
|
1286
1294
|
}
|
|
1287
1295
|
},
|
|
1288
1296
|
{
|
|
1289
1297
|
scope: "markup.strikethrough",
|
|
1290
1298
|
settings: {
|
|
1291
|
-
foreground: "
|
|
1299
|
+
foreground: "var(--syntax-comment)",
|
|
1292
1300
|
fontStyle: "strikethrough"
|
|
1293
1301
|
}
|
|
1294
1302
|
},
|
|
1295
1303
|
{
|
|
1296
1304
|
scope: ["punctuation.definition.link", "markup.underline.link"],
|
|
1297
1305
|
settings: {
|
|
1298
|
-
foreground: "
|
|
1306
|
+
foreground: "var(--syntax-function)"
|
|
1299
1307
|
}
|
|
1300
1308
|
},
|
|
1301
1309
|
{
|
|
@@ -1312,7 +1320,7 @@ var oxide_dark_default = {
|
|
|
1312
1320
|
"markup.substitution.attribute-reference"
|
|
1313
1321
|
],
|
|
1314
1322
|
settings: {
|
|
1315
|
-
foreground: "
|
|
1323
|
+
foreground: "var(--syntax-blue-pale)"
|
|
1316
1324
|
}
|
|
1317
1325
|
},
|
|
1318
1326
|
{
|
|
@@ -1325,13 +1333,13 @@ var oxide_dark_default = {
|
|
|
1325
1333
|
"markup.raw.block.quarto"
|
|
1326
1334
|
],
|
|
1327
1335
|
settings: {
|
|
1328
|
-
foreground: "
|
|
1336
|
+
foreground: "var(--syntax-operator)"
|
|
1329
1337
|
}
|
|
1330
1338
|
},
|
|
1331
1339
|
{
|
|
1332
1340
|
scope: "fenced_code.block.language",
|
|
1333
1341
|
settings: {
|
|
1334
|
-
foreground: "
|
|
1342
|
+
foreground: "var(--syntax-function)"
|
|
1335
1343
|
}
|
|
1336
1344
|
},
|
|
1337
1345
|
{
|
|
@@ -1340,19 +1348,19 @@ var oxide_dark_default = {
|
|
|
1340
1348
|
"markup.raw support.asciidoc"
|
|
1341
1349
|
],
|
|
1342
1350
|
settings: {
|
|
1343
|
-
foreground: "
|
|
1351
|
+
foreground: "var(--syntax-comment)"
|
|
1344
1352
|
}
|
|
1345
1353
|
},
|
|
1346
1354
|
{
|
|
1347
1355
|
scope: ["markup.quote", "punctuation.definition.quote.begin"],
|
|
1348
1356
|
settings: {
|
|
1349
|
-
foreground: "
|
|
1357
|
+
foreground: "var(--syntax-escape)"
|
|
1350
1358
|
}
|
|
1351
1359
|
},
|
|
1352
1360
|
{
|
|
1353
1361
|
scope: "meta.separator.markdown",
|
|
1354
1362
|
settings: {
|
|
1355
|
-
foreground: "
|
|
1363
|
+
foreground: "var(--syntax-operator)"
|
|
1356
1364
|
}
|
|
1357
1365
|
},
|
|
1358
1366
|
{
|
|
@@ -1362,7 +1370,7 @@ var oxide_dark_default = {
|
|
|
1362
1370
|
"markup.list.bullet"
|
|
1363
1371
|
],
|
|
1364
1372
|
settings: {
|
|
1365
|
-
foreground: "
|
|
1373
|
+
foreground: "var(--syntax-operator)"
|
|
1366
1374
|
}
|
|
1367
1375
|
},
|
|
1368
1376
|
{
|
|
@@ -1377,52 +1385,52 @@ var oxide_dark_default = {
|
|
|
1377
1385
|
"entity.other.attribute-name.single.nix"
|
|
1378
1386
|
],
|
|
1379
1387
|
settings: {
|
|
1380
|
-
foreground: "
|
|
1388
|
+
foreground: "var(--syntax-function)"
|
|
1381
1389
|
}
|
|
1382
1390
|
},
|
|
1383
1391
|
{
|
|
1384
1392
|
scope: "variable.parameter.name.nix",
|
|
1385
1393
|
settings: {
|
|
1386
|
-
foreground: "
|
|
1394
|
+
foreground: "var(--syntax-fg)",
|
|
1387
1395
|
fontStyle: ""
|
|
1388
1396
|
}
|
|
1389
1397
|
},
|
|
1390
1398
|
{
|
|
1391
1399
|
scope: "meta.embedded variable.parameter.name.nix",
|
|
1392
1400
|
settings: {
|
|
1393
|
-
foreground: "
|
|
1401
|
+
foreground: "var(--syntax-blue-pale)",
|
|
1394
1402
|
fontStyle: ""
|
|
1395
1403
|
}
|
|
1396
1404
|
},
|
|
1397
1405
|
{
|
|
1398
1406
|
scope: "string.unquoted.path.nix",
|
|
1399
1407
|
settings: {
|
|
1400
|
-
foreground: "
|
|
1408
|
+
foreground: "var(--syntax-escape)",
|
|
1401
1409
|
fontStyle: ""
|
|
1402
1410
|
}
|
|
1403
1411
|
},
|
|
1404
1412
|
{
|
|
1405
1413
|
scope: ["support.attribute.builtin", "meta.attribute.php"],
|
|
1406
1414
|
settings: {
|
|
1407
|
-
foreground: "
|
|
1415
|
+
foreground: "var(--syntax-number)"
|
|
1408
1416
|
}
|
|
1409
1417
|
},
|
|
1410
1418
|
{
|
|
1411
1419
|
scope: "meta.function.parameters.php punctuation.definition.variable.php",
|
|
1412
1420
|
settings: {
|
|
1413
|
-
foreground: "
|
|
1421
|
+
foreground: "var(--syntax-parameter)"
|
|
1414
1422
|
}
|
|
1415
1423
|
},
|
|
1416
1424
|
{
|
|
1417
1425
|
scope: "constant.language.php",
|
|
1418
1426
|
settings: {
|
|
1419
|
-
foreground: "
|
|
1427
|
+
foreground: "var(--syntax-keyword)"
|
|
1420
1428
|
}
|
|
1421
1429
|
},
|
|
1422
1430
|
{
|
|
1423
1431
|
scope: "text.html.php support.function",
|
|
1424
1432
|
settings: {
|
|
1425
|
-
foreground: "
|
|
1433
|
+
foreground: "var(--syntax-function)"
|
|
1426
1434
|
}
|
|
1427
1435
|
},
|
|
1428
1436
|
{
|
|
@@ -1434,13 +1442,13 @@ var oxide_dark_default = {
|
|
|
1434
1442
|
{
|
|
1435
1443
|
scope: ["support.variable.magic.python", "meta.function-call.arguments.python"],
|
|
1436
1444
|
settings: {
|
|
1437
|
-
foreground: "
|
|
1445
|
+
foreground: "var(--syntax-fg)"
|
|
1438
1446
|
}
|
|
1439
1447
|
},
|
|
1440
1448
|
{
|
|
1441
1449
|
scope: ["support.function.magic.python"],
|
|
1442
1450
|
settings: {
|
|
1443
|
-
foreground: "
|
|
1451
|
+
foreground: "var(--syntax-function)"
|
|
1444
1452
|
}
|
|
1445
1453
|
},
|
|
1446
1454
|
{
|
|
@@ -1449,19 +1457,19 @@ var oxide_dark_default = {
|
|
|
1449
1457
|
"variable.language.special.self.python"
|
|
1450
1458
|
],
|
|
1451
1459
|
settings: {
|
|
1452
|
-
foreground: "
|
|
1460
|
+
foreground: "var(--syntax-builtin)"
|
|
1453
1461
|
}
|
|
1454
1462
|
},
|
|
1455
1463
|
{
|
|
1456
1464
|
scope: ["keyword.control.flow.python", "keyword.operator.logical.python"],
|
|
1457
1465
|
settings: {
|
|
1458
|
-
foreground: "
|
|
1466
|
+
foreground: "var(--syntax-keyword)"
|
|
1459
1467
|
}
|
|
1460
1468
|
},
|
|
1461
1469
|
{
|
|
1462
1470
|
scope: "storage.type.function.python",
|
|
1463
1471
|
settings: {
|
|
1464
|
-
foreground: "
|
|
1472
|
+
foreground: "var(--syntax-keyword)"
|
|
1465
1473
|
}
|
|
1466
1474
|
},
|
|
1467
1475
|
{
|
|
@@ -1470,13 +1478,13 @@ var oxide_dark_default = {
|
|
|
1470
1478
|
"meta.function.decorator.identifier.python"
|
|
1471
1479
|
],
|
|
1472
1480
|
settings: {
|
|
1473
|
-
foreground: "
|
|
1481
|
+
foreground: "var(--syntax-function)"
|
|
1474
1482
|
}
|
|
1475
1483
|
},
|
|
1476
1484
|
{
|
|
1477
1485
|
scope: ["meta.function-call.python"],
|
|
1478
1486
|
settings: {
|
|
1479
|
-
foreground: "
|
|
1487
|
+
foreground: "var(--syntax-function)"
|
|
1480
1488
|
}
|
|
1481
1489
|
},
|
|
1482
1490
|
{
|
|
@@ -1485,43 +1493,43 @@ var oxide_dark_default = {
|
|
|
1485
1493
|
"punctuation.definition.decorator.python"
|
|
1486
1494
|
],
|
|
1487
1495
|
settings: {
|
|
1488
|
-
foreground: "
|
|
1496
|
+
foreground: "var(--syntax-number)"
|
|
1489
1497
|
}
|
|
1490
1498
|
},
|
|
1491
1499
|
{
|
|
1492
1500
|
scope: "constant.character.format.placeholder.other.python",
|
|
1493
1501
|
settings: {
|
|
1494
|
-
foreground: "
|
|
1502
|
+
foreground: "var(--syntax-escape)"
|
|
1495
1503
|
}
|
|
1496
1504
|
},
|
|
1497
1505
|
{
|
|
1498
1506
|
scope: ["support.type.exception.python", "support.function.builtin.python"],
|
|
1499
1507
|
settings: {
|
|
1500
|
-
foreground: "
|
|
1508
|
+
foreground: "var(--syntax-number)"
|
|
1501
1509
|
}
|
|
1502
1510
|
},
|
|
1503
1511
|
{
|
|
1504
1512
|
scope: ["support.type.python"],
|
|
1505
1513
|
settings: {
|
|
1506
|
-
foreground: "
|
|
1514
|
+
foreground: "var(--syntax-number)"
|
|
1507
1515
|
}
|
|
1508
1516
|
},
|
|
1509
1517
|
{
|
|
1510
1518
|
scope: "constant.language.python",
|
|
1511
1519
|
settings: {
|
|
1512
|
-
foreground: "
|
|
1520
|
+
foreground: "var(--syntax-keyword)"
|
|
1513
1521
|
}
|
|
1514
1522
|
},
|
|
1515
1523
|
{
|
|
1516
1524
|
scope: ["meta.indexed-name.python", "meta.item-access.python"],
|
|
1517
1525
|
settings: {
|
|
1518
|
-
foreground: "
|
|
1526
|
+
foreground: "var(--syntax-parameter)"
|
|
1519
1527
|
}
|
|
1520
1528
|
},
|
|
1521
1529
|
{
|
|
1522
1530
|
scope: "storage.type.string.python",
|
|
1523
1531
|
settings: {
|
|
1524
|
-
foreground: "
|
|
1532
|
+
foreground: "var(--syntax-operator)"
|
|
1525
1533
|
}
|
|
1526
1534
|
},
|
|
1527
1535
|
{
|
|
@@ -1536,19 +1544,19 @@ var oxide_dark_default = {
|
|
|
1536
1544
|
"string.regexp punctuation.definition.string.end"
|
|
1537
1545
|
],
|
|
1538
1546
|
settings: {
|
|
1539
|
-
foreground: "
|
|
1547
|
+
foreground: "var(--syntax-escape)"
|
|
1540
1548
|
}
|
|
1541
1549
|
},
|
|
1542
1550
|
{
|
|
1543
1551
|
scope: "keyword.control.anchor.regexp",
|
|
1544
1552
|
settings: {
|
|
1545
|
-
foreground: "
|
|
1553
|
+
foreground: "var(--syntax-keyword)"
|
|
1546
1554
|
}
|
|
1547
1555
|
},
|
|
1548
1556
|
{
|
|
1549
1557
|
scope: "string.regexp.ts",
|
|
1550
1558
|
settings: {
|
|
1551
|
-
foreground: "
|
|
1559
|
+
foreground: "var(--syntax-fg)"
|
|
1552
1560
|
}
|
|
1553
1561
|
},
|
|
1554
1562
|
{
|
|
@@ -1557,37 +1565,37 @@ var oxide_dark_default = {
|
|
|
1557
1565
|
"keyword.other.back-reference.regexp"
|
|
1558
1566
|
],
|
|
1559
1567
|
settings: {
|
|
1560
|
-
foreground: "
|
|
1568
|
+
foreground: "var(--syntax-operator)"
|
|
1561
1569
|
}
|
|
1562
1570
|
},
|
|
1563
1571
|
{
|
|
1564
1572
|
scope: "punctuation.definition.character-class.regexp",
|
|
1565
1573
|
settings: {
|
|
1566
|
-
foreground: "
|
|
1574
|
+
foreground: "var(--syntax-number)"
|
|
1567
1575
|
}
|
|
1568
1576
|
},
|
|
1569
1577
|
{
|
|
1570
1578
|
scope: "constant.other.character-class.regexp",
|
|
1571
1579
|
settings: {
|
|
1572
|
-
foreground: "
|
|
1580
|
+
foreground: "var(--syntax-escape)"
|
|
1573
1581
|
}
|
|
1574
1582
|
},
|
|
1575
1583
|
{
|
|
1576
1584
|
scope: "constant.other.character-class.range.regexp",
|
|
1577
1585
|
settings: {
|
|
1578
|
-
foreground: "
|
|
1586
|
+
foreground: "var(--syntax-rose)"
|
|
1579
1587
|
}
|
|
1580
1588
|
},
|
|
1581
1589
|
{
|
|
1582
1590
|
scope: "keyword.operator.quantifier.regexp",
|
|
1583
1591
|
settings: {
|
|
1584
|
-
foreground: "
|
|
1592
|
+
foreground: "var(--syntax-operator)"
|
|
1585
1593
|
}
|
|
1586
1594
|
},
|
|
1587
1595
|
{
|
|
1588
1596
|
scope: "constant.character.numeric.regexp",
|
|
1589
1597
|
settings: {
|
|
1590
|
-
foreground: "
|
|
1598
|
+
foreground: "var(--syntax-number)"
|
|
1591
1599
|
}
|
|
1592
1600
|
},
|
|
1593
1601
|
{
|
|
@@ -1597,7 +1605,7 @@ var oxide_dark_default = {
|
|
|
1597
1605
|
"meta.assertion.negative-look-ahead.regexp"
|
|
1598
1606
|
],
|
|
1599
1607
|
settings: {
|
|
1600
|
-
foreground: "
|
|
1608
|
+
foreground: "var(--syntax-function)"
|
|
1601
1609
|
}
|
|
1602
1610
|
},
|
|
1603
1611
|
{
|
|
@@ -1608,7 +1616,7 @@ var oxide_dark_default = {
|
|
|
1608
1616
|
"punctuation.definition.attribute.rust"
|
|
1609
1617
|
],
|
|
1610
1618
|
settings: {
|
|
1611
|
-
foreground: "
|
|
1619
|
+
foreground: "var(--syntax-number)"
|
|
1612
1620
|
}
|
|
1613
1621
|
},
|
|
1614
1622
|
{
|
|
@@ -1635,57 +1643,57 @@ var oxide_dark_default = {
|
|
|
1635
1643
|
"storage.type.type.rust"
|
|
1636
1644
|
],
|
|
1637
1645
|
settings: {
|
|
1638
|
-
foreground: "
|
|
1646
|
+
foreground: "var(--syntax-keyword)",
|
|
1639
1647
|
fontStyle: ""
|
|
1640
1648
|
}
|
|
1641
1649
|
},
|
|
1642
1650
|
{
|
|
1643
1651
|
scope: "entity.name.type.numeric.rust",
|
|
1644
1652
|
settings: {
|
|
1645
|
-
foreground: "
|
|
1653
|
+
foreground: "var(--syntax-keyword)",
|
|
1646
1654
|
fontStyle: ""
|
|
1647
1655
|
}
|
|
1648
1656
|
},
|
|
1649
1657
|
{
|
|
1650
1658
|
scope: "meta.generic.rust",
|
|
1651
1659
|
settings: {
|
|
1652
|
-
foreground: "
|
|
1660
|
+
foreground: "var(--syntax-number)"
|
|
1653
1661
|
}
|
|
1654
1662
|
},
|
|
1655
1663
|
{
|
|
1656
1664
|
scope: "entity.name.impl.rust",
|
|
1657
1665
|
settings: {
|
|
1658
|
-
foreground: "
|
|
1666
|
+
foreground: "var(--syntax-number)"
|
|
1659
1667
|
}
|
|
1660
1668
|
},
|
|
1661
1669
|
{
|
|
1662
1670
|
scope: "entity.name.module.rust",
|
|
1663
1671
|
settings: {
|
|
1664
|
-
foreground: "
|
|
1672
|
+
foreground: "var(--syntax-number)"
|
|
1665
1673
|
}
|
|
1666
1674
|
},
|
|
1667
1675
|
{
|
|
1668
1676
|
scope: "entity.name.trait.rust",
|
|
1669
1677
|
settings: {
|
|
1670
|
-
foreground: "
|
|
1678
|
+
foreground: "var(--syntax-number)"
|
|
1671
1679
|
}
|
|
1672
1680
|
},
|
|
1673
1681
|
{
|
|
1674
1682
|
scope: "storage.type.source.rust",
|
|
1675
1683
|
settings: {
|
|
1676
|
-
foreground: "
|
|
1684
|
+
foreground: "var(--syntax-number)"
|
|
1677
1685
|
}
|
|
1678
1686
|
},
|
|
1679
1687
|
{
|
|
1680
1688
|
scope: "entity.name.union.rust",
|
|
1681
1689
|
settings: {
|
|
1682
|
-
foreground: "
|
|
1690
|
+
foreground: "var(--syntax-number)"
|
|
1683
1691
|
}
|
|
1684
1692
|
},
|
|
1685
1693
|
{
|
|
1686
1694
|
scope: "meta.enum.rust storage.type.source.rust",
|
|
1687
1695
|
settings: {
|
|
1688
|
-
foreground: "
|
|
1696
|
+
foreground: "var(--syntax-operator)"
|
|
1689
1697
|
}
|
|
1690
1698
|
},
|
|
1691
1699
|
{
|
|
@@ -1695,61 +1703,61 @@ var oxide_dark_default = {
|
|
|
1695
1703
|
"entity.name.function.macro.rust"
|
|
1696
1704
|
],
|
|
1697
1705
|
settings: {
|
|
1698
|
-
foreground: "
|
|
1706
|
+
foreground: "var(--syntax-function)"
|
|
1699
1707
|
}
|
|
1700
1708
|
},
|
|
1701
1709
|
{
|
|
1702
1710
|
scope: ["storage.modifier.lifetime.rust", "entity.name.type.lifetime"],
|
|
1703
1711
|
settings: {
|
|
1704
|
-
foreground: "
|
|
1712
|
+
foreground: "var(--syntax-function)"
|
|
1705
1713
|
}
|
|
1706
1714
|
},
|
|
1707
1715
|
{
|
|
1708
1716
|
scope: "string.quoted.double.rust constant.other.placeholder.rust",
|
|
1709
1717
|
settings: {
|
|
1710
|
-
foreground: "
|
|
1718
|
+
foreground: "var(--syntax-escape)"
|
|
1711
1719
|
}
|
|
1712
1720
|
},
|
|
1713
1721
|
{
|
|
1714
1722
|
scope: "meta.function.return-type.rust meta.generic.rust storage.type.rust",
|
|
1715
1723
|
settings: {
|
|
1716
|
-
foreground: "
|
|
1724
|
+
foreground: "var(--syntax-fg)"
|
|
1717
1725
|
}
|
|
1718
1726
|
},
|
|
1719
1727
|
{
|
|
1720
1728
|
scope: "meta.function.call.rust",
|
|
1721
1729
|
settings: {
|
|
1722
|
-
foreground: "
|
|
1730
|
+
foreground: "var(--syntax-function)"
|
|
1723
1731
|
}
|
|
1724
1732
|
},
|
|
1725
1733
|
{
|
|
1726
1734
|
scope: "punctuation.brackets.angle.rust",
|
|
1727
1735
|
settings: {
|
|
1728
|
-
foreground: "
|
|
1736
|
+
foreground: "var(--syntax-function)"
|
|
1729
1737
|
}
|
|
1730
1738
|
},
|
|
1731
1739
|
{
|
|
1732
1740
|
scope: "constant.other.caps.rust",
|
|
1733
1741
|
settings: {
|
|
1734
|
-
foreground: "
|
|
1742
|
+
foreground: "var(--syntax-number)"
|
|
1735
1743
|
}
|
|
1736
1744
|
},
|
|
1737
1745
|
{
|
|
1738
1746
|
scope: ["meta.function.definition.rust variable.other.rust"],
|
|
1739
1747
|
settings: {
|
|
1740
|
-
foreground: "
|
|
1748
|
+
foreground: "var(--syntax-parameter)"
|
|
1741
1749
|
}
|
|
1742
1750
|
},
|
|
1743
1751
|
{
|
|
1744
1752
|
scope: "meta.function.call.rust variable.other.rust",
|
|
1745
1753
|
settings: {
|
|
1746
|
-
foreground: "
|
|
1754
|
+
foreground: "var(--syntax-fg)"
|
|
1747
1755
|
}
|
|
1748
1756
|
},
|
|
1749
1757
|
{
|
|
1750
1758
|
scope: "variable.language.self.rust",
|
|
1751
1759
|
settings: {
|
|
1752
|
-
foreground: "
|
|
1760
|
+
foreground: "var(--syntax-builtin)"
|
|
1753
1761
|
}
|
|
1754
1762
|
},
|
|
1755
1763
|
{
|
|
@@ -1758,7 +1766,7 @@ var oxide_dark_default = {
|
|
|
1758
1766
|
"meta.macro.metavariable.rust keyword.operator.macro.dollar.rust"
|
|
1759
1767
|
],
|
|
1760
1768
|
settings: {
|
|
1761
|
-
foreground: "
|
|
1769
|
+
foreground: "var(--syntax-escape)"
|
|
1762
1770
|
}
|
|
1763
1771
|
},
|
|
1764
1772
|
{
|
|
@@ -1770,13 +1778,13 @@ var oxide_dark_default = {
|
|
|
1770
1778
|
"meta.shebang.shell"
|
|
1771
1779
|
],
|
|
1772
1780
|
settings: {
|
|
1773
|
-
foreground: "
|
|
1781
|
+
foreground: "var(--syntax-escape)"
|
|
1774
1782
|
}
|
|
1775
1783
|
},
|
|
1776
1784
|
{
|
|
1777
1785
|
scope: "comment.line.shebang constant.language",
|
|
1778
1786
|
settings: {
|
|
1779
|
-
foreground: "
|
|
1787
|
+
foreground: "var(--syntax-operator)"
|
|
1780
1788
|
}
|
|
1781
1789
|
},
|
|
1782
1790
|
{
|
|
@@ -1787,13 +1795,13 @@ var oxide_dark_default = {
|
|
|
1787
1795
|
"meta.function-call.arguments.shell punctuation.section.interpolation"
|
|
1788
1796
|
],
|
|
1789
1797
|
settings: {
|
|
1790
|
-
foreground: "
|
|
1798
|
+
foreground: "var(--syntax-builtin)"
|
|
1791
1799
|
}
|
|
1792
1800
|
},
|
|
1793
1801
|
{
|
|
1794
1802
|
scope: "meta.string meta.interpolation.parameter.shell variable.other.readwrite",
|
|
1795
1803
|
settings: {
|
|
1796
|
-
foreground: "
|
|
1804
|
+
foreground: "var(--syntax-number)"
|
|
1797
1805
|
}
|
|
1798
1806
|
},
|
|
1799
1807
|
{
|
|
@@ -1802,43 +1810,43 @@ var oxide_dark_default = {
|
|
|
1802
1810
|
"punctuation.definition.evaluation.backticks.shell"
|
|
1803
1811
|
],
|
|
1804
1812
|
settings: {
|
|
1805
|
-
foreground: "
|
|
1813
|
+
foreground: "var(--syntax-operator)"
|
|
1806
1814
|
}
|
|
1807
1815
|
},
|
|
1808
1816
|
{
|
|
1809
1817
|
scope: "entity.name.tag.heredoc.shell",
|
|
1810
1818
|
settings: {
|
|
1811
|
-
foreground: "
|
|
1819
|
+
foreground: "var(--syntax-keyword)"
|
|
1812
1820
|
}
|
|
1813
1821
|
},
|
|
1814
1822
|
{
|
|
1815
1823
|
scope: "string.quoted.double.shell variable.other.normal.shell",
|
|
1816
1824
|
settings: {
|
|
1817
|
-
foreground: "
|
|
1825
|
+
foreground: "var(--syntax-fg)"
|
|
1818
1826
|
}
|
|
1819
1827
|
},
|
|
1820
1828
|
{
|
|
1821
1829
|
scope: "token.info-token",
|
|
1822
1830
|
settings: {
|
|
1823
|
-
foreground: "
|
|
1831
|
+
foreground: "var(--syntax-blue)"
|
|
1824
1832
|
}
|
|
1825
1833
|
},
|
|
1826
1834
|
{
|
|
1827
1835
|
scope: "token.warn-token",
|
|
1828
1836
|
settings: {
|
|
1829
|
-
foreground: "
|
|
1837
|
+
foreground: "var(--syntax-amber)"
|
|
1830
1838
|
}
|
|
1831
1839
|
},
|
|
1832
1840
|
{
|
|
1833
1841
|
scope: "token.error-token",
|
|
1834
1842
|
settings: {
|
|
1835
|
-
foreground: "
|
|
1843
|
+
foreground: "var(--syntax-builtin)"
|
|
1836
1844
|
}
|
|
1837
1845
|
},
|
|
1838
1846
|
{
|
|
1839
1847
|
scope: "token.debug-token",
|
|
1840
1848
|
settings: {
|
|
1841
|
-
foreground: "
|
|
1849
|
+
foreground: "var(--syntax-purple)"
|
|
1842
1850
|
}
|
|
1843
1851
|
}
|
|
1844
1852
|
]
|
|
@@ -1855,7 +1863,7 @@ async function getOrCreateHighlighter() {
|
|
|
1855
1863
|
...oxql_tmLanguage_default
|
|
1856
1864
|
});
|
|
1857
1865
|
highlighter = await createHighlighter({
|
|
1858
|
-
themes: [
|
|
1866
|
+
themes: [oxide_syntax_default],
|
|
1859
1867
|
langs
|
|
1860
1868
|
});
|
|
1861
1869
|
}
|
|
@@ -1893,7 +1901,7 @@ var highlight = async (block) => {
|
|
|
1893
1901
|
}
|
|
1894
1902
|
const highlightedContent = h.codeToHtml(placeholderContent, {
|
|
1895
1903
|
lang,
|
|
1896
|
-
theme:
|
|
1904
|
+
theme: oxide_syntax_default,
|
|
1897
1905
|
structure: "inline"
|
|
1898
1906
|
});
|
|
1899
1907
|
const restoredContent = highlightedContent.replace(
|