Re: [csswg-drafts] [css-color-adjust-1] more granular overriding of forced colors mode than per-element (#4178)

The CSS Working Group just discussed `[css-color-adjust-1] more granular overriding of forced colors mode than per-element`.

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: [css-color-adjust-1] more granular overriding of forced colors mode than per-element<br>
&lt;argyle> let's get this party started! woooooooOOOOOOOOOO<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/4178<br>
&lt;dael> TabAtkins: Had a bunch of discussions. In certain cases authors might want to override forced colors. Hopefully for useful purposes such as when forced colors removes nec/ distinctions.<br>
&lt;dael> TabAtkins: Lots of discussion in thread and talk on F2F.<br>
&lt;dael> TabAtkins: fremy came up with an idea I and fantasai like. If people use system colors already just don't adjust them.<br>
&lt;dael> TabAtkins: If people use own random brand colors we overwrite. If system colors used don't override even if forced color would use different system colors.<br>
&lt;dael> TabAtkins: That way people can work in palette of system color but direct how it looks when precision is necessary<br>
&lt;dael> TabAtkins: Color function also has a fallback mech if your color space is not loaded or out of gamut.<br>
&lt;dael> TabAtkins: Should consider all color spaces unloaded in forced colors. This let syou in non forced colors paint but auto say what fallback should be to system so you dn't have to design with system colors from the get go, but rely on them when necessary<br>
&lt;florian> I like it. Well done fremy.<br>
&lt;dael> TabAtkins: When doing forced color leave system colors as is regardless of system color. I think that solves it without all the complication in past<br>
&lt;dael> Rossen_: If I have a selector that's intending to change color of border-left to non-system and forced color MQ matches how would that work? @media forced-colors and match prefers-color-scheme:dark so I want to give left-border my dark blue color. how would it work?<br>
&lt;dael> TabAtkins: It would not.<br>
&lt;dael> Rossen_: That's the pirmary use case. That's why we went down !override path. If people are using system colors that's a no opt. If I said canvas fine. I can fix from a system but not my own.<br>
&lt;dael> TabAtkins: It's not a no op because you can choose a color that's not forced color. You can invoke marked color for example. But you can't choose arbitrary color<br>
&lt;dael> Rossen_: I think that's main motivational case<br>
&lt;dael> TabAtkins: It wasn't clear in thread arbitrary color was required. In that case let's shelve this because hte suggestion is not possible.<br>
&lt;fantasai> That was not in any of the examples that melanierichards raised<br>
&lt;dael> Rossen_: Sorry it wasn't clear in thread, example could be clearer. Fine to move on. Thank you for introducing it.<br>
&lt;dael> astearns: Let's make sure that example is encoded in a recent comment. We'll likely come back<br>
</details>


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

Received on Wednesday, 24 June 2020 16:10:12 UTC