From c93c642745e885099214d7ddae437af8e3e33c53 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Wed, 14 Oct 2020 18:27:45 +0300 Subject: [PATCH] Add dark mode to release notes [CI skip] --- docs/releasenotes/8.0.0.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/releasenotes/8.0.0.rst b/docs/releasenotes/8.0.0.rst index f59c878fb..1bef62e00 100644 --- a/docs/releasenotes/8.0.0.rst +++ b/docs/releasenotes/8.0.0.rst @@ -169,3 +169,11 @@ Error for large BMP files Previously, if a BMP file was too large, an ``OSError`` would be raised. Now, ``DecompressionBombError`` is used instead, as Pillow already uses for other formats. + +Dark theme for docs +^^^^^^^^^^^^^^^^^^^ + +The https://pillow.readthedocs.io documentation will use a dark theme if the the user has requested the system use one. Uses the ``prefers-color-scheme`` CSS media query. + + +