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
Owner

Summary

  • Rename theme from "throwback" / "Tecmo Super Bowl" / "retro-arcade" → loch
  • Migrate all CSS variable prefixes: --tb- → --ds-
  • Replace Press Start 2P pixel font with IBM Plex Mono weight 600 for headings
  • Same hex colours, layout, and mood — zero visual regression

Files changed (16)

Category Files
CSS styles/{loch,inject,marimo,gitea,woodpecker,dashboard}.css, docs/src/css/custom.css, notebooks/.marimo-config/loch.css
Config compose.yml, traefik/dynamic/services.yml, notebooks/.marimo*.toml, notebooks/Dockerfile
Templates gitea/custom/templates/home.tmpl
Docs README.md

What was removed

  • All references to: throwback, retro, arcade, Tecmo, Super Bowl, NES, vintage, 8-bit, pixel
  • Press Start 2P font (all ~50 occurrences) and its Google Fonts import
  • styles/throwback.css → renamed styles/loch.css
  • notebooks/.marimo-config/retro-arcade.css → loch.css

Closes #50, closes #51, refs #54

Test plan

  • 11,846 tests pass
  • ruff lint + format clean
  • 5 notebooks run as scripts
  • marimo check passes
  • Visual review: verify services render correctly after restart
## Summary - Rename theme from "throwback" / "Tecmo Super Bowl" / "retro-arcade" → **loch** - Migrate all CSS variable prefixes: `--tb-` → `--ds-` - Replace Press Start 2P pixel font with IBM Plex Mono weight 600 for headings - Same hex colours, layout, and mood — zero visual regression ## Files changed (16) | Category | Files | |----------|-------| | CSS | `styles/{loch,inject,marimo,gitea,woodpecker,dashboard}.css`, `docs/src/css/custom.css`, `notebooks/.marimo-config/loch.css` | | Config | `compose.yml`, `traefik/dynamic/services.yml`, `notebooks/.marimo*.toml`, `notebooks/Dockerfile` | | Templates | `gitea/custom/templates/home.tmpl` | | Docs | `README.md` | ## What was removed - All references to: throwback, retro, arcade, Tecmo, Super Bowl, NES, vintage, 8-bit, pixel - Press Start 2P font (all ~50 occurrences) and its Google Fonts import - `styles/throwback.css` → renamed `styles/loch.css` - `notebooks/.marimo-config/retro-arcade.css` → `loch.css` Closes #50, closes #51, refs #54 ## Test plan - [x] 11,846 tests pass - [x] ruff lint + format clean - [x] 5 notebooks run as scripts - [x] marimo check passes - [ ] Visual review: verify services render correctly after restart
kert added this to the P11: Design System — WCAG, branding, marimo dashboard milestone 2026-03-21 18:28:04 +00:00
kert added 3 commits 2026-03-21 18:28:04 +00:00
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
33701365be
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
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
cfeb09eff4
- 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
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
5c088b50a8
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
kert merged commit 2c26bfa8d4 into main 2026-03-21 18:29:09 +00:00
Sign in to join this conversation.