diff --git a/myst_nb/static/mystnb.css b/myst_nb/static/mystnb.css index adcbb351..241dd272 100644 --- a/myst_nb/static/mystnb.css +++ b/myst_nb/static/mystnb.css @@ -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; @@ -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 @@ -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