0.3.0 • Published 2 years ago

@manifest-ui/tokens v0.3.0

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

@manifest-ui/tokens

Design tokens for manifest-ui projects

Installation

yarn add @manifest-ui/tokens

Usage

Use the getToken function to return the token value.

import { getToken } from '@manifest-ui/tokens';

const backgroundColor = getToken('color-background-primary');

Raw Values

You can also access the raw token value, however, this is not recommended as these are subject to change.

import { COLOR_BACKGROUND_PRIMARY } from '@manifest-ui/tokens';
0.1.0

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.2.2

2 years ago

0.0.1

3 years ago

0.0.0

3 years ago