feat(wp): FSE style variations + rewire toilville-fse front page for new blocks #23

Merged
peterswimm merged 1 commit from site/toilville-fse-blocks into main 2026-07-06 01:32:00 +00:00
Owner

Summary

FSE theme changes for the new toilville.com / spelwork.com homepages. The homepage sections ship as native Gutenberg blocks in the rituals-wp plugin (separate PR); this PR wires the toilville-fse theme to use them and adds the token-driven per-site style variations.

Phase 1 — token-driven FSE Style Variations

  • udg/generators/wp_theme.py generates styles/<product>.json from dist/<product>/tokens.dtcg.json via a per-product wp-style.json palette map
  • Wired into just build / just check (drift-gated)
  • Adds peterswimm, spelwork, tctd variations; retires the Prime FSE holdovers (lavender / pale-gray / sage / sky-blue)

Phase 2 — theme wiring for the new blocks

  • templates/front-page.html chains toilville/* blocks (hero, products, latest posts, testimonial, join-band) instead of the old cta-membership layout
  • parts/header.html: white background, dark nav
  • parts/footer-no-space.html: sub-brand pill row (Rituals · SPELWork · Pardner · ToilMail · Kurt PWA · TCTD)

Verification

  • just check green (dist drift, docs, WCAG, forgeblock, wp_theme all in sync)
  • pre-commit drift gate passed

Depends on the companion rituals-wp PR that registers the toilville/* blocks. Blocks render nothing if that plugin isn't active (graceful).

## Summary FSE theme changes for the new **toilville.com / spelwork.com** homepages. The homepage sections ship as native Gutenberg blocks in the `rituals-wp` plugin (separate PR); this PR wires the `toilville-fse` theme to use them and adds the token-driven per-site style variations. ### Phase 1 — token-driven FSE Style Variations - `udg/generators/wp_theme.py` generates `styles/<product>.json` from `dist/<product>/tokens.dtcg.json` via a per-product `wp-style.json` palette map - Wired into `just build` / `just check` (drift-gated) - Adds `peterswimm`, `spelwork`, `tctd` variations; retires the Prime FSE holdovers (lavender / pale-gray / sage / sky-blue) ### Phase 2 — theme wiring for the new blocks - `templates/front-page.html` chains `toilville/*` blocks (hero, products, latest posts, testimonial, join-band) instead of the old `cta-membership` layout - `parts/header.html`: white background, dark nav - `parts/footer-no-space.html`: sub-brand pill row (Rituals · SPELWork · Pardner · ToilMail · Kurt PWA · TCTD) ### Verification - `just check` green (dist drift, docs, WCAG, forgeblock, wp_theme all in sync) - pre-commit drift gate passed > Depends on the companion **rituals-wp** PR that registers the `toilville/*` blocks. Blocks render nothing if that plugin isn't active (graceful).
feat(wp): FSE style variations + rewire toilville-fse front page for new blocks
Some checks failed
Test Generator / lint-prose (pull_request) Failing after 18s
Test Generator / lint-workflows (pull_request) Successful in 22s
UDG dist drift gate / dist/ matches dtcg + udg sources (pull_request) Successful in 17s
Test Generator / test (pull_request) Successful in 3m29s
4d6e922f38
Phase 1 — token-driven FSE Style Variations:
- udg/generators/wp_theme.py generates styles/<product>.json from
  dist/<product>/tokens.dtcg.json via a per-product wp-style.json palette map
- wired into just build / just check (drift-gated)
- adds peterswimm, spelwork, tctd variations; retires the Prime FSE
  holdover variations (lavender/pale-gray/sage/sky-blue)

Phase 2 — theme wiring for the new homepage blocks (blocks ship in rituals-wp):
- front-page.html chains toilville/* blocks (hero, products, posts,
  testimonial, joinband) instead of the old cta-membership layout
- header.html: white background, dark nav
- footer-no-space.html: sub-brand pill row
peterswimm deleted branch site/toilville-fse-blocks 2026-07-06 01:32:02 +00:00
Sign in to join this conversation.
No description provided.