fela-sort-media-query-mobile-first
Uses sort-css-media-queries to sort you mediaQueryOrder
following a mobile-first approach.
Installation
yarn add fela-sort-media-query-mobile-first
You may alternatively use npm i --save fela-sort-media-query-mobile-first
.
Usage
import { createRenderer } from 'fela'
import sortMediaQueryMobileFirst from 'fela-sort-media-query-mobile-first'
const renderer = createRenderer({
enhancers: [sortMediaQueryMobileFirst()],
})
License
Fela is licensed under the MIT License.
Documentation is licensed under Creative Commons License.
Created with ♥ by @robinweser and all the great contributors.