Re: [csswg-drafts] [css-color-adjust] Allow authors do define custom `color-scheme` values. (#9660)

> Though in general, I am doubtful of the utility of this feature with CSS variables existing.

The major benefit of this is when it can be persisted in the Web Preferences API. If there are multiple schemes, but you have to wait for JS to query localStorage/etc to find out which scheme the user actually wants, you can have the unfortunate flash-of-wrongly-styled-content.

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


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

Received on Friday, 16 February 2024 00:22:19 UTC