alecthomas / chroma

A general purpose syntax highlighter in pure Go
MIT License
4.3k stars 392 forks source link

Contrast for GenericOutput on Dracula theme is low #655

Open vincentbernat opened 2 years ago

vincentbernat commented 2 years ago

Describe the bug

Using the Dracula theme, the contrast between the background #282a36 and GenericOutput #44475a is too low.

image

To Reproduce

# show flow monitor monitor1 cache internal location 0/1/CPU0 | i Cache
Cache summary for Flow Monitor :
Cache size:                         100000
Cache Hits:                            202938943
Cache Misses:                         1789836407
Cache Overflows:                         2166590
Cache above hi water:                       1704

With -s dracula.

vincentbernat commented 2 years ago

The issue is also present in Pygments, but there is a PR to change that (not specifically this issue, but it happens to provide better contrast): https://github.com/dracula/pygments/pull/11