Skip to content

Commit 3df1324

Browse files
committed
Enable default colors for ANSI "inverse"
This will work once jupyter/nbconvert#696 is available.
1 parent 241599b commit 3df1324

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

nbsphinx.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@
285285
\definecolor{ansi-cyan-intense}{HTML}{258F8F}
286286
\definecolor{ansi-white}{HTML}{C5C1B4}
287287
\definecolor{ansi-white-intense}{HTML}{A1A6B2}
288+
\definecolor{ansi-default-inverse-fg}{HTML}{FFFFFF}
289+
\definecolor{ansi-default-inverse-bg}{HTML}{000000}
288290
289291
% Define "notice" environment, which was removed in Sphinx 1.7.
290292
% At some point, "notice" should be replaced by "sphinxadmonition",
@@ -456,6 +458,9 @@
456458
.ansi-white-intense-fg { color: #A1A6B2; }
457459
.ansi-white-intense-bg { background-color: #A1A6B2; }
458460
461+
.ansi-default-inverse-fg { color: #FFFFFF; }
462+
.ansi-default-inverse-bg { background-color: #000000; }
463+
459464
.ansi-bold { font-weight: bold; }
460465
.ansi-underline { text-decoration: underline; }
461466
"""

0 commit comments

Comments
 (0)