-
Notifications
You must be signed in to change notification settings - Fork 3
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
Explainer feedback #1
Comments
Thank you for taking the time to review this!
For background, one motivation for using a generic "user preferences" header was that the list of such preferences is growing. Now already we have
Any recommended prefix?
I saw it in the CSS Tricks article and was looking for an excuse to use it. If it's too tongue-in-cheek for a spec text, I'm more than happy to remove it.
It's mostly me trying to prove that I did my due diligence. Happy to remove.
Fully aware, this was just me trying to somehow convey that most users would probably want to use this in "critical" mode. Or does this not need stating?
I'd definitely ask you for a PTAL once I have refactored. Waiting for the answers to my questions raised now before I tackle this. Thanks (in advance) for your offer to help and the review! |
|
It's fine to leave it in :)
It doesn't need stating, but can be, certainly in the explainer. You could clarify it by saying that developers are likely to use this as a critical hint. |
@yoavweiss, PTAL at the updated spec draft and the updated Explainer. I think this closes the present Issue. @beaufortfrancois, since you have expressed interest in implementing this (thanks!!!), I also invite you to take a look. |
Hey @tomayac! Thanks for working on this! This seems like an important feature that would enable sites to optimize their CSS without jarring user-visible effects.
A few comments in no particular order:
prefers-color-scheme
andprefers-reduced-motion
to 2 separate headers. That enable independent variance of these 2 values (from aVary
header perspective), and would match the decision we made with other Client Hints.I suspect the first point will trigger a bunch of other changes to both explainer and spec. Happy to review if helpful! :)
The text was updated successfully, but these errors were encountered: