leafyGreen UI Kit Tokens
npm install @leafygreen-ui/tokens``shell`
pnpm add @leafygreen-ui/tokens
`shell`
yarn add @leafygreen-ui/tokens
`shell`
npm install @leafygreen-ui/tokens
`js
import { spacing, fontFamilies, breakpoints, transitionDuration } from '@leafygreen-ui/tokens';
const spacingExample = () => Hello World;
const fontFamiliesExample = () => Hello World;
const mq = facepaint(
breakpoints.map(bp => @media (min-width: ${bp}px)),``
{ literal: true },
);
const transitionDurationExample = Hello World;