Skip to content

Commit 24ab84c

Browse files
authored
Fix dark-theme in html[data-theme=dark]-tags (#9200)
* Fix dark-theme in html tag * Add to release notes
1 parent fff8253 commit 24ab84c

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
@@ -45,6 +45,8 @@ Bug fixes
4545
By `Justus Magin <https://github.com/keewis>`_.
4646
- Fiy static typing of tolerance arguments by allowing `str` type (:issue:`8892`, :pull:`9194`).
4747
By `Michael Niklas <https://github.com/headtr1ck>`_.
48+
- Dark themes are now properly detected for ``html[data-theme=dark]``-tags (:pull:`9200`).
49+
By `Dieter Werthmüller <https://github.com/prisae>`_.
4850

4951
Documentation
5052
~~~~~~~~~~~~~

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+
html[data-theme=dark],
1718
body[data-theme=dark],
1819
body.vscode-dark {
1920
--xr-font-color0: rgba(255, 255, 255, 1);

0 commit comments

Comments
 (0)