Skip to content

Commit cb766bd

Browse files
committed
Update themes with RegEx colors
1 parent 173fa79 commit cb766bd

File tree

3 files changed

+129
-13
lines changed

3 files changed

+129
-13
lines changed

package.json

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3918,10 +3918,7 @@
39183918
"string.regexp.comment.cs"
39193919
],
39203920
"regexCharacterClass": [
3921-
"constant.character.character-class.regexp.cs",
3922-
"constant.other.character-class.set.regexp.cs",
3923-
"constant.other.character-class.regexp.cs",
3924-
"constant.character.set.regexp.cs"
3921+
"constant.character.character-class.regexp.cs"
39253922
],
39263923
"regexAnchor": [
39273924
"keyword.control.anchor.regexp.cs"
@@ -3930,17 +3927,10 @@
39303927
"keyword.operator.quantifier.regexp.cs"
39313928
],
39323929
"regexGrouping": [
3933-
"punctuation.definition.group.regexp.cs",
3934-
"punctuation.definition.group.assertion.regexp.cs",
3935-
"punctuation.definition.character-class.regexp.cs",
3936-
"punctuation.character.set.begin.regexp.cs",
3937-
"punctuation.character.set.end.regexp.cs",
3938-
"keyword.operator.negation.regexp.cs",
3939-
"support.other.parenthesis.regexp.cs"
3930+
"punctuation.definition.group.regexp.cs"
39403931
],
39413932
"regexAlternation": [
3942-
"keyword.operator.or.regexp.cs",
3943-
"keyword.control.anchor.regexp.cs"
3933+
"keyword.operator.or.regexp.cs"
39443934
],
39453935
"regexSelfEscapedCharacter": [
39463936
"string.regexp.self-escaped-character.cs"

themes/vs2019_dark.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,5 +714,68 @@
714714
"foreground": "#569CD6",
715715
}
716716
},
717+
{
718+
"name": "RegEx Comment",
719+
"scope": "string.regexp.comment.cs",
720+
"settings": {
721+
"foreground": "#57A64A",
722+
}
723+
},
724+
{
725+
"name": "RegEx Character Class",
726+
"scope": "constant.character.character-class.regexp.cs",
727+
"settings": {
728+
"foreground": "#2EABFE",
729+
}
730+
},
731+
{
732+
"name": "RegEx Anchor",
733+
"scope": "keyword.control.anchor.regexp.cs",
734+
"settings": {
735+
"foreground": "#F979AE",
736+
}
737+
},
738+
{
739+
"name": "RegEx Quantifier",
740+
"scope": "keyword.operator.quantifier.regexp.cs",
741+
"settings": {
742+
"foreground": "#F979AE",
743+
}
744+
},
745+
{
746+
"name": "RegEx Grouping",
747+
"scope": "string.regexp.self-escaped-character.cs",
748+
"settings": {
749+
"foreground": "#05C3BA",
750+
}
751+
},
752+
{
753+
"name": "RegEx Alternation",
754+
"scope": "keyword.operator.or.regexp.cs",
755+
"settings": {
756+
"foreground": "#05C3BA",
757+
}
758+
},
759+
{
760+
"name": "RegEx Self-Escaped Character",
761+
"scope": "punctuation.definition.group.regexp.cs",
762+
"settings": {
763+
"foreground": "#D69D85",
764+
}
765+
},
766+
{
767+
"name": "RegEx Other Escape",
768+
"scope": "string.regexp.other-escape.cs",
769+
"settings": {
770+
"foreground": "#FFD68F",
771+
}
772+
},
773+
{
774+
"name": "RegEx Text",
775+
"scope": "string.regexp",
776+
"settings": {
777+
"foreground": "#D69D85"
778+
}
779+
},
717780
]
718781
}

themes/vs2019_light.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,5 +738,68 @@
738738
"foreground": "#808080",
739739
}
740740
},
741+
{
742+
"name": "RegEx Comment",
743+
"scope": "string.regexp.comment.cs",
744+
"settings": {
745+
"foreground": "#008000",
746+
}
747+
},
748+
{
749+
"name": "RegEx Character Class",
750+
"scope": "constant.character.character-class.regexp.cs",
751+
"settings": {
752+
"foreground": "#0073FF",
753+
}
754+
},
755+
{
756+
"name": "RegEx Anchor",
757+
"scope": "keyword.control.anchor.regexp.cs",
758+
"settings": {
759+
"foreground": "#FF00C1",
760+
}
761+
},
762+
{
763+
"name": "RegEx Quantifier",
764+
"scope": "keyword.operator.quantifier.regexp.cs",
765+
"settings": {
766+
"foreground": "#FF00C1",
767+
}
768+
},
769+
{
770+
"name": "RegEx Grouping",
771+
"scope": "string.regexp.self-escaped-character.cs",
772+
"settings": {
773+
"foreground": "#05C3BA",
774+
}
775+
},
776+
{
777+
"name": "RegEx Alternation",
778+
"scope": "keyword.operator.or.regexp.cs",
779+
"settings": {
780+
"foreground": "#05C3BA",
781+
}
782+
},
783+
{
784+
"name": "RegEx Self-Escaped Character",
785+
"scope": "punctuation.definition.group.regexp.cs",
786+
"settings": {
787+
"foreground": "#800000",
788+
}
789+
},
790+
{
791+
"name": "RegEx Other Escape",
792+
"scope": "string.regexp.other-escape.cs",
793+
"settings": {
794+
"foreground": "#9E5B71",
795+
}
796+
},
797+
{
798+
"name": "RegEx Text",
799+
"scope": "string.regexp",
800+
"settings": {
801+
"foreground": "#800000"
802+
}
803+
},
741804
]
742805
}

0 commit comments

Comments
 (0)