Skip to content

Marketing pages render their light palette on the dark page ground #953

Closed

Description

@thinkclay

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:

  1. Marketing stays light, always. Then the page ground must stop going dark on marketing routes — pin it to brand.surface there — 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.
  2. Marketing becomes dark-aware. Then marketing/theme.ts grows 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, /pricing and the other public routes
  • If (2): marketing/theme.ts carries 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

  1. added
    needs-design
    redesign
    on Oct 2, 2026
  2. thinkclay commented on Oct 2, 2026

    @thinkclay
    ContributorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrontendUXneeds-designpriority: mediumredesign

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions