From b44140c9d2900038331714e0dbc5da8613a6bb1a Mon Sep 17 00:00:00 2001 From: Intron7 Date: Mon, 26 Oct 2026 22:35:54 +0100 Subject: [PATCH 1/4] fix: sync accents from the website Signed-off-by: Intron7 --- src/scverse_doc/_accents.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/scverse_doc/_accents.json b/src/scverse_doc/_accents.json index f8619d4..e385d76 100644 --- a/src/scverse_doc/_accents.json +++ b/src/scverse_doc/_accents.json @@ -16,6 +16,10 @@ ["blue", [0.5, 0.1, 249]], ["red", [0.595, 0.177, 14]] ], + "rapids-singlecell": [ + ["violet", [0.698, 0.135, 279.9]], + ["orange", [0.764, 0.152, 62.8]] + ], "scvi": [["yellow", [0.824, 0.1634, 81]]], "scverse": [ ["deep-blue", [0.405, 0.205, 270]], From 001ea70677c51f75bcfb7abeefc48ba3dc102fbe Mon Sep 17 00:00:00 2001 From: Intron7 Date: Mon, 26 Oct 2026 22:36:02 +0100 Subject: [PATCH 2/4] docs: changelog Signed-off-by: Intron7 --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 860ab21..5823aa2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning][]. ## [Unreleased] +### Fixed + +- rapids-singlecell’s accents are synced from the website (#78) + ## [0.3.0] ### Added From beaba2208c4b288b993b5e50d373ac151df3b28a Mon Sep 17 00:00:00 2001 From: Intron7 Date: Mon, 26 Oct 2026 23:26:12 +0100 Subject: [PATCH 3/4] fix: sync the updated rapids-singlecell accents Signed-off-by: Intron7 --- src/scverse_doc/_accents.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scverse_doc/_accents.json b/src/scverse_doc/_accents.json index e385d76..caee6bd 100644 --- a/src/scverse_doc/_accents.json +++ b/src/scverse_doc/_accents.json @@ -17,8 +17,8 @@ ["red", [0.595, 0.177, 14]] ], "rapids-singlecell": [ - ["violet", [0.698, 0.135, 279.9]], - ["orange", [0.764, 0.152, 62.8]] + ["green", [0.713, 0.194, 130.8]], + ["violet", [0.518, 0.293, 290.0]] ], "scvi": [["yellow", [0.824, 0.1634, 81]]], "scverse": [ From 741000355839ffff88a786b013e294dda88dd951 Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Tue, 27 Oct 2026 08:48:20 +0100 Subject: [PATCH 4/4] remove scvi hack --- src/scverse_doc/_accents.json | 2 +- src/scverse_doc/registry.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scverse_doc/_accents.json b/src/scverse_doc/_accents.json index caee6bd..738aed6 100644 --- a/src/scverse_doc/_accents.json +++ b/src/scverse_doc/_accents.json @@ -20,7 +20,7 @@ ["green", [0.713, 0.194, 130.8]], ["violet", [0.518, 0.293, 290.0]] ], - "scvi": [["yellow", [0.824, 0.1634, 81]]], + "scvi-tools": [["yellow", [0.824, 0.1634, 81]]], "scverse": [ ["deep-blue", [0.405, 0.205, 270]], ["sky-blue", [0.799, 0.108, 236]], diff --git a/src/scverse_doc/registry.py b/src/scverse_doc/registry.py index 05ea99e..2df8109 100644 --- a/src/scverse_doc/registry.py +++ b/src/scverse_doc/registry.py @@ -58,7 +58,7 @@ def _build_cache(app: Sphinx) -> Path: #: Brand accents from the website, copied by ``scripts/sync_brand_tokens.py``: #: each key lists ``[name, [L, C, H]]`` pairs, primary first. _ACCENTS: dict[str, list[str]] = { - {"scvi": "scvi-tools"}.get(pkg, pkg): ["oklch({} {} {})".format(*lch) for _, lch in colors] + pkg: ["oklch({} {} {})".format(*lch) for _, lch in colors] for pkg, colors in json.loads(files(__package__).joinpath("_accents.json").read_text()).items() }