react-native-super-styles
v0.0.0
Published
Custom StyleSheet that allows custom colors depending on active scheme
Downloads
4
Maintainers
Readme
react-native-super-styles
Custom StyleSheet that allows custom colors depending on active scheme
Installation
yarn add react-native-super-styles
Usage
import SuperStyleSheet,{ useSuperStyles } from "react-native-super-styles";
// ...
const styles = useSuperStyles(superStyles)
const superStyles = SuperStyleSheet.create(({Colors})=>{
text:{
color: Colors.primary
}
})
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT