From c60153fe9622641177fc759681dded435543c921 Mon Sep 17 00:00:00 2001 From: Kevin Paul Date: Mon, 18 Apr 2022 13:58:30 -0600 Subject: [PATCH 1/2] Fix for Furo Sphinx theme --- xarray/static/css/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/xarray/static/css/style.css b/xarray/static/css/style.css index b3b8a162e9a..9fa27c03359 100644 --- a/xarray/static/css/style.css +++ b/xarray/static/css/style.css @@ -14,6 +14,7 @@ } html[theme=dark], +body[data-theme=dark], body.vscode-dark { --xr-font-color0: rgba(255, 255, 255, 1); --xr-font-color2: rgba(255, 255, 255, 0.54); From 3c1c2ec69e39231c8b6686c92529b7f6407156d6 Mon Sep 17 00:00:00 2001 From: Kevin Paul Date: Mon, 18 Apr 2022 14:03:49 -0600 Subject: [PATCH 2/2] Update `whats-new.rst` --- doc/whats-new.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 4d313e94a4b..d86ec107205 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -87,6 +87,8 @@ Bug fixes contain datetime-like values prior to being passed to :py:func:`xarray.conventions.decode_cf_variable` (:issue:`6453`, :pull:`6489`). By `Spencer Clark `_. +- Dark themes are now properly detected in Furo-themed Sphinx documents (:issue:`6500`, :pull:`6501`). + By `Kevin Paul `_. Documentation ~~~~~~~~~~~~~