Skip to content

Commit

Permalink
Fix dark-theme in html[data-theme=dark]-tags (#9200)
Browse files Browse the repository at this point in the history
* Fix dark-theme in html tag

* Add to release notes
  • Loading branch information
prisae authored Jul 1, 2024
1 parent fff8253 commit 24ab84c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/whats-new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ Bug fixes
By `Justus Magin <https://github.com/keewis>`_.
- Fiy static typing of tolerance arguments by allowing `str` type (:issue:`8892`, :pull:`9194`).
By `Michael Niklas <https://github.com/headtr1ck>`_.
- Dark themes are now properly detected for ``html[data-theme=dark]``-tags (:pull:`9200`).
By `Dieter Werthmüller <https://github.com/prisae>`_.

Documentation
~~~~~~~~~~~~~
Expand Down
1 change: 1 addition & 0 deletions xarray/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
}

html[theme=dark],
html[data-theme=dark],
body[data-theme=dark],
body.vscode-dark {
--xr-font-color0: rgba(255, 255, 255, 1);
Expand Down

0 comments on commit 24ab84c

Please sign in to comment.