Re: [csswg-drafts] [css-pseudo-4] system colors for ::search-text (#10329)

> * Matching pairs of system colors [must guarantee contrast](https://drafts.csswg.org/css-color-4/#css-system-colors)

One note on this: if a _user_ has chosen the system colors (think of Windows High Contrast Mode / Contrast Themes), then the user may have intentionally chosen _low_ contrast pairings (to reduce halation or being stuck working with a migraine).

As long as a user has an interface to select these colors (and Windows 11 Contrast Themes does not offer the granularity that prior versions did), then the _must_ statement should be about honoring the user choice versus ensuring a minimum contrast.

Since Windows 11 lets users choose `Highlight` and `HighlightText`, those might be your defaults for now (until Windows 11 provides users a way to set any new color keywords you propose).

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


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

Received on Saturday, 18 May 2024 12:57:35 UTC