0.0.0 • Published 3 years ago

@zitrus/tokens v0.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

@zitrus/tokens

The package of the tokens system of the Zitrus design system.

Getting started

Follow this steps for a propertly usage. Make sure to run yarn bootstrap within the root of the monorepository.

# Build the tokens for a publish
yarn build

# Build the tokens in watch mode for development
yarn build:watch

Usage

To use the package inside your project, follow this example inside a tailwind config:

const system = require('@zitrus/tokens');

module.exports = {
  ...
  theme: {
    extend: {
      colors: system.colors,
      spacing: system.spacing,
    },
  },
  ...
}