ios-palettes
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

iOS Palettes

Dictionaries for looking up the standard iOS system colors, both for Light and Dark themes in Normal and Vibrant mutations, plus a Gray palette of 6 grayscale colors..

Available colors

The colors available are:

  • blue
  • brown
  • gray
  • green
  • orange
  • pink
  • purple
  • red
  • yellow

and also gray shades 1-6

Usage

import iOSPalettes from 'ios-palettes';

and then use it in code

const buttonColor = iOSPalettes.Light.Normal.Green;

or

import { Light } from 'ios-palettes';

and respectively

const titleColor = Light.Gray[1];

Package Sidebar

Install

npm i ios-palettes

Weekly Downloads

3

Version

2.0.2

License

GPL-3.0

Unpacked Size

7.6 kB

Total Files

8

Last publish

Collaborators

  • balgamat