Skip to content

Commit

Permalink
Fix false positives for prefers-contrast in media-feature-name-no-unk…
Browse files Browse the repository at this point in the history
…nown (#5428)

* Added prefers-contrast media query

This is a new media query added to CSS Media Queries Level 5 to utilize the contrast preference operating systems provide.

Closes #5427
  • Loading branch information
danrichman committed Jul 28, 2021
1 parent 2fed08b commit 1e83790
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/reference/keywordSets.js
Expand Up @@ -608,6 +608,7 @@ keywordSets.mediaFeatureNames = uniteSets(keywordSets.deprecatedMediaFeatureName
'overflow-inline',
'pointer',
'prefers-color-scheme',
'prefers-contrast',
'prefers-reduced-motion',
'prefers-reduced-transparency',
'resolution',
Expand Down

0 comments on commit 1e83790

Please sign in to comment.