0.0.0 • Published 3 years ago

@zitrus/style v0.0.0

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

@zitrus/system

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/system');

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

3 years ago