Skip to content

Commit 8741e81

Browse files
committed
Add dark-mode logo
pydata-sphinx-theme v0.9.0 added dark-mode support. Let's add a site logo that looks nice on dark mode. Signed-off-by: Fujimoto Seiji <fujimoto@ceptord.net>
1 parent e67caba commit 8741e81

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

source/_static/logo-dark.png

9.87 KB
Loading

source/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
#
5454
html_theme = 'pydata_sphinx_theme'
5555
html_title = 'FlexConfirmMail'
56-
html_logo = '_static/logo.svg'
5756
html_baseurl = 'https://www.flexconfirmmail.com/'
5857
html_css_files = ['custom.css']
5958
html_show_copyright = False
@@ -79,6 +78,10 @@
7978
"use_edit_page_button": True,
8079
"navigation_with_keys": False,
8180
"show_prev_next": False,
81+
"logo": {
82+
"image_light": "logo.svg",
83+
"image_dark": "logo-dark.png",
84+
}
8285
}
8386

8487

0 commit comments

Comments
 (0)