2.2.1 • Published 3 years ago

@component-driven/react-design-tokens v2.2.1

Weekly downloads
11
License
MIT
Repository
-
Last release
3 years ago

react-design-tokens

Build Status npm

React components to document design tokens in a styleguide.

Examples

Component-driven Design Systems Workshop Design System

import { Grid } from 'theme-ui'
import theme from './src/examples/cdds'
import { Colors, Spacing, Typography } from './src'

;<Grid gap={5}>
  <Colors theme={theme} />
  <Spacing theme={theme} />
  <Typography theme={theme} />
</Grid>

GitHub Primer Design System

import { Grid } from 'theme-ui'
import theme from './src/examples/primer'
import { Colors, Spacing, Typography } from './src'

;<Grid gap={5}>
  <Colors theme={theme} />
  <Spacing theme={theme} />
  <Typography theme={theme} />
</Grid>
2.2.1

3 years ago

2.1.1

3 years ago

2.1.0

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.1.5

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago