ios-colors

1.0.2 • Public • Published

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.

License

MIT

Package Sidebar

Install

npm i ios-colors

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

3.54 kB

Total Files

4

Last publish

Collaborators

  • artxty