Files
pandoc/data
k6G52m4Dz75W 51c7b1bfc4 epub.css: add optional dark-mode (light-dark) support (#11791)
* epub.css: add optional dark-mode (light-dark) support

The default EPUB stylesheet hardcodes a single dark text color
(#1a1a1a) on top of the reading system's own background. This wraps
that color — and the <hr> rule and table borders that use it — with
CSS light-dark(), so readers supporting `color-scheme` get an
inverted dark theme.

Each light-dark() declaration is preceded by a plain #1a1a1a
fallback, so readers that do not support light-dark() simply drop
the new declaration and keep the unchanged original appearance
(graceful degradation). No change to pandoc's conversion logic.

Align dark-mode values with bundled breezedark palette
2026-08-12 10:25:15 -07:00
..
2024-10-29 14:19:12 -07:00