From 579d1e190cd4a69ddacfec73f9a4c4e758fc6392 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Sat, 6 Nov 2021 13:30:45 -0700 Subject: [PATCH] pygments.css: update colors Try some nicer greens, and grey for comments in the code blocks. --- doc_src/python_docs_theme/static/pygments.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc_src/python_docs_theme/static/pygments.css b/doc_src/python_docs_theme/static/pygments.css index b213f5d1f..2da95380a 100644 --- a/doc_src/python_docs_theme/static/pygments.css +++ b/doc_src/python_docs_theme/static/pygments.css @@ -3,7 +3,7 @@ .highlight .k { color: #204a87; font-weight: bold } /* Keyword */ .highlight .o { color: #00a6b2; } /* Operator */ .highlight .p { color: #00bfff; } /* Punctuation */ -.highlight .c { color: #8f7902; } /* Comment */ +.highlight .c { color: #777; font-style: italic; } /* Comment */ .highlight .ch { color: #8f7902; font-style: italic } /* Comment.Hashbang */ .highlight .cm { color: #8f7902; font-style: italic } /* Comment.Multiline */ .highlight .cp { color: #8f7902; font-style: italic } /* Comment.Preproc */ @@ -46,18 +46,19 @@ .highlight .sc { color: #4e9a06 } /* Literal.String.Char */ .highlight .dl { color: #4e9a06 } /* Literal.String.Delimiter */ .highlight .sd { color: #8f7902; font-style: italic } /* Literal.String.Doc */ -.highlight .s2 { color: #999900 } /* Literal.String.Double */ +.highlight .s2 { color: #4daf08 } /* Literal.String.Double */ .highlight .se { color: #00a6b2 } /* Literal.String.Escape */ .highlight .sh { color: #4e9a06 } /* Literal.String.Heredoc */ .highlight .si { color: #4e9a06 } /* Literal.String.Interpol */ .highlight .sx { color: #4e9a06 } /* Literal.String.Other */ .highlight .sr { color: #4e9a06 } /* Literal.String.Regex */ -.highlight .s1 { color: #999900 } /* Literal.String.Single */ +.highlight .s1 { color: #d0d00b } /* Literal.String.Single */ .highlight .ss { color: #4e9a06 } /* Literal.String.Symbol */ .highlight .bp { color: #3465a4 } /* Name.Builtin.Pseudo */ .highlight .il { color: #0000cf; font-weight: bold } /* Literal.Number.Integer.Long */ :root { + /* custom property */ --contrast: #000000; } @@ -67,9 +68,9 @@ } .highlight .k { color: #507a97; font-weight: bold } /* Keyword */ .highlight .nf { color: #009fe7 } /* Name.Function */ - .highlight .c { color: #8fb902; } /* Comment */ .highlight .nf { color: #008fd7 } /* Name.Function */ .highlight .nb { color: #209a87 } /* Name.Builtin */ + .highlight .s2 { color: #9ce781 } /* Literal.String.Double */ } .highlight .g { color: var(--contrast) } /* Generic */ .highlight .l { color: var(--contrast) } /* Literal */