Organize multiple Fela Rules in StyleSheets.
A simple helper to organize multiple rules within one single StyleSheet as used e.g. in React Native or react-look.
npm i --save fela-stylesheet
Assuming you are using npm as your package manager you can just
Otherwise we also provide a UMD. You can easily use it via unpkg. It registers a
<!-- (Development) Unminified version -->
<!-- (Production) Minified version -->
Transforms a set of either style objects or rules into a set of valid rules.
styles (Object?): An object containing either plain style objects or valid rules.
(Object): An object containing only valid rules. It uses the same keys which were passed by
const rules =
const renderer =
Fela is licensed under the MIT License.
Documentation is licensed under Creative Common License.
Created with ♥ by @rofrischmann and all the great contributors.