Skip to content

Commit

Permalink
Switch logos in index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
segsell committed Feb 27, 2024
1 parent 97be925 commit d790467
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
html_theme_options = {
"github_url": "https://github.com/OpenSourceEconomics/estimagic",
"logo": {"image_dark": "_static/images/estimagic_logo_dark_mode.svg"},
# "logo": {"image_dark": "https://pandas.pydata.org/static/img/pandas_white.svg"},
}

html_css_files = ["css/custom.css"]
Expand Down
10 changes: 8 additions & 2 deletions docs/source/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
```{raw} html
<div id="logo" style="text-align:center;">
<img src="_static/images/estimagic_logo.svg" alt="estimagic icon" height="100" />
<!-- Light mode logo -->
<div class="logo mainlogo only-light" style="text-align: center;">
<img src="_static/images/estimagic_logo.svg" alt="estimagic-logo" height="100" />
</div>
<!-- Dark mode logo -->
<div class="logo mainlogo only-dark" style="text-align: center;">
<img src="_static/images/estimagic_logo_dark_mode.svg" alt="estimagic-logo" height="100" />
</div>
```

Expand Down

0 comments on commit d790467

Please sign in to comment.