Skip to content

Commit ec4e9fc

Browse files
committed
svg logo
1 parent 4071c22 commit ec4e9fc

File tree

7 files changed

+75
-5
lines changed

7 files changed

+75
-5
lines changed

artwork/logo.png

-149 KB
Binary file not shown.

docs/_static/logo_short.png

-179 KB
Binary file not shown.
Lines changed: 24 additions & 0 deletions
Loading

docs/_static/quart-horizontal.svg

Lines changed: 24 additions & 0 deletions
Loading

docs/_static/quart-icon.svg

Lines changed: 13 additions & 0 deletions
Loading

docs/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929

3030
html_theme = "pydata_sphinx_theme"
3131
html_theme_options = {
32+
"logo": {
33+
"image_light": "_static/quart-horizontal.svg",
34+
"image_dark": "_static/quart-horizontal-dark.svg",
35+
},
3236
"external_links": [
3337
{"name": "Source code", "url": "https://github.com/pallets/quart"},
3438
{"name": "Issues", "url": "https://github.com/pallets/quart/issues"},
@@ -42,7 +46,7 @@
4246
],
4347
}
4448
html_static_path = ["_static"]
45-
html_logo = "_static/logo_short.png"
49+
html_favicon = "_static/quart-icon.svg"
4650

4751

4852
def run_apidoc(_):

docs/index.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22

33
.. title:: Quart documentation
44

5-
.. image:: _static/logo.png
6-
:width: 300px
7-
:alt: Quart logo
8-
:align: right
5+
.. image:: _static/quart-horizontal.svg
6+
:class: only-light
7+
:height: 200px
8+
:align: center
9+
10+
.. image:: _static/quart-horizontal-dark.svg
11+
:class: only-dark
12+
:height: 200px
13+
:align: center
914

1015
Quart
1116
=====

0 commit comments

Comments
 (0)