0.5.21 • Published 2 years ago

@impact-x/tokens v0.5.21

Weekly downloads
63
License
MIT
Repository
-
Last release
2 years ago

@impact-x/tokens

Design tokens for products using Impact X design system.

Installation

All available tokens in one package

To install @impact-x/tokens in your project, run the following command using npm:

npm install -S @impact-x/tokens

If you prefer Yarn, use the following command instead:

yarn add @impact-x/tokens

Tokens as individual packages

You can also install each token as individual packages:

yarn add @impact-x/color
yarn add @impact-x/typography
yarn add @impact-x/space

All design token packages follow the naming convention: @impact-x/{token-name}. Please refer to the corresponding documentation page for more information.

Usage

Sass

In Sass, you can import and use all the design tokens available:

@import '~@impact-x/tokens';

div {
  color: $ix-color-purple;
}

JavaScript

For JavaScript, you can import and use this module:

import { ixColorAmethyst } from '@impact-x/tokens';

...

const theme = {
  primaryColor: ${ixColorAmethyst};
}`;

API documentation

https://tw-impact-x.thoughtworks-labs.net/#/Basics

0.5.21

2 years ago

0.5.18

3 years ago

0.5.19

2 years ago

0.5.16

3 years ago

0.5.17

3 years ago

0.5.14

3 years ago

0.5.15

3 years ago

0.5.20

2 years ago

0.5.13

3 years ago

0.5.12

5 years ago

0.5.11

5 years ago

0.5.10

5 years ago

0.5.9

5 years ago

0.5.8

5 years ago

0.5.7

5 years ago

0.5.5

5 years ago

0.5.4

5 years ago

0.5.3

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago