1.0.2 • Published 5 years ago
ios-colors v1.0.2
ios-colors
An iOS colors map accorded to Apple guidelines.
Installation
npm install ios-colors
Usage
React Native example:
import iosColors from 'ios-colors';
const styles = StyleSheet.create({
container: {
backgroundColor: iosColors.systemGray6.light,
color: iosColors.systemBlue.light,
},
});
Each color has .light
and .dark
modes, e.g.:
systemGray6.light // rgb(242, 242, 247)
systemGray6.dark // rgb(28, 28, 30)
Check all colors APIs in Apple color guidelines.