Skip to content

Commit 1aec2ab

Browse files
author
Kevin Paul
authored
HTML repr fix for Furo Sphinx theme (#6501)
* Fix for Furo Sphinx theme * Update `whats-new.rst`
1 parent 0db3440 commit 1aec2ab

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

doc/whats-new.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ Bug fixes
8787
contain datetime-like values prior to being passed to
8888
:py:func:`xarray.conventions.decode_cf_variable` (:issue:`6453`,
8989
:pull:`6489`). By `Spencer Clark <https://github.com/spencerkclark>`_.
90+
- Dark themes are now properly detected in Furo-themed Sphinx documents (:issue:`6500`, :pull:`6501`).
91+
By `Kevin Paul <https://github.com/kmpaul>`_.
9092

9193
Documentation
9294
~~~~~~~~~~~~~

xarray/static/css/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
}
1515

1616
html[theme=dark],
17+
body[data-theme=dark],
1718
body.vscode-dark {
1819
--xr-font-color0: rgba(255, 255, 255, 1);
1920
--xr-font-color2: rgba(255, 255, 255, 0.54);

0 commit comments

Comments
 (0)