Re: [csswg-drafts] [css-forms-1] Styles for color input (#12142)

cc @weinig and @svgeesus it was mentioned during the call that I should ping and ask for a double check on whether the color-scheme property is needed in the above styles.

The logic for it is so that UAs don't change the background when forced dark mode (see [overriding color schemes](https://drafts.csswg.org/css-color-adjust/#color-scheme-override)) is enabled.

For a color input with a white chosen value I currently get the below rendering without setting it:

<img width="61" height="56" alt="Image" src="https://github.com/user-attachments/assets/ec21607f-02ca-44c2-9062-20e4bd31af5f" />

-- 
GitHub Notification of comment by lukewarlow
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12142#issuecomment-4091379069 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 19 March 2026 16:15:15 UTC