Re: [csswg-drafts] [css-color] Consider exposing native accent color as a system color keyword. (#7347)

Thanks @emilio, I [implemented a prototype](https://chromium-review.googlesource.com/c/chromium/src/+/3764721) and it seems like I have the same results as firefox, except for the color of the text. I copied the algorithm to choose white or black for AccentColorText from the algorithm from accent-color, and I figured that in a light color scheme we would prefer black text and in a dark color scheme we would prefer white text. What do you think?

<img width="1792" alt="Screen Shot 2022-07-19 at 10 49 55 PM" src="https://user-images.githubusercontent.com/7681467/179906798-d8329b90-ab47-4b37-a3e6-3164fff630f7.png">
<img width="1792" alt="Screen Shot 2022-07-19 at 10 48 45 PM" src="https://user-images.githubusercontent.com/7681467/179906823-939aa7af-8811-48eb-b276-8645196149e6.png">
<img width="1792" alt="Screen Shot 2022-07-19 at 10 47 40 PM" src="https://user-images.githubusercontent.com/7681467/179906840-91ba4bb4-a657-4381-bb84-1e8c64afd2c5.png">


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


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

Received on Wednesday, 20 July 2022 05:54:17 UTC