sphinx-doc / alabaster

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

Don't ignore Pygments background #169

Closed mgeier closed 4 months 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.