0.1.0 • Published 2 years ago
react-native-whitedark-styles v0.1.0
react-native-whitedark-styles
styles of react native in short hands, might not give a good performance
created for lazy people by lazy whitedark
colors, spacing, border-radius, border-width are based on 'bootstrap-css 5.1.1' variables
Installation
npm install react-native-whitedark-styles
Usage
import s from "react-native-whitedark-styles";
// ...
<View style={[s.p2,s.flexCenter,s.bgSuccess]}>
<View style={[s.roundedSm,s.bPrimary,s.b1]}> // for border
<Text style={[s.textDark,s.title]}>
<TouchableOpacity style={[s.btn,s.bgPrimary]}>
<Text style={[s.alertDanger]}>Error!</Text>
import {COLORS} from 'react-native-whitedark-styles';
// ...
<Icon name={"home"} color={COLORS.primary} size={24}>
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library
0.1.0
2 years ago