Re: [csswg-drafts] [css-scrollbars-1] Remove light and dark keywords of scrollbar-color in favor of color-scheme (#6438)

The CSS Working Group just discussed `scrollbar-color: light/dark`, and agreed to the following:

* `RESOLVED: drop the light/dark keywords from scrollbar-color`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> topic: scrollbar-color: light/dark<br>
&lt;fantasai> github: https://github.com/w3c/csswg-drafts/issues/6438<br>
&lt;TabAtkins> fantasai: When we first added sc4rollbar-color we didn't have color-scheme<br>
&lt;TabAtkins> fantasai: So we had keywords for light/dark so authors could request those if they just wanted to match their theme<br>
&lt;TabAtkins> fantasai: Since then we've added color-scheme which does this on a broader scale, and in particular shoudl automatically change the scrollbar colors<br>
&lt;emilio> +1<br>
&lt;TabAtkins> fantasai: And nobody's implemented light/dark anyway<br>
&lt;lea> +1<br>
&lt;bmathwig> +1<br>
&lt;florian> +1<br>
&lt;TabAtkins> fantasai: So proposal is to just drop these values<br>
&lt;emilio> q+<br>
&lt;TabAtkins> +1<br>
&lt;tantek> +100<br>
&lt;astearns> ack emilio<br>
&lt;TabAtkins> emilio: We don't implement color-scheme, but we do have darkening of scrollbars vs the background color<br>
&lt;TabAtkins> emilio: So perhaps shouldn't specify it should follow the color scheme<br>
&lt;TabAtkins> emilio: We currently get away with auto-darkening scrollbars on pages that don't use color-scheme<br>
&lt;tantek> this is a good point, there may be a compat need to keep 'dark'<br>
&lt;TabAtkins> florian: default value of color-scheme is "auto" anyway, we can make sure there's some flexibility there<br>
&lt;TabAtkins> tantek, there's zero implementation of 'dark', so by definition no compat need<br>
&lt;TabAtkins> astearns: Objections?<br>
&lt;tantek> TabAtkins: huh, ok then I misunderstood emilio<br>
&lt;TabAtkins> RESOLVED: drop the light/dark keywords from scrollbar-color<br>
&lt;emilio> tantek: firefox does darken scrollbars of scrollers with dark backgrounds<br>
&lt;TabAtkins> emilio was concerned about the auto value *requiring* the scrollbar to go light/dark depending on 'color-scheme'<br>
&lt;tantek> emilio, got it. so this is allowing that flexibility in 'auto'<br>
&lt;emilio> tantek: (assuming scrollbar-color: auto ofc)<br>
&lt;emilio> tantek: right<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6438#issuecomment-880057510 using your GitHub account


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

Received on Wednesday, 14 July 2021 17:00:21 UTC