fela-sort-media-query-order
v10.8.2
Published
Fela enhancer to sort mediaQueryOrder in mobile-first mode
Downloads
5
Maintainers
Readme
fela-sort-media-query-order
Uses sort-css-media-queries to sort you mediaQueryOrder
following a mobile-first approach.
Installation
yarn add fela-sort-media-query-order-order
You may alternatively use npm i --save fela-sort-media-query-order
.
Usage
import { createRenderer } from 'fela'
import sortMediaQueryOrder from 'fela-sort-media-query-order'
const renderer = createRenderer({
enhancers: [ sortMediaQueryOrder() ]
})
License
Fela is licensed under the MIT License. Documentation is licensed under Creative Common License. Created with ♥ by @rofrischmann and all the great contributors.