@sanity/color
TypeScript icon, indicating that this package has built-in type declarations

3.0.6 • Public • Published

@sanity/color

The Sanity color palette.

npm install @sanity/color

npm version

Usage

import {black, hues, COLOR_HUES, COLOR_TINTS} from '@sanity/color'

console.log(black.title)
// "Black"
console.log(black.hex)
// "#101112"

console.log(hues.red['500'].title)
// "Red 500"
console.log(hues.red['500'].hex)
// "#f03e2f"

console.log(COLOR_HUES)
// ["gray", "blue", "purple", "magenta", "red", "orange", "yellow", "green", "cyan"]

console.log(COLOR_TINTS)
// ["50", "100", "200", "300", "400", "500", "600", "700", "800", "900", "950"]

License

MIT-licensed. See LICENSE.

Readme

Keywords

Package Sidebar

Install

npm i @sanity/color

Weekly Downloads

158,324

Version

3.0.6

License

MIT

Unpacked Size

171 kB

Total Files

40

Last publish

Collaborators

  • tiit.kass.saity
  • christianhg
  • joan_miralles_paez
  • jwoods-sanity
  • armandocerna
  • daniel.malmer
  • jordanl17
  • tambet
  • jtpetty
  • drewsanity
  • refiito
  • sergeisarviro
  • ash
  • indrek.karner
  • cngonzalez-sanity
  • rdunk
  • rneatherway-sanity
  • ricokahler
  • pedro-sanity
  • jonabc
  • kenjonespizza
  • pauloborgesf
  • binoy14
  • simen.svale
  • svirs
  • josh_sanity_io
  • joneidejohnsen
  • nina.andal
  • rankers
  • snorreeb
  • mattcraig
  • vincentquigley
  • stipsan
  • michael-sanity
  • rubioz
  • tonina
  • ritasdias
  • simeonsanity
  • kmelve
  • bjoerge
  • rexxars
  • skogsmaskin
  • robinpyon
  • mariuslundgard
  • sanity-io
  • evenw
  • radhe_sanity
  • rbotten
  • judofyr
  • obliadp
  • dcilke
  • fredcarlsen
  • hermanw
  • sgulseth
  • atombender