diff --git a/docs/source/_static/images/full_logo.png b/docs/source/_static/images/full_logo.png
deleted file mode 100755
index 5e181e4f2..000000000
Binary files a/docs/source/_static/images/full_logo.png and /dev/null differ
diff --git a/docs/source/_static/images/full_logo.svg b/docs/source/_static/images/full_logo.svg
deleted file mode 100755
index 2077ae53d..000000000
--- a/docs/source/_static/images/full_logo.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/docs/source/_static/images/icon.svg b/docs/source/_static/images/icon.svg
index 65422e2e8..513c5c201 100755
--- a/docs/source/_static/images/icon.svg
+++ b/docs/source/_static/images/icon.svg
@@ -1 +1 @@
-
+
diff --git a/docs/source/_static/logo.png b/docs/source/_static/logo.png
new file mode 100644
index 000000000..a55c0e093
Binary files /dev/null and b/docs/source/_static/logo.png differ
diff --git a/docs/source/_static/logo_dark.png b/docs/source/_static/logo_dark.png
new file mode 100644
index 000000000..4af08ca22
Binary files /dev/null and b/docs/source/_static/logo_dark.png differ
diff --git a/docs/source/conf.py b/docs/source/conf.py
index b8b0c2a6d..500a6a1c1 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -77,15 +77,20 @@
#
html_theme = "pydata_sphinx_theme"
-# The name of an image file (relative to this directory) to place at the top
-# of the sidebar.
-html_logo = "_static/images/full_logo.png"
-
# 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 = ["_static"]
+# Using this instead of `html_logo` to handle light/dark modes
+# See https://pydata-sphinx-theme.readthedocs.io
+html_theme_options = {
+ "logo": {
+ "image_light": "logo.png",
+ "image_dark": "logo_dark.png",
+ },
+}
+
# If true, links to the reST sources are added to the pages.
html_show_sourcelink = False
diff --git a/docs/source/index.rst b/docs/source/index.rst
index 46bdb6149..1f34abbb9 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -20,7 +20,7 @@ Welcome Page
.. image:: _static/images/icon.svg
:width: 200px
- :class: sd-m-auto
+ :class: sd-m-auto dark-light
----
diff --git a/docs/source/tutorials/index.rst b/docs/source/tutorials/index.rst
index 28d73c503..0c5e267bd 100644
--- a/docs/source/tutorials/index.rst
+++ b/docs/source/tutorials/index.rst
@@ -5,7 +5,7 @@ Tutorials
.. important::
- Before you get started, make sure you've :doc:`accessed ` AiiDAlab and :doc:`installed ` the Quantum ESPRESSO app.
+ Before you get started, make sure you've :doc:`accessed ` AiiDAlab and :doc:`installed ` the Quantum ESPRESSO app.
.. grid:: 1 1 1 2
:gutter: 3