Skip to content

Commit

Permalink
Dark mode compatible logo (#2532)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukruh authored Sep 25, 2024
1 parent ffaeff1 commit ffa2347
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[![Anaconda-Server Badge](https://img.shields.io/conda/vn/conda-forge/ESMValCore?color=blue&label=conda-forge&logo=conda-forge&logoColor=white)](https://anaconda.org/conda-forge/esmvalcore)
[![Github Actions Test](https://github.com/ESMValGroup/ESMValCore/actions/workflows/run-tests.yml/badge.svg)](https://github.com/ESMValGroup/ESMValCore/actions/workflows/run-tests.yml)

![esmvaltoollogo](https://raw.githubusercontent.com/ESMValGroup/ESMValCore/main/doc/figures/ESMValTool-logo-2.png)
![esmvaltoollogo](https://raw.githubusercontent.com/ESMValGroup/ESMValCore/main/doc/figures/ESMValTool-logo-2-glow.png)

ESMValCore: core functionalities for the ESMValTool, a community diagnostic
and performance metrics tool for routine evaluation of Earth System Models
Expand Down
11 changes: 8 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,13 @@
# Short synopsis of said issue: as of now, left/right keys take one
# to the previous/next page instead of scrolling horizontally; this
# should be fixed upstream, then we can set again navigation with keys True
html_theme_options = {"navigation_with_keys": False}

html_theme_options = {
"navigation_with_keys": False,
"logo": {
"image_light": "figures/ESMValTool-logo-2.png",
"image_dark": "figures/ESMValTool-logo-2-dark.png",
},
}
# Add any paths that contain custom themes here, relative to this directory.
# html_theme_path = []

Expand All @@ -194,7 +199,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path: list = []
html_static_path: list = ["figures/ESMValTool-logo-2-dark.png"]

# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
Expand Down
Binary file added doc/figures/ESMValTool-logo-2-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/figures/ESMValTool-logo-2-glow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/figures/ESMValTool-logo-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ffa2347

Please sign in to comment.