diff --git a/docs/src/_static/iris-logo-title-dark.svg b/docs/src/_static/iris-logo-title-dark.svg
new file mode 100644
index 0000000000..b7358aafec
--- /dev/null
+++ b/docs/src/_static/iris-logo-title-dark.svg
@@ -0,0 +1,107 @@
+
+
\ No newline at end of file
diff --git a/docs/src/_static/iris-logo-title.svg b/docs/src/_static/iris-logo-title.svg
index 5bc38bfbda..98dd1a73d5 100644
--- a/docs/src/_static/iris-logo-title.svg
+++ b/docs/src/_static/iris-logo-title.svg
@@ -1,13 +1,13 @@
-
+
Banner logo for the SciTools Iris project - https://github.com/SciTools/iris/
-
+
-
+
@@ -97,11 +97,11 @@
-
-
-
-
+
+
+
+
- Iris
+ Iris
\ No newline at end of file
diff --git a/docs/src/_static/iris-logo.svg b/docs/src/_static/iris-logo.svg
index 6c4bdb0e5a..fe49411b45 100644
--- a/docs/src/_static/iris-logo.svg
+++ b/docs/src/_static/iris-logo.svg
@@ -1,12 +1,12 @@
-
+
Logo for the SciTools Iris project - https://github.com/SciTools/iris/
-
+
@@ -96,9 +96,9 @@
-
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/docs/src/conf.py b/docs/src/conf.py
index b66a818b73..5c382ec77c 100644
--- a/docs/src/conf.py
+++ b/docs/src/conf.py
@@ -273,7 +273,6 @@ def _dotv(version):
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
-html_logo = "_static/iris-logo-title.svg"
html_favicon = "_static/iris-logo.svg"
html_theme = "pydata_sphinx_theme"
@@ -320,6 +319,11 @@ def _dotv(version):
# Omitted `theme-switcher` below to disable it
# Info: https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/light-dark.html#configure-default-theme-mode
"navbar_end": ["navbar-icon-links"],
+ # https://pydata-sphinx-theme.readthedocs.io/en/v0.11.0/user_guide/branding.html#different-logos-for-light-and-dark-mode
+ "logo": {
+ "image_light": "_static/iris-logo-title.svg",
+ "image_dark": "_static/iris-logo-title-dark.svg",
+ },
}
rev_parse = run(["git", "rev-parse", "--short", "HEAD"], capture_output=True)
diff --git a/docs/src/whatsnew/latest.rst b/docs/src/whatsnew/latest.rst
index 8e583a5c85..15b502630f 100644
--- a/docs/src/whatsnew/latest.rst
+++ b/docs/src/whatsnew/latest.rst
@@ -96,6 +96,9 @@ This document explains the changes made to Iris for this release
:doc:`/developers_guide/release_do_nothing` for the release process.
(:pull:`5134`)
+#. `@trexfeathers`_ and `@tkknight`_ added a dark-mode friendly logo.
+ (:pull:`5278`)
+
💼 Internal
===========