Skip to content

The dark variant gives a light website hero near-black type on a dark ground #1100

Open

Description

@rubenvdlinde

A token set whose website hero is light with dark type gets an unreadable pair in its generated dark variant: the ground turns dark and the title and body colours are snapped to #111111.

Examples on development:

The generator prints "contrast repair could not reach 4.5:1 within the bounded search; snapped ... to #111111" for these. It looks as if the hero foregrounds are repaired against the light ground, or the repair picks the dark end for a ground that has itself gone dark.

No page shows it today, because the portal site loads no dark layer. It becomes visible the day it does.

Wanted: the hero title and body colours in the dark variant reach 4.5:1 against the dark hero ground, with a test over every set that names hero tokens.

Activity

  1. github-actions commented on Oct 5, 2026

    @github-actions
    Contributor

    Thank you for opening this issue! It has been assigned to @rubenvdlinde for review.

    What happens next:

    1. A maintainer will review this issue and determine the appropriate action
    2. If accepted, it may be converted into an OpenSpec change for structured development
    3. You will be notified of any status changes

    Triage labels:

    • triage:accept-feature — accepted as a new feature
    • triage:accept-bugfix — accepted as a bug fix
    • triage:needs-info — more information needed
    • triage:wontfix — will not be addressed
    • triage:duplicate — duplicate of another issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

triageAwaiting triage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions