Re: [csswg-drafts] [css-ui] Should interoperability be a goal for the `accent-color` spec? (#5480)

> if an author says accent-color: black white then they should get the same color background in all browsers. A.k.a. option A.

I do not agree with this. 

Suppose I am an implementor 10 years in the future, when skeuomorphism is popular again, and computer screens are typically the size of the top half of a large office wall (they stick to the wall like contact paper, and only cost 25ยข per square foot). So I design a "switch" control to be an actual photo of a late 20th Century light switch and switch plate, with a bit of a perspective angle. The overall shape is a vignette, so some yellow wallpaper with brown stripes shows around the outside of the switch plate. 

When the switch is in the up "on" position there is a blue non-rectangular shape over the actual switch part, with a screen ink effect, like there is a blue light emanating from it. A similar screened color effect picks up a bit of blue along two edges of the switch plate. When it's in the "off" position, the color is grayish red, while the wallpaper and switch plate are darker, like it's nighttime. 

I cannot change that blue to the accent color when one is provided, because it's not actually a background? I can only use it to, what? Put the accent color behind the photo? Even when the switch is off?



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


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

Received on Saturday, 3 October 2020 07:19:06 UTC