@croud-ui/tokens
v2.1.0
Published
collection of formatted design tokens for use in crouds ui
Downloads
2,436
Readme
@croud-ui/tokens
A collection of formatted design tokens used to construct Croud control user interfaces.
Install
To reference these design tokens in your project, you will need to install the npm package by running the following command:
yarn add @croud-ui/tokens
Usage
As this package provides tokens in a number formats the way you import them for use depends on the language you are working in. See the examples below for all import options:
Javascript:
import tokens from "@croud-ui/tokens";
Sass (SCSS):
@use "@croud-ui/tokens/dist/tokens";
Stylus:
@require '~@croud-ui/tokens/dist/tokens'
License
Licensed under the MIT License