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

fix(accidental-hover): match shorthand media features #17

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

robintown
Copy link
Contributor

@robintown robintown commented Sep 23, 2023

📒 Description

Media Queries Level 4 provides a shorthand syntax for boolean media features such as (hover: hover) - you can omit the feature value and write it simply as (hover).

🚀 Changes

  • Match shorthand media features

🔐 Closes

Nothing

⛳️ Testing

  • Verified that tests pass with npm run test

Media Queries Level 4
(https://drafts.csswg.org/mediaqueries-4/#mq-features) provides a
shorthand syntax for boolean media features such as (hover: hover) -
you can omit the feature value and write it simply as (hover).
@robintown robintown changed the title fix(accidental-hover): support shorthand media features fix(accidental-hover): match shorthand media features Sep 23, 2023
@yuschick
Copy link
Owner

yuschick commented Sep 24, 2023

Thanks so much for this PR. This is a nice addition. I'll get this merged in a deployed this week. 👍

@yuschick yuschick merged commit 04ccdba into yuschick:main Sep 28, 2023
1 check passed
@yuschick
Copy link
Owner

This has been released in v0.9.1.

Thanks again for the contribution! I really appreciate the support 🔥

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

Successfully merging this pull request may close these issues.

2 participants