sphinx-doc / alabaster

Lightweight, configurable Sphinx theme
http://alabaster.readthedocs.io/
Other
723 stars 185 forks source link

Don't ignore Pygments background #169

Open mgeier opened 4 years ago

mgeier commented 4 years ago

The pygments_style includes a background color, which is currently ignored by the alabaster theme.

This PR changes that, but it still honors the pre_bg and code_highlight_bg theme options.

BTW, why are there two different options for seemingly the same thing? What's the difference?

See also https://github.com/sphinx-doc/sphinx/pull/7718.