Created
July 14, 2021 02:09
-
-
Save jmcastagnetto/1c5d4782c90442dd8215cc282295c456 to your computer and use it in GitHub Desktop.
Fragment to add to an *.rstheme to get Okabe-Ito colored "rainbow" parentheses
This file contains 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
/* this is just a fragment to change the color of the "rainbow" color parentheses */ | |
/* the colors below come from the Okabe-Ito palette */ | |
.ace_paren_color_0 { | |
color: #000000 !important; /* black */ | |
font-weight: bold; | |
} | |
.ace_paren_color_1 { | |
color: #e69f00 !important; /* orange */ | |
font-weight: bold; | |
} | |
.ace_paren_color_2 { | |
color: #56b4e9 !important; /* sky blue */ | |
font-weight: bold; | |
} | |
.ace_paren_color_3 { | |
color: #009e73 !important; /* bluish green */ | |
font-weight: bold; | |
} | |
/* skipped yellow #f0e442 */ | |
.ace_paren_color_4 { | |
color: #0072b2 !important; /* blue */ | |
font-weight: bold; | |
} | |
.ace_paren_color_5 { | |
color: #d55e00 !important; /* vermillion */ | |
font-weight: bold; | |
} | |
.ace_paren_color_6 { | |
color: #cc79a7 !important; /* reddish purple */ | |
font-weight: bold; | |
} |
Similar mappings for VSCode at https://gist.github.com/jmcastagnetto/7190427a1fb62d4526ce5c1c29cc4d29
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is how it will look in a light theme