Re: [csswg-drafts] Allow specifying the "accent color" of a form control element (#5187)

It seems somewhat unlikely to me that we'd want these two things to cascade separately, so we might not need the longhands at all.

Also, we don't necessarily need to do this, but we could allow not just `<color> <color>?` but rather `<color>+` (or `<color>#`), and allow any number of colors. Then, as we specify in greater detail how various types of widgets use the colors, as is being suggested, we clarify which color goes where, and if some widgets (like range?) can use more than 2, then the author can supply that. Anyway, I don't think we should rush into that, but having everything under a single property makes this path easy if we later want to take it, more so that adding an increasing number of properties.

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

Received on Saturday, 25 July 2020 06:16:47 UTC