Skip to content

Commit a7357c0

Browse files
authored
Merge pull request #299 from CCPBioSim/298-docs-swich-light-and-dark
Fix logo contrast in light/dark modes
2 parents cba3d8e + bdb55c2 commit a7357c0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ CodeEntropy
1414
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.
1515

1616
<p align="center">
17-
<img src="docs/_static/logos/biosim-codeentropy_logo_light.png#gh-light-mode-only" alt="CodeEntropy logo" width="300"/>
18-
<img src="docs/_static/logos/biosim-codeentropy_logo_dark.png#gh-dark-mode-only" alt="CodeEntropy logo" width="300"/>
17+
<img src="docs/_static/logos/biosim-codeentropy_logo_light.png#gh-dark-mode-only" alt="CodeEntropy logo" width="300"/>
18+
<img src="docs/_static/logos/biosim-codeentropy_logo_dark.png#gh-light-mode-only" alt="CodeEntropy logo" width="300"/>
1919
</p>
2020

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

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@
7575
# -- Options for HTML output -------------------------------------------------
7676
html_theme = "furo"
7777
html_theme_options = {
78-
"light_logo": "logos/biosim-codeentropy_logo_light.png",
79-
"dark_logo": "logos/biosim-codeentropy_logo_dark.png",
78+
"dark_logo": "logos/biosim-codeentropy_logo_light.png",
79+
"light_logo": "logos/biosim-codeentropy_logo_dark.png",
8080
}
8181

8282
html_static_path = ["_static"]

0 commit comments

Comments
 (0)