@launchpad-ui/tokens
v0.12.1
Published
LaunchPad design tokens delivered as CSS custom properties, CommonJS modules, and ES modules.
Downloads
6,097
Readme
@launchpad-ui/tokens
Design tokens used to create experiences that express the LaunchDarkly brand.
Installation
$ yarn add @launchpad-ui/tokens
# or
$ npm install @launchpad-ui/tokens
Usage
CSS Custom Properties
@import '@launchpad-ui/tokens/dist/fonts.css';
@import '@launchpad-ui/tokens/dist/index.css';
@import '@launchpad-ui/tokens/dist/media-queries.css';
@import '@launchpad-ui/tokens/dist/themes.css';
ES Modules
import tokens from '@launchpad-ui/tokens';
CommonJS Modules
const tokens = require('@launchpad-ui/tokens');