Re: [csswg-drafts] [css-ui-4] Authors should have access to accent-color value to use in their code (#5900)

I did mean an accent color that updates according to the `accent-color` property. I'm not sure just exposing the system color would be that useful. 
Using a variable like `--accent-color` doesn't have the benefits of a common protocol that web components and native components share, it's a convention that the host page needs to know about and use, so it cannot be depended on. Furthermore, it needs to be initialized, whereas `accentColor` or whatever we call it would always have a reasonable value that fits nicely either with the page (if set by the author) or with the OS UI (if not set by the author).

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


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

Received on Thursday, 21 October 2021 10:50:11 UTC