@esri/calcite-design-tokens
TypeScript icon, indicating that this package has built-in type declarations

2.1.2 • Public • Published

Calcite Design Tokens

Getting Started

Install the design tokens module.

npm install @esri/calcite-design-tokens

Reference tokens in your CSS:

@import "@esri/calcite-design-tokens/css/global";

:root {
  --my-custom-token: var(--calcite-color-brand);
}

Importing tokens

These are the published asset files generated by the token transformer:

Name CSS SCSS
Global @esri/calcite-design-tokens/css @esri/calcite-design-tokens/css/global @esri/calcite-design-tokens/scss @esri/calcite-design-tokens/scss/global
Calcite Light @esri/calcite-design-tokens/css/light @esri/calcite-design-tokens/scss/light
Calcite Dark @esri/calcite-design-tokens/css/dark @esri/calcite-design-tokens/scss/dark

Package Sidebar

Install

npm i @esri/calcite-design-tokens

Weekly Downloads

284

Version

2.1.2

License

none

Unpacked Size

1.78 MB

Total Files

28

Last publish

Collaborators

  • kit12303
  • jordantsanz
  • allieraney
  • robert.vo
  • noahmulfinger
  • ssylvia
  • paulcpederson
  • jgravois
  • patrickarlt
  • nixta
  • odoe
  • jwasilgeo
  • tomwayson
  • benstoltz
  • dbouwman
  • thollingshead
  • hhkaos
  • dpaddock
  • esri_dev
  • driskull
  • jamin415
  • katelynseitz
  • jpurusho
  • rlibed
  • mtschudi
  • ajturner
  • gavinr
  • kellyhutchins
  • mjuniper
  • john4818
  • pr3tori4n
  • gbrown-gis
  • haoliang
  • macandcheese
  • jcfranco
  • alan0002
  • richgwozdz
  • rweber.esri
  • vivzhang
  • juliannemarik
  • drspacemanphd