Repository navigation
Description
With dark mode on, the public marketing pages render their own light palette on the app's dark page ground. The result is a white content column sitting on a near-black page.
Measured
Landing page at /, EXPO_PUBLIC_DARK_MODE=1, @preferred_theme=dark, data-theme=dark:
document.body rgb(22, 17, 13) colors.bg.dark.default — themed
sections (7 nodes) rgb(255, 255, 255) brand.surface — fixed
hero (4 nodes) rgb(3, 69, 80) brand.deep — fixed
wash panels (4 nodes) rgb(232, 246, 249) brand.tealWash — fixed
alt surfaces (3 nodes) rgb(249, 248, 246) brand.surfaceAlt — fixed
Everything but the page ground comes from packages/scf-core/features/marketing/theme.ts, which is a deliberate fixed palette — the file says so, and it is the one file pinned as an exception in the literal-styling ratchet (#819). It has no [theme] dimension, so it cannot follow dark.
This needs a decision, not just a fix
Two defensible answers and they lead to different work:
- Marketing stays light, always. Then the page ground must stop going dark on marketing routes — pin it to
brand.surfacethere — so there is no seam. Small change, keeps the brand palette intact, and marketing is a conversion surface where the brand look is the point. - Marketing becomes dark-aware. Then
marketing/theme.tsgrows a light/dark dimension and every surface, border and text colour in it needs a dark counterpart chosen against the WCAG notes already in that file. Much larger, and it is a design question about whether the marketing look survives inversion at all.
I would take (1) unless there is a reason to want dark marketing. The prototype is light-only, the brand palette carries its own contrast guarantees that were chosen against white, and nobody has asked for a dark landing page.
Acceptance
- A decision recorded on this issue
- If (1): with dark on, no marketing route shows the dark ground behind light content — verified by computed background colour on
/,/about,/pricingand the other public routes - If (2):
marketing/theme.tscarries both themes, and its WCAG notes are re-derived for the dark values rather than carried over
Note
Found while verifying #833 part 1 against the running app. Nothing is broken in production: dark is gated off until #840. But #840's acceptance is "every redesigned screen verified dark", and this decides whether the public pages are in that set.
Activity
thinkclay commentedon Oct 2, 2026
Decision (Clay, 2026-10-02): marketing stays light. Pin the ground.
Option 1 from the issue. The marketing palette is not getting a dark counterpart; instead the public routes must stop showing the dark page ground behind their light content, so there is no seam.
Implementing now.