-
Notifications
You must be signed in to change notification settings - Fork 657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-color-adjust] It's a bit unfortunate that user stylesheets can't specify arbitrary colors. #5779
Comments
If they're targetting a specific thing, user stylesheets can use |
The CSS Working Group just discussed
The full IRC log of that discussion<dael> Topic: [css-color-adjust] It's a bit unfortunate that user stylesheets can't specify arbitrary colors.<dael> github: https://github.com//issues/5779 <dael> emilio: I don't htink it's huge. Came up when reviewing changes to forced colors. It's a bit unfortunate user colors stop working <dael> emilio: I don't have a super great use case for user stylesheets spec arbitrary colors. I don't think it's huge but wanted to raise b/c it's weird. <Rossen_> q? <dael> fremy: I think we did consider it. You can spec any color and say forced color adjust none <dael> emilio: Yeah <dael> fremy: You want to do it anyway to disable backplate. You can say antying in stylesheet. <fantasai> or stick to the forced colors palette <dael> emilio: Would need to disable for everything but yeah. It's a different behavior. not a huge issue. Can disable forced-colors all together or change system colors to match what you want <dael> Rossen_: Doesn't sound like there's anything ot resolve <dael> emilio: Resolve no change <dael> Rossen_: Objections: <dael> RESOLVED: Close no change |
I don't think this is enough of an issue to revert the resolution of #4915, but I don't think it was discussed there so I wanted to raise it just in case there's any case we hadn't thought about.
One of the nice things of the
revert
-based forced-colors is that user and user-agent stylesheets worked as-is. We fixed UA stylesheets to use system colors where they weren't doing so, so that's covered, but user stylesheets won't be able to specify arbitrary colors anymore.I think most of the use cases that I could think of for having arbitrary colors in a user sheet if you're using forced-colors are either minor, covered by system colors, or spec issues (#5778).
But there are probably other use cases which I might have missed (I know lots of extensions inject user stylesheets, for example...), so I think it'd be worth a look from other WG/community members just in case.
The text was updated successfully, but these errors were encountered: