P11: Loch design system — rebrand, font swap, --ds- prefix #56

Merged
kert merged 3 commits from feature/loch-design-system into main 2026-03-21 18:29:09 +00:00

3 Commits

Author SHA1 Message Date
kert
5c088b50a8 rebrand theme: throwback → loch, --tb- → --ds-, drop Press Start 2P
Some checks failed
ci/woodpecker/pr/infra-ci Pipeline failed
ci/woodpecker/push/infra-ci Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
coverage 99% coverage
ci/woodpecker/pr/ci Pipeline was successful
Rename the design system from "throwback" to "loch" — a deep-navy
design system. CSS variable prefix --tb- → --ds-. Press Start 2P
replaced with IBM Plex Mono weight 600 for headings.

Same hex colours, same layout, same mood — just a grown-up name.

fix #50, fix #51, refs #54
2026-03-21 14:26:41 -04:00
kert
cfeb09eff4 fix notebook runtime: add altair/pandas deps, fix table ref, fix sys.path
Some checks failed
ci/woodpecker/pr/infra-ci Pipeline failed
ci/woodpecker/push/infra-ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
coverage 99% coverage
ci/woodpecker/push/ci Pipeline was successful
- Add altair and pandas as dev dependencies so notebooks run as scripts
- Fix sys.path for styles/ to resolve relative to __file__, not CWD
- Fix broken table ref: chronic_conditions_long → cms_chronic_conditions_long
- Update pre-commit hook: lint only staged files, run notebooks as scripts

refs #45
2026-03-21 14:06:45 -04:00
kert
33701365be add Nature figure standards: palette, Altair theme, DAG colors
Some checks failed
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/infra-ci Pipeline failed
ci/woodpecker/push/infra-ci Pipeline was successful
coverage 99% coverage
ci/woodpecker/pr/ci Pipeline was successful
Create styles/nature.py with accessible 8-colour palette (Paul Tol
bright scheme), Altair theme registration, matplotlib rcParams, and
Cytoscape style helpers — all conforming to Nature Research figure
specifications (bib citation 9ASETLJ4).

Retrofit acodb_explorer.py: replace all hardcoded set2/hex colors
with PALETTE references, enable the Nature Altair theme on import.

Update src/aco/dag.py to import schema colors from the shared
styles/nature.py module instead of maintaining a separate Tableau 10
palette.

fix #45, fix #46, refs #47
2026-03-21 13:55:53 -04:00