Generate a Forgejo theme from UDG rituals tokens #42

Merged
peterswimm merged 1 commit from toilville/rituals-forge-theme into main 2026-07-16 17:15:03 +00:00
Owner

New UDG target that generates a Forgejo theme from the rituals tokens, keeping the whitelabeled forge (Toilville/forgejo) in lockstep with rituals-web / the macOS app.

  • udg/generators/forgejo.py — reuses extract.py's resolver; emits theme-rituals.css that @imports the Forgejo light/dark base and overrides only brand/surface/text vars (semantic status colors stay on the accessible base). The --color-primary ramp is derived via color-mix().
  • udg/products/rituals/forgejo.map.yml — Forgejo --color-* → UDG token map.
  • Wired into just build / just check (drift-gated like every target; the pre-commit dist gate passes).
  • Registered Federated_Code/forgejo as a forgejo-theme consumer in sync-manifest.yml.

Pairs with Toilville/forgejo PR #1.

New UDG target that generates a **Forgejo theme** from the rituals tokens, keeping the whitelabeled forge (Toilville/forgejo) in lockstep with rituals-web / the macOS app. - `udg/generators/forgejo.py` — reuses `extract.py`'s resolver; emits `theme-rituals.css` that `@import`s the Forgejo light/dark base and overrides only brand/surface/text vars (semantic status colors stay on the accessible base). The `--color-primary` ramp is derived via `color-mix()`. - `udg/products/rituals/forgejo.map.yml` — Forgejo `--color-*` → UDG token map. - Wired into `just build` / `just check` (drift-gated like every target; the pre-commit dist gate passes). - Registered `Federated_Code/forgejo` as a `forgejo-theme` consumer in `sync-manifest.yml`. Pairs with Toilville/forgejo PR #1.
feat(forgejo): generate a Forgejo theme from UDG rituals tokens
Some checks failed
Security Scans / Gitleaks secret scan (pull_request) Successful in 21s
Security Scans / Trivy filesystem scan (pull_request) Successful in 25s
Test Generator / lint-workflows (pull_request) Successful in 15s
Test Generator / lint-prose (pull_request) Successful in 14s
Test Generator / test (pull_request) Failing after 42s
UDG dist drift gate / dist/ matches dtcg + udg sources (pull_request) Failing after 10s
ee454cf640
New target that emits web_src/css/themes/theme-rituals.css for the whitelabeled
forge, keeping it in lockstep with rituals-web / the macOS app.

- udg/generators/forgejo.py: reuses extract.py's resolver; emits a theme that
  @imports the Forgejo light/dark base and overrides only brand/surface/text
  vars (semantic status colors stay on the accessible base). The --color-primary
  ramp is derived via color-mix().
- udg/products/rituals/forgejo.map.yml: Forgejo --color-* -> UDG token map.
- Wired into `just build` / `just check` (drift-gated like every target).
- Registered Federated_Code/forgejo as a forgejo-theme consumer in sync-manifest.
peterswimm deleted branch toilville/rituals-forge-theme 2026-07-16 17:15:03 +00:00
Sign in to join this conversation.
No description provided.