0.0.0 • Published 2 years ago

react-native-super-styles v0.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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