@sanity/color
v2.1.19 sanity color palette
@sanity/color
The Sanity color palette.
npm install @sanity/color
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.
npm i @sanity/[email protected]
Metadata
- MIT
- >=14.0.0
- Sanity.io
- released 11/23/2022
Downloads
Maintainers
josh_sanity_io, joneidejohnsen, nina.andal, rankers, snorreeb, mattcraig, vincentquigley, stipsan, michael-sanity, rubioz, tonina, ritasdias, simeonsanity, kmelve, bjoerge, rexxars, skogsmaskin, simenss, robinpyon, mariuslundgard, sanity-io, evenw, radhe_sanity, rbotten, vicbergquist, judofyr, obliadp, dcilke, fredcarlsen, jorn_georg, hermanw, svirs, mikolajsanity, sgulseth, atombender,