@croud-ui/tokens
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @croud-ui/tokens

Weekly Downloads

227

Version

2.1.0

License

MIT

Unpacked Size

53.7 kB

Total Files

9

Last publish

Collaborators

  • mitchreece
  • brockreece