2.1.0 • Published 3 months ago

@croud-ui/tokens v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

@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