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 diff --git a/src/scverse_doc/_accents.json b/src/scverse_doc/_accents.json index f8619d4..738aed6 100644 --- a/src/scverse_doc/_accents.json +++ b/src/scverse_doc/_accents.json @@ -16,7 +16,11 @@ ["blue", [0.5, 0.1, 249]], ["red", [0.595, 0.177, 14]] ], - "scvi": [["yellow", [0.824, 0.1634, 81]]], + "rapids-singlecell": [ + ["green", [0.713, 0.194, 130.8]], + ["violet", [0.518, 0.293, 290.0]] + ], + "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() }