site: map Tailwind theme to var(--oc-*), replace chrome hex, drop Fraunces (plan #158 Task 2) #160

Open
opened 2026-09-25 19:28:53 +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

Builder chrome. Point site/tailwind.config.ts colours at the vendored CSS vars
and replace raw chrome hex with tokens; retire Fraunces for the kit fonts.

Interfaces

  • tailwind.config.ts: theme.colors.accent = 'var(--oc-accent)', secondary = 'var(--oc-secondary)', background = 'var(--oc-background)', ink/ink-soft →
    var(--oc-ink)/var(--oc-ink-soft), etc. Keep old names (teal,gold,sand)
    only as documented aliases onto the same vars during migration.
  • fontFamily: replace fraunces with the kit serif/sans stacks; remove the
    @fontsource/fraunces import in main.tsx.
  • Replace chrome hex in the component files (Landing.tsx, phone chrome parts, etc.).

Scope guard (from the #158 ruling)

Do not touch community-data hex: form/useBrandTheme.ts fallbacks and
components/phone/theme.ts carry the community's own colours (Task 5), and test
fixtures exercising HEX_RE stay as-is.

Acceptance

  • No raw brand hex remains in site/src components (a grep-style test is a
    good probe); community-data + tests excluded.
  • make test + make e2e; side-by-side screenshots vs the matching IDSS
    surface
    in the PR (DDR 0281 acceptance).

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 Builder chrome. Point `site/tailwind.config.ts` colours at the vendored CSS vars and replace raw **chrome** hex with tokens; retire Fraunces for the kit fonts. ## Interfaces - `tailwind.config.ts`: `theme.colors.accent = 'var(--oc-accent)'`, `secondary = 'var(--oc-secondary)'`, `background = 'var(--oc-background)'`, ink/ink-soft → `var(--oc-ink)`/`var(--oc-ink-soft)`, etc. Keep old names (`teal`,`gold`,`sand`) only as **documented aliases** onto the same vars during migration. - `fontFamily`: replace `fraunces` with the kit serif/sans stacks; remove the `@fontsource/fraunces` import in `main.tsx`. - Replace chrome hex in the component files (Landing.tsx, phone chrome parts, etc.). ## Scope guard (from the #158 ruling) Do **not** touch community-*data* hex: `form/useBrandTheme.ts` fallbacks and `components/phone/theme.ts` carry the community's own colours (Task 5), and test fixtures exercising `HEX_RE` stay as-is. ## Acceptance - No raw brand hex remains in `site/src` **components** (a grep-style test is a good probe); community-data + tests excluded. - `make test` + `make e2e`; **side-by-side screenshots vs the matching IDSS surface** in the PR (DDR 0281 acceptance). 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#160
No description provided.