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

Deprecate "no-preference" in favor of defaulting to "light" #1

Closed
rishabh-ink opened this issue Aug 5, 2021 · 0 comments · Fixed by #4
Closed

Deprecate "no-preference" in favor of defaulting to "light" #1

rishabh-ink opened this issue Aug 5, 2021 · 0 comments · Fixed by #4
Labels
good first issue Good for newcomers

Comments

@rishabh-ink
Copy link
Collaborator

rishabh-ink commented Aug 5, 2021

Background

As mentioned in Detecting the desire for light or dark color schemes: the prefers-color-scheme feature spec,

This feature, like the other prefers-* features, previously had a no-preference value to indicate an author not expressing an active preference. However, user agents converged on expressing the "default" behavior as a light preference, and never matching no-preference.
If a future user agent wishes to expose a difference between "no preference" and "really wants a light display", please contact the CSSWG to discuss this.

Goal

Since the "no-preference" value is being replaced by "light" as default, let’s remove it from colorSchemes.js.

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

Successfully merging a pull request may close this issue.

1 participant