Skip to content

Commit 1093fab

Browse files
committed
feat(docs): add light and dark mode logos
1 parent 8e5a901 commit 1093fab

5 files changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ CodeEntropy
1313
CodeEntropy is a Python package for computing the configurational entropy of macromolecular systems using forces sampled from molecular dynamics (MD) simulations. It implements the multiscale cell correlation method to provide accurate and efficient entropy estimates, supporting a wide range of applications in molecular simulation and statistical mechanics.
1414

1515
<p align="center">
16-
<img src="docs/images/biosim-codeentropy_logo_grey.svg" alt="CodeEntropy logo" width="300"/>
16+
<img src="docs/images/biosim-codeentropy_logo_light.png#gh-light-mode-only" alt="CodeEntropy logo" width="300"/>
17+
<img src="docs/images/biosim-codeentropy_logo_dark.png#gh-dark-mode-only" alt="CodeEntropy logo" width="300"/>
1718
</p>
1819

1920
See [CodeEntropy’s documentation](https://codeentropy.readthedocs.io/en/latest/) for more information.

docs/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@
101101
# a list of builtin themes.
102102
#
103103
html_theme = "furo"
104-
html_logo = "images/biosim-codeentropy_logo_grey.svg"
104+
html_theme_options = {
105+
"light_logo": "images/biosim-codeentropy_logo_light.png",
106+
"dark_logo": "images/biosim-codeentropy_logo_dark.png",
107+
}
105108

106109
# Theme options are theme-specific and customize the look and feel of a theme
107110
# further. For a list of options available for each theme, see the
282 KB
Loading

docs/images/biosim-codeentropy_logo_grey.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.
430 KB
Loading

0 commit comments

Comments
 (0)