diff --git a/artwork/logo.png b/artwork/logo.png deleted file mode 100644 index 50814a1..0000000 Binary files a/artwork/logo.png and /dev/null differ diff --git a/docs/_static/logo_short.png b/docs/_static/logo_short.png deleted file mode 100644 index 29ca487..0000000 Binary files a/docs/_static/logo_short.png and /dev/null differ diff --git a/docs/_static/quart-horizontal-dark.svg b/docs/_static/quart-horizontal-dark.svg new file mode 100644 index 0000000..e98ebac --- /dev/null +++ b/docs/_static/quart-horizontal-dark.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/_static/quart-horizontal.svg b/docs/_static/quart-horizontal.svg new file mode 100644 index 0000000..59af8a2 --- /dev/null +++ b/docs/_static/quart-horizontal.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/_static/quart-icon.svg b/docs/_static/quart-icon.svg new file mode 100644 index 0000000..b0028d1 --- /dev/null +++ b/docs/_static/quart-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/docs/conf.py b/docs/conf.py index eb5a59f..162a705 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -29,6 +29,10 @@ html_theme = "pydata_sphinx_theme" html_theme_options = { + "logo": { + "image_light": "_static/quart-horizontal.svg", + "image_dark": "_static/quart-horizontal-dark.svg", + }, "external_links": [ {"name": "Source code", "url": "https://github.com/pallets/quart"}, {"name": "Issues", "url": "https://github.com/pallets/quart/issues"}, @@ -42,7 +46,7 @@ ], } html_static_path = ["_static"] -html_logo = "_static/logo_short.png" +html_favicon = "_static/quart-icon.svg" def run_apidoc(_): diff --git a/docs/index.rst b/docs/index.rst index 4408044..406b8e4 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -2,10 +2,15 @@ .. title:: Quart documentation -.. image:: _static/logo.png - :width: 300px - :alt: Quart logo - :align: right +.. image:: _static/quart-horizontal.svg + :class: only-light + :height: 200px + :align: center + +.. image:: _static/quart-horizontal-dark.svg + :class: only-dark + :height: 200px + :align: center Quart =====