@fylgja/mq
v1.2.3
Published
The Fylgja MQ offers Design Tokens (CSS props) for consistent use of media queries
Downloads
274
Readme
Fylgja - MQ
The Fylgja MQ offers Design Tokens (CSS props) for consistent use of media queries.
Installation
npm install @fylgja/mq
Then include the component in to your code via;
@use "@fylgja/mq";
// Or via PostCSS and other options as plain CSS
@import "@fylgja/mq"; // *
* The PostCSS version is using the newer spec with
@custom-media
, and also requires the PostCSS Custom Media plugin to work, until Custom Media queries are better supported
How to use
For more information see the mq docs on the Fylgja.dev.