Skip to content

Commit 1af57e2

Browse files
authored
docs: update logos for dark and light themes (#282)
- Introduce dark and light logo SVG files for better identification. - Remove previous PNG logos to streamline assets.
1 parent 408ece8 commit 1af57e2

4 files changed

Lines changed: 184 additions & 1 deletion

File tree

Lines changed: 89 additions & 0 deletions
Loading
Lines changed: 89 additions & 0 deletions
Loading

docs/_static/img/pyodide-logo.png

-7.62 KB
Binary file not shown.

docs/conf.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,14 @@
3636
]
3737

3838
html_theme = "sphinx_book_theme"
39-
html_logo = "_static/img/pyodide-logo.png"
4039
html_static_path = ["_static"]
4140

41+
html_theme_options = {
42+
"logo": {
43+
"image_light": "_static/img/pyodide-logo-light.svg",
44+
"image_dark": "_static/img/pyodide-logo-dark.svg",
45+
},
46+
}
4247

4348
sys.path.append(Path(__file__).parent.parent.as_posix())
4449

0 commit comments

Comments
 (0)