feat(theme): expose primary and secondary container slugs to WP presets #106

Merged
peterswimm merged 1 commit from feat/wp-container-presets into main 2026-09-09 21:31:51 +00:00
Owner

The toilville.com section bands (What we make, Who we are) use
brand.primary-container as their tint. The toilville-fse palette had no slug
for it, so a block wanting that colour had to hardcode the value.

Adds primary-container (#f7ebe7) and secondary-container (#fcf7e6),
both read from dist/toilville/tokens.dtcg.json — same provenance as the six
slugs added in #104.

Consumed by toilville_rituals#366, which migrates products-grid to the design.

just check green.

https://claude.ai/code/session_01Kbzfscp4w5enUrZxMnDt78

The toilville.com section bands (`What we make`, `Who we are`) use `brand.primary-container` as their tint. The `toilville-fse` palette had no slug for it, so a block wanting that colour had to hardcode the value. Adds `primary-container` (`#f7ebe7`) and `secondary-container` (`#fcf7e6`), both read from `dist/toilville/tokens.dtcg.json` — same provenance as the six slugs added in #104. Consumed by toilville_rituals#366, which migrates `products-grid` to the design. `just check` green. https://claude.ai/code/session_01Kbzfscp4w5enUrZxMnDt78
feat(theme): expose primary/secondary container slugs to WP presets
Some checks failed
PR policy check / policy-gate (pull_request) Failing after 1s
Security Scans / Gitleaks secret scan (pull_request) Successful in 1m6s
Security Scans / Trivy filesystem scan (pull_request) Successful in 1m6s
UDG dist drift gate / dist/ matches dtcg + udg sources (pull_request) Successful in 1m18s
Test Generator / lint-workflows (pull_request) Successful in 1m21s
Test Generator / lint-prose (pull_request) Successful in 1m22s
Test Generator / test (pull_request) Successful in 4m35s
14c227f4fd
The toilville.com section bands use brand.primary-container as their tint
(the "What we make" / "Who we are" bands). The toilville-fse palette had no
slug for it, so blocks had to hardcode the value.

Both slugs are read from dist/toilville/tokens.dtcg.json, same as the six
added in #104.

Claude-Session: https://claude.ai/code/session_01Kbzfscp4w5enUrZxMnDt78
peterswimm deleted branch feat/wp-container-presets 2026-09-09 21:31:51 +00:00
Sign in to join this conversation.
No description provided.