Created
April 23, 2020 15:40
-
-
Save shreyasminocha/a2df081273ada0fec8b3d8faa6941e7b to your computer and use it in GitHub Desktop.
Prism.js regex highlighting stylesheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.token.language-regex { | |
color: #4d4d4d; | |
} | |
.token.quantifier { | |
color: #58f; | |
} | |
.token.escape, | |
.token.special-escape { | |
color: #c0c; | |
} | |
.token.charclass, | |
.token.charset-punctuation { | |
color: #d70; | |
} | |
.token.anchor { | |
color: #840; | |
} | |
.token.group { | |
color: #0a0; | |
/* background: rgba(0, 238, 0, 0.11); */ | |
} | |
.token.backreference, | |
.token.alternation { | |
color: #0a0; | |
} | |
.token.charset { | |
background: rgba(255, 238, 0, 0.3); | |
} | |
.token.regex-delimiter, | |
.token.regex-flags { | |
color: #b7bcc0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment