diff options
author | Martin Fischer <martin@push-f.com> | 2021-11-14 17:47:22 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-11-14 18:27:19 +0100 |
commit | d32154b6ad9631e782a8bb79d83bf3d9dcec3d0e (patch) | |
tree | 295224dc806c192c6dc6c8d263972b24650dac0c /tests/contrast | |
parent | c7362079f515826aa063a1e4302a6beb60abe6b7 (diff) | |
download | pygments-git-d32154b6ad9631e782a8bb79d83bf3d9dcec3d0e.tar.gz |
Add missing colors to dark styles
Some dark styles did not define a color for every token type,
resulting in black text (the browser default for text) on dark
backgrounds (defined by the styles) unless the web page had some
CSS to remedy that like:
body { color: white; background: black; }
We however don't want the readability of styles to rely on external CSS.
Part of #1718. Fixes some unreadable styles reported in #1526.
Diffstat (limited to 'tests/contrast')
-rw-r--r-- | tests/contrast/min_contrasts.json | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/contrast/min_contrasts.json b/tests/contrast/min_contrasts.json index 8579796c..48f34b16 100644 --- a/tests/contrast/min_contrasts.json +++ b/tests/contrast/min_contrasts.json @@ -7,7 +7,7 @@ "murphy": 1.4, "manni": 1.4, "material": 1.6, - "monokai": 1.4, + "monokai": 2.3, "perldoc": 2.7, "pastie": 2.5, "borland": 2.3, @@ -18,7 +18,7 @@ "vim": 1.3, "vs": 3.6, "tango": 2.4, - "rrt": 1.0, + "rrt": 5.3, "xcode": 5.1, "igor": 3.6, "paraiso-light": 1.3, @@ -34,10 +34,10 @@ "sas": 4.2, "stata": 2.4, "stata-light": 2.4, - "stata-dark": 1.4, + "stata-dark": 3.4, "inkpot": 1.0, "zenburn": 1.6, - "gruvbox-dark": 1.4, + "gruvbox-dark": 4.0, "gruvbox-light": 3.2, "dracula": 1.4 }
\ No newline at end of file |