Skip to content
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

Should this API allow setting of custom values? #13

Open
lukewarlow opened this issue Sep 6, 2023 · 1 comment
Open

Should this API allow setting of custom values? #13

lukewarlow opened this issue Sep 6, 2023 · 1 comment

Comments

@lukewarlow
Copy link
Collaborator

Currently this API is limited to just allowing an override from pre-existing values. At least in the case of color-scheme it's possible that people may want to set a custom colour scheme.

Raised in: https://kilianvalkhof.com/2022/css-html/on-better-browsers-arbitrary-media-queries-and-browser-uis/#overwriting-known-media-queries

Would this be desirable?

How would these values get paired up to browser UA styles for stuff such as scrollbars and form inputs?

Potentially this would be a whole separate proposal on its own that this one could just allow you to set the value from?

@lukewarlow
Copy link
Collaborator Author

See #29 for some examples of sites that would benefit from at least custom colour schemes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant