[csswg-drafts] Make `accent-color`accept foreground and background value (#11180)

Crissov has just created a new issue for https://github.com/w3c/csswg-drafts:

== Make `accent-color`accept foreground and background value ==
https://drafts.csswg.org/css-ui-4/#propdef-accent-color

Arguably, `color` should have been a shorthand property to set two longhand properites, i.e. `background-color` and a hypothetic `text-color` or `foreground-color` (reflected in the `currentcolor` dynamic value). (I thought this was recorded in the [list of mistakes](https://wiki.csswg.org/ideas/mistakes) but it is not.) Can we make `accent-color` accept a second, optional `<color>` value to override both, `AccentColor` (mostly background) and `AccentColorText` (foreground), from [System Colors](https://drafts.csswg.org/css-color/#css-system-colors)?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11180 using your GitHub account


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

Received on Tuesday, 12 November 2024 11:53:29 UTC