Skip to content

feat(ui): reskin entire site to Apple web design language (ADR-0022) - #20

Open
AnikaWilliams wants to merge 3 commits into
feat/plain-languagefrom
feat/apple-redesign
Open

AnikaWilliams wants to merge 3 commits into
feat/plain-languagefrom
feat/apple-redesign

Conversation

@AnikaWilliams

Copy link
Copy Markdown
Owner

What

Founder direction: rebuild the entire site in Apple's web design language. Comprehensive styling-only reskin — ADR-0022 supersedes ADR-0019 (Trust & Authority).

  • Foundation — Apple token set (label #1d1d1f, secondaryLabel #6e6e73, accent #0071e3, surface #f5f5f7, separator #d2d2d7), the SF system-font stack (EB Garamond + Lato retired → no web-font fetch, GDPR-friendly, slightly faster), generous whitespace, rounded cards, pill primary buttons. Tailwind config + global CSS + BaseLayout + Footer/Disclaimer/ConsentBanner restyled; reusable component recipes.
  • Pages — home, the corridor page + no-JS static guide, the plan island (intake, disclaimer modal, journey map, canton panel, task cards, momentum, sidebar), and legal/about/contact — all reskinned to the approved Apple-web mockups.
  • Accessibility — contrast lifted to AA (tertiaryLabel #6b6b70 5.30:1; placeholders → secondaryLabel 5.07:1), 44px hit targets, scalable type ramp (no hardcoded micro-px). Dark mode deferred (tokens dark-ready).

Styling only — trust architecture untouched

Zero content/copy/YAML/provenance/logic changes (git diff src/content is empty). Preserved: the "Verified against official sources" badge, every Source + last-verified line, the required disclaimer modal gate, the journey map, canton panel + office links, the "Sources & legal notes" fold, Impressum, and the route-not-covered + Russia-sanctions notices.

Verification

astro check 0 errors · build + provenance gate (15 pages) · 281/281 tests (route + plan-correctness tripwires hold) · apple-hig design-reviewer PASS (HIG + a11y, after a fix pass) · confirmed live with Playwright (home + plan screenshots reviewed).

Notes

  • This is a big visual change; it's not live (your gate). It's a restyle — the verified content, journey, canton, and disclaimer all behave as before.
  • A frontend-engineer (Fable) visual-fidelity pass is recommended when that model is available; implemented on Opus 4.8 per the documented fallback.

Stack & sequencing

Stacked on feat/plain-language. Merge order: #16 cantonal notes → #17 calmer-UI (lawyer hold) → #18 journey map → #19 plain language → this. develop → main is yours.

🤖 Generated with Claude Code

Founder direction: rebuild the whole site in Apple's web design language.
Comprehensive reskin (styling only) superseding ADR-0019's Trust & Authority
system.

- foundation: Apple token set (label #1d1d1f, secondaryLabel #6e6e73, accent
  #0071e3, surface #f5f5f7, separator #d2d2d7), SF SYSTEM-FONT stack (EB
  Garamond + Lato retired -> no web-font fetch), generous spacing, rounded
  cards, pill primary buttons; tailwind.config + global.css + BaseLayout +
  Footer/Disclaimer/ConsentBanner restyled. ADR-0022 records it.
- pages: home, corridor page + no-JS static guide, the plan island
  (CorridorApp.tsx: intake, disclaimer modal, journey map, canton panel, task
  cards, momentum, sidebar), and legal/about/contact all reskinned to match
  the approved Apple-web mockups.
- a11y: contrast lifted to AA (tertiaryLabel #6b6b70 5.30:1; placeholders ->
  secondaryLabel 5.07:1), 44px hit targets, scalable type ramp (no hardcoded
  micro-px). Dark mode deferred (tokens dark-ready).

Styling only: zero content/copy/YAML/provenance/logic changes. All trust UI
preserved (Verified badge, Source + last-verified lines, disclaimer modal
gate, journey map, canton panel, Sources & legal-notes fold, Impressum,
route-not-covered + Russia notices). Verified: astro check 0; build +
provenance gate (15 pages); 281/281 tests; apple-hig design-reviewer PASS;
confirmed live (Playwright).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@AnikaWilliams

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8b6c798dbf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/components/CorridorApp.tsx Outdated
<div
aria-hidden="true"
className="absolute inset-0 backdrop-blur-md"
style={{ backgroundColor: 'rgba(29, 29, 31, 0.48)' }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep the disclaimer scrim opaque without backdrop blur

When backdrop-filter is unsupported or disabled, this 48%-opaque scrim is the only visual barrier over the plan; dark plan text remains high-contrast and readable through it, contrary to this disclaimer gate's stated requirement. Retain an opaque-enough fallback background (such as the previous 70% scrim) and use blur only as an enhancement.

Useful? React with 👍 / 👎.

Restore the pre-redesign 70%-opaque scrim (rgba(29,29,31,0.70)) so the plan
beneath the disclaimer gate stays unreadable even when backdrop-filter is
unsupported or disabled. Blur remains as a progressive enhancement only.
@AnikaWilliams

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 22cd6d5b4e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/styles/global.css Outdated
--color-separator: #d2d2d7;

/* Feedback */
--color-success: #248a3d; /* systemGreen, darkened for AA text on white */

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Darken the success text token to meet AA

The new #248a3d success token has only about 4.40:1 contrast against white and roughly 4.0:1 against bg-surface, despite the comment claiming AA compliance. Normal-sized status text now uses this token, including “Completed,” “You're on the list,” and chapter milestone messages, so these states fail WCAG AA's 4.5:1 text requirement; use a darker success text value while retaining the current green as a fill if needed.

Useful? React with 👍 / 👎.

#1a7431 raises --color-success from 4.40:1 to 5.86:1 on white, 5.38:1 on
surface, 5.17:1 on brand-50 — clearing the 4.5:1 AA threshold in both text
directions (text-on-white and white-on-fill).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants