From d2445634751802b5ea5d4bc630497a80f18928a9 Mon Sep 17 00:00:00 2001 From: Jan Gleixner Date: Tue, 3 Nov 2026 15:30:34 +0100 Subject: [PATCH] site: use the SVG SpatialData icon for the logo and the landing-page heading The official scverse icon (scverse/scverse.github.io static/img/icons/spatialdata.svg), with its viewBox cropped to the drawing so it shows at the size of the PNG. The heading now takes it from _static/ (site/), not img/ of the data model text. The PNG stays as the favicon. --- site/_static/img/spatialdata_icon.svg | 108 ++++++++++++++++++++++++++ site/conf.py | 4 +- site/index.md | 2 +- 3 files changed, 111 insertions(+), 3 deletions(-) create mode 100644 site/_static/img/spatialdata_icon.svg diff --git a/site/_static/img/spatialdata_icon.svg b/site/_static/img/spatialdata_icon.svg new file mode 100644 index 0000000..489f50b --- /dev/null +++ b/site/_static/img/spatialdata_icon.svg @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/site/conf.py b/site/conf.py index ee95aa1..24c978c 100644 --- a/site/conf.py +++ b/site/conf.py @@ -170,8 +170,8 @@ def _editable(ref): "announcement": announcement, "logo": { "text": "SpatialData specifications", - "image_light": "_static/img/spatialdata_icon.png", - "image_dark": "_static/img/spatialdata_icon.png", + "image_light": "_static/img/spatialdata_icon.svg", + "image_dark": "_static/img/spatialdata_icon.svg", }, "pygments_light_style": "friendly", "pygments_dark_style": "monokai", diff --git a/site/index.md b/site/index.md index 5d44a52..a0fbf50 100644 --- a/site/index.md +++ b/site/index.md @@ -1,4 +1,4 @@ -# ![](img/spatialdata_icon.png){.heading-icon} SpatialData specifications +# ![](_static/img/spatialdata_icon.svg){.heading-icon} SpatialData specifications SpatialData is an open framework for working with uni- and multi-modal spatial omics datasets. It defines a common data model and storage format, supported by software libraries for accessing,