templates: community page uses --oc-* names from the community kit + kit fonts (plan #158 Task 3) #161

Open
opened 2026-09-25 19:29:01 +00:00 by matou-build-agent · 0 comments

This was generated by AI during triage.

Slice of #158 (umbrella); design ruling DDR 0281 — cohesive Coa/IDSS branding. Mechanism & values ruled on #158 under ADR 0174 (veto anytime).

What

Community-facing surface. Rework templates/src/community-page.ts's inline
<style> (currently system-ui + 11 raw hex, community-page.ts:84) so every
colour is an --oc-* token fed from the community's compiled kit and text
wears the kit fonts (serif headings, mono body).

Interfaces

  • The template's :root sets --oc-accent/--oc-secondary/--oc-background/
    --oc-text-on-accent/… from the community's brand values already available to
    the renderer; the rest of the CSS references the tokens (no literals).
  • Fonts: --oc-font-serif/--oc-font-sans stacks (Merriweather/Roboto Mono with
    the fallbacks from the source). Bundle/link faces per the page's delivery model.

Acceptance

  • No raw brand hex in the template's chrome; community values flow through tokens.
  • Existing template tests green (make test); rendered-page screenshot in the PR.

out_of_scope

Email (Task 4); the phone preview (Task 5).

depends_on: #159

> *This was generated by AI during triage.* _Slice of #158 (umbrella); design ruling **DDR 0281** — cohesive Coa/IDSS branding. Mechanism & values ruled on #158 under ADR 0174 (veto anytime)._ ## What Community-facing surface. Rework `templates/src/community-page.ts`'s inline `<style>` (currently system-ui + 11 raw hex, `community-page.ts:84`) so every colour is an `--oc-*` token fed from **the community's compiled kit** and text wears the kit fonts (serif headings, mono body). ## Interfaces - The template's `:root` sets `--oc-accent`/`--oc-secondary`/`--oc-background`/ `--oc-text-on-accent`/… from the community's brand values already available to the renderer; the rest of the CSS references the tokens (no literals). - Fonts: `--oc-font-serif`/`--oc-font-sans` stacks (Merriweather/Roboto Mono with the fallbacks from the source). Bundle/link faces per the page's delivery model. ## Acceptance - No raw brand hex in the template's chrome; community values flow through tokens. - Existing template tests green (`make test`); rendered-page screenshot in the PR. ## out_of_scope Email (Task 4); the phone preview (Task 5). depends_on: #159
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/coa#161
No description provided.