Skip to content

Commit

Permalink
✨ Add Media Queries Level 5
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed May 24, 2019
1 parent 1efdfd8 commit 6a4156c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[![NPM](https://nodei.co/npm/prefers-reduced-motion.png)](https://www.npmjs.com/package/prefers-reduced-motion)

Prefers reduced motion is a package that tells you whether a user prefers reduced motion. It's based on the CSS `@media (prefers-reduced-motion)`. It's around 700 bytes minified, 300 bytes gzipped.
Prefers reduced motion is a package that tells you whether a user prefers reduced motion. It's based on the CSS `@media (prefers-reduced-motion)`, which is part of [Media Queries Level 5](https://drafts.csswg.org/mediaqueries-5/). It's around 700 bytes minified, 300 bytes gzipped.

## ⭐ Usage

Expand Down Expand Up @@ -58,6 +58,17 @@ Compile Typescript to ES6 before publishing to NPM:
yarn build
```

## 📀 Media Queries Level 5

- `prefers-reduced-motion` · [GitHub](https://github.com/AnandChowdhary/prefers-reduced-motion) · [NPM](https://www.npmjs.com/package/prefers-reduced-motion)
- `prefers-color-scheme` · [GitHub](https://github.com/AnandChowdhary/prefers-color-scheme) · [NPM](https://www.npmjs.com/package/prefers-color-scheme)
- `prefers-contrast` · [GitHub](https://github.com/AnandChowdhary/prefers-contrast) · [NPM](https://www.npmjs.com/package/prefers-contrast)
- `prefers-reduced-transparency` · [GitHub](https://github.com/AnandChowdhary/prefers-reduced-transparency) · [NPM](https://www.npmjs.com/package/prefers-reduced-transparency)
- `inverted-colors` · [GitHub](https://github.com/AnandChowdhary/inverted-colors) · [NPM](https://www.npmjs.com/package/inverted-colors)
- `scripting` · [GitHub](https://github.com/AnandChowdhary/scripting) · [NPM](https://www.npmjs.com/package/scripting)
- `environment-blending` · [GitHub](https://github.com/AnandChowdhary/environment-blending) · [NPM](https://www.npmjs.com/package/environment-blending)
- `light-level` · [GitHub](https://github.com/AnandChowdhary/light-level) · [NPM](https://www.npmjs.com/package/light-level)

## 📝 License

MIT

0 comments on commit 6a4156c

Please sign in to comment.