Skip to content

Commit

Permalink
πŸ‘Œ IMPROVE: Update ANSI CSS colors (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
saulshanabrook authored Apr 27, 2022
1 parent d639806 commit e17e738
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions myst_nb/static/mystnb.css
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@ tbody span.pasted-inline img {
}

/* Font colors for translated ANSI escape sequences
Color values are adapted from share/jupyter/nbconvert/templates/classic/static/style.css
Color values are copied from Jupyter Notebook
https://github.com/jupyter/notebook/blob/52581f8eda9b319eb0390ac77fe5903c38f81e3e/notebook/static/notebook/less/ansicolors.less#L14-L21
Background colors from
https://nbsphinx.readthedocs.io/en/latest/code-cells.html#ANSI-Colors
*/
div.highlight .-Color-Bold {
font-weight: bold;
Expand All @@ -132,7 +135,7 @@ div.highlight .-Color[class*=-Green] {
color: #00A250
}
div.highlight .-Color[class*=-Yellow] {
color: yellow
color: #DDB62B
}
div.highlight .-Color[class*=-Blue] {
color: #208FFB
Expand All @@ -156,7 +159,7 @@ div.highlight .-Color[class*=-BGGreen] {
background-color: #00A250
}
div.highlight .-Color[class*=-BGYellow] {
background-color: yellow
background-color: #DDB62B
}
div.highlight .-Color[class*=-BGBlue] {
background-color: #208FFB
Expand Down

0 comments on commit e17e738

Please sign in to comment.