diff --git a/changelog.md b/changelog.md
index cd70ce0a0..22a0e8e9b 100644
--- a/changelog.md
+++ b/changelog.md
@@ -31,6 +31,8 @@
### 📚 Documentation
+- 🎨 Add new logo (#1083)
+
### 🗑️ Deprecations (due in 0.8.0)
- `glotaran.io.save_result(result, result_path, format_name='legacy')` -> `glotaran.io.save_result(result, Path(result_path) / 'result.yml')`
diff --git a/docs/source/conf.py b/docs/source/conf.py
index bf3a94e14..d6b19bc4f 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -183,8 +183,8 @@
html_theme_options = {
"navigation_depth": -1,
}
-html_favicon = "images/glotaran_favicon.png"
-html_logo = "images/glotaran.png"
+html_favicon = "images/pyglotaran_favicon_transparent.svg"
+html_logo = "images/pyglotaran_logo_light_theme.svg"
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
diff --git a/docs/source/images/png/pyglotaran_favicon_dark_theme_16x16.png b/docs/source/images/png/pyglotaran_favicon_dark_theme_16x16.png
new file mode 100644
index 000000000..5dd217aad
Binary files /dev/null and b/docs/source/images/png/pyglotaran_favicon_dark_theme_16x16.png differ
diff --git a/docs/source/images/png/pyglotaran_favicon_dark_theme_24x24.png b/docs/source/images/png/pyglotaran_favicon_dark_theme_24x24.png
new file mode 100644
index 000000000..40b38cd8e
Binary files /dev/null and b/docs/source/images/png/pyglotaran_favicon_dark_theme_24x24.png differ
diff --git a/docs/source/images/png/pyglotaran_favicon_dark_theme_32x32.png b/docs/source/images/png/pyglotaran_favicon_dark_theme_32x32.png
new file mode 100644
index 000000000..0c00b32a9
Binary files /dev/null and b/docs/source/images/png/pyglotaran_favicon_dark_theme_32x32.png differ
diff --git a/docs/source/images/png/pyglotaran_favicon_dark_theme_48x48.png b/docs/source/images/png/pyglotaran_favicon_dark_theme_48x48.png
new file mode 100644
index 000000000..5983075f5
Binary files /dev/null and b/docs/source/images/png/pyglotaran_favicon_dark_theme_48x48.png differ
diff --git a/docs/source/images/png/pyglotaran_favicon_light_theme_16x16.png b/docs/source/images/png/pyglotaran_favicon_light_theme_16x16.png
new file mode 100644
index 000000000..8e31abfae
Binary files /dev/null and b/docs/source/images/png/pyglotaran_favicon_light_theme_16x16.png differ
diff --git a/docs/source/images/png/pyglotaran_favicon_light_theme_24x24.png b/docs/source/images/png/pyglotaran_favicon_light_theme_24x24.png
new file mode 100644
index 000000000..f30bdebf6
Binary files /dev/null and b/docs/source/images/png/pyglotaran_favicon_light_theme_24x24.png differ
diff --git a/docs/source/images/png/pyglotaran_favicon_light_theme_32x32.png b/docs/source/images/png/pyglotaran_favicon_light_theme_32x32.png
new file mode 100644
index 000000000..e46a9c7de
Binary files /dev/null and b/docs/source/images/png/pyglotaran_favicon_light_theme_32x32.png differ
diff --git a/docs/source/images/png/pyglotaran_favicon_light_theme_48x48.png b/docs/source/images/png/pyglotaran_favicon_light_theme_48x48.png
new file mode 100644
index 000000000..c8052771e
Binary files /dev/null and b/docs/source/images/png/pyglotaran_favicon_light_theme_48x48.png differ
diff --git a/docs/source/images/png/pyglotaran_favicon_transparent_16x16.png b/docs/source/images/png/pyglotaran_favicon_transparent_16x16.png
new file mode 100644
index 000000000..db7401a8f
Binary files /dev/null and b/docs/source/images/png/pyglotaran_favicon_transparent_16x16.png differ
diff --git a/docs/source/images/png/pyglotaran_favicon_transparent_24x24.png b/docs/source/images/png/pyglotaran_favicon_transparent_24x24.png
new file mode 100644
index 000000000..6dc15d770
Binary files /dev/null and b/docs/source/images/png/pyglotaran_favicon_transparent_24x24.png differ
diff --git a/docs/source/images/png/pyglotaran_favicon_transparent_32x32.png b/docs/source/images/png/pyglotaran_favicon_transparent_32x32.png
new file mode 100644
index 000000000..abd3f077b
Binary files /dev/null and b/docs/source/images/png/pyglotaran_favicon_transparent_32x32.png differ
diff --git a/docs/source/images/png/pyglotaran_favicon_transparent_48x48.png b/docs/source/images/png/pyglotaran_favicon_transparent_48x48.png
new file mode 100644
index 000000000..e2f38279e
Binary files /dev/null and b/docs/source/images/png/pyglotaran_favicon_transparent_48x48.png differ
diff --git a/docs/source/images/png/pyglotaran_logo_dark_theme_128x128.png b/docs/source/images/png/pyglotaran_logo_dark_theme_128x128.png
new file mode 100644
index 000000000..da02a8c16
Binary files /dev/null and b/docs/source/images/png/pyglotaran_logo_dark_theme_128x128.png differ
diff --git a/docs/source/images/png/pyglotaran_logo_dark_theme_256x256.png b/docs/source/images/png/pyglotaran_logo_dark_theme_256x256.png
new file mode 100644
index 000000000..76cf12fe8
Binary files /dev/null and b/docs/source/images/png/pyglotaran_logo_dark_theme_256x256.png differ
diff --git a/docs/source/images/png/pyglotaran_logo_dark_theme_512x512.png b/docs/source/images/png/pyglotaran_logo_dark_theme_512x512.png
new file mode 100644
index 000000000..746fccb38
Binary files /dev/null and b/docs/source/images/png/pyglotaran_logo_dark_theme_512x512.png differ
diff --git a/docs/source/images/png/pyglotaran_logo_dark_theme_64x64.png b/docs/source/images/png/pyglotaran_logo_dark_theme_64x64.png
new file mode 100644
index 000000000..60bc015cf
Binary files /dev/null and b/docs/source/images/png/pyglotaran_logo_dark_theme_64x64.png differ
diff --git a/docs/source/images/png/pyglotaran_logo_light_theme_128x128.png b/docs/source/images/png/pyglotaran_logo_light_theme_128x128.png
new file mode 100644
index 000000000..fcabca42c
Binary files /dev/null and b/docs/source/images/png/pyglotaran_logo_light_theme_128x128.png differ
diff --git a/docs/source/images/png/pyglotaran_logo_light_theme_256x256.png b/docs/source/images/png/pyglotaran_logo_light_theme_256x256.png
new file mode 100644
index 000000000..c20710b2b
Binary files /dev/null and b/docs/source/images/png/pyglotaran_logo_light_theme_256x256.png differ
diff --git a/docs/source/images/png/pyglotaran_logo_light_theme_512x512.png b/docs/source/images/png/pyglotaran_logo_light_theme_512x512.png
new file mode 100644
index 000000000..4820cef9c
Binary files /dev/null and b/docs/source/images/png/pyglotaran_logo_light_theme_512x512.png differ
diff --git a/docs/source/images/png/pyglotaran_logo_light_theme_64x64.png b/docs/source/images/png/pyglotaran_logo_light_theme_64x64.png
new file mode 100644
index 000000000..84391b189
Binary files /dev/null and b/docs/source/images/png/pyglotaran_logo_light_theme_64x64.png differ
diff --git a/docs/source/images/png/pyglotaran_logo_transparent_128x128.png b/docs/source/images/png/pyglotaran_logo_transparent_128x128.png
new file mode 100644
index 000000000..691d624c4
Binary files /dev/null and b/docs/source/images/png/pyglotaran_logo_transparent_128x128.png differ
diff --git a/docs/source/images/png/pyglotaran_logo_transparent_256x256.png b/docs/source/images/png/pyglotaran_logo_transparent_256x256.png
new file mode 100644
index 000000000..42974773c
Binary files /dev/null and b/docs/source/images/png/pyglotaran_logo_transparent_256x256.png differ
diff --git a/docs/source/images/png/pyglotaran_logo_transparent_512x512.png b/docs/source/images/png/pyglotaran_logo_transparent_512x512.png
new file mode 100644
index 000000000..ef5d9a7cd
Binary files /dev/null and b/docs/source/images/png/pyglotaran_logo_transparent_512x512.png differ
diff --git a/docs/source/images/png/pyglotaran_logo_transparent_64x64.png b/docs/source/images/png/pyglotaran_logo_transparent_64x64.png
new file mode 100644
index 000000000..9f453350a
Binary files /dev/null and b/docs/source/images/png/pyglotaran_logo_transparent_64x64.png differ
diff --git a/docs/source/images/pyglotaran_favicon_dark_theme.svg b/docs/source/images/pyglotaran_favicon_dark_theme.svg
new file mode 100644
index 000000000..93fc7dcd2
--- /dev/null
+++ b/docs/source/images/pyglotaran_favicon_dark_theme.svg
@@ -0,0 +1,69 @@
+
diff --git a/docs/source/images/pyglotaran_favicon_light_theme.svg b/docs/source/images/pyglotaran_favicon_light_theme.svg
new file mode 100644
index 000000000..d28fdea65
--- /dev/null
+++ b/docs/source/images/pyglotaran_favicon_light_theme.svg
@@ -0,0 +1,55 @@
+
diff --git a/docs/source/images/pyglotaran_favicon_transparent.svg b/docs/source/images/pyglotaran_favicon_transparent.svg
new file mode 100644
index 000000000..0209a29fb
--- /dev/null
+++ b/docs/source/images/pyglotaran_favicon_transparent.svg
@@ -0,0 +1,59 @@
+
diff --git a/docs/source/images/pyglotaran_logo_dark_theme.svg b/docs/source/images/pyglotaran_logo_dark_theme.svg
new file mode 100644
index 000000000..56bfe504e
--- /dev/null
+++ b/docs/source/images/pyglotaran_logo_dark_theme.svg
@@ -0,0 +1,117 @@
+
diff --git a/docs/source/images/pyglotaran_logo_light_theme.svg b/docs/source/images/pyglotaran_logo_light_theme.svg
new file mode 100644
index 000000000..759024b60
--- /dev/null
+++ b/docs/source/images/pyglotaran_logo_light_theme.svg
@@ -0,0 +1,104 @@
+
diff --git a/docs/source/images/pyglotaran_logo_transparent.svg b/docs/source/images/pyglotaran_logo_transparent.svg
new file mode 100644
index 000000000..c389103e4
--- /dev/null
+++ b/docs/source/images/pyglotaran_logo_transparent.svg
@@ -0,0 +1,111 @@
+
diff --git a/docs/source/images/recreate_png_logos.py b/docs/source/images/recreate_png_logos.py
new file mode 100644
index 000000000..a1703e4ca
--- /dev/null
+++ b/docs/source/images/recreate_png_logos.py
@@ -0,0 +1,38 @@
+"""Helper script to render svg logos to png.
+
+This script uses https://github.com/shakiba/svgexport
+
+``npm install svgexport -g``
+"""
+
+import subprocess
+from pathlib import Path
+
+image_folder = Path(__file__).parent
+output_folder = image_folder / "png"
+
+output_folder.mkdir(parents=True, exist_ok=True)
+
+
+def render_svg(glob_pattern: str, size: int) -> None:
+ """Render svg file tp png file with size ``size x size``.
+
+ Parameters
+ ----------
+ glob_pattern: str
+ Patter to find svg files.
+ size: int
+ Size of the resulting png image.
+ """
+
+ for logo in image_folder.glob(glob_pattern):
+ input_file = logo.resolve().as_posix()
+ output_file = (output_folder / f"{logo.stem}_{size}x{size}.png").resolve().as_posix()
+ subprocess.run(f"svgexport {input_file} {output_file} {size}:", shell=True)
+
+
+if __name__ == "__main__":
+ for size in (16, 24, 32, 48):
+ render_svg("pyglotaran_favicon*.svg", size)
+ for size in (64, 128, 256, 512):
+ render_svg("pyglotaran_logo*.svg", size)