From e5d921a0f86fe5a8505c741ce1c6297bb47dd42d Mon Sep 17 00:00:00 2001 From: Lukas Heumos Date: Thu, 22 Oct 2026 10:22:22 +0200 Subject: [PATCH 1/3] fix: give pertpy its logo blue as accent The website now defines --pertpy-blue (scverse/scverse.github.io#364), so pertpy no longer borrows scirpy's pink. _accents.json was regenerated with scripts/sync_brand_tokens.py against that branch; no other token changed. --- scripts/sync_brand_tokens.py | 2 +- src/scverse_doc/_accents.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/sync_brand_tokens.py b/scripts/sync_brand_tokens.py index 124972d..08e2906 100755 --- a/scripts/sync_brand_tokens.py +++ b/scripts/sync_brand_tokens.py @@ -67,7 +67,7 @@ "anndata": "--anndata-orange", "mudata": "--mudata-green", "muon": "--muon-aquamarine", - "pertpy": "--scirpy-purple", # the website has no pertpy colour; it has always shared scirpy’s + "pertpy": "--pertpy-blue", "scanpy": "--scanpy-cerise", "scirpy": "--scirpy-purple", "scvi-tools": "--scvi-yellow", diff --git a/src/scverse_doc/_accents.json b/src/scverse_doc/_accents.json index 9e07d3a..a4ca6c6 100644 --- a/src/scverse_doc/_accents.json +++ b/src/scverse_doc/_accents.json @@ -3,7 +3,7 @@ "anndata": "#e5864b", "mudata": "#4ab274", "muon": "#6cf1a1", - "pertpy": "#da347f", + "pertpy": "#30679a", "scanpy": "#de367b", "scirpy": "#da347f", "scvi-tools": "#fbb822", From 4d9c6ef4e590cf5a735efd44b7c750f0b5c949a3 Mon Sep 17 00:00:00 2001 From: Lukas Heumos Date: Thu, 22 Oct 2026 10:22:41 +0200 Subject: [PATCH 2/3] docs: add changelog entry for #72 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 819bb2e..3c56647 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning][]. - header shadow now only extends downward (#70) - the autosummary class template now correctly handles classes referenced through aliased modules (#71) +- pertpy’s accent is its logo blue instead of scirpy’s pink (#72) ## [0.2.3] From db439c7d123a9ae263c9f8d77e435f7045205158 Mon Sep 17 00:00:00 2001 From: Lukas Heumos Date: Thu, 22 Oct 2026 10:26:12 +0200 Subject: [PATCH 3/3] test: expect pertpy's new accent in the build test --- tests/test_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_build.py b/tests/test_build.py index 0e3a8b7..b50788b 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -78,7 +78,7 @@ def test_ecosystem_dropdown_is_built_from_the_registry(minimal: tuple[SphinxTest def test_accent_is_derived_for_both_modes(minimal: tuple[SphinxTestApp, str]) -> None: app, _ = minimal css = (Path(app.outdir) / "_static" / "scverse-accent.css").read_text() - assert "--scverse-color-accent-decorative: #da347f;" in css + assert "--scverse-color-accent-decorative: #30679a;" in css assert "--scverse-color-accent-text: light-dark(#" in css