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

0.3.0 • Public • Published

@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';

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i @manifest-ui/tokens

    Weekly Downloads

    0

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    23.2 kB

    Total Files

    7

    Last publish

    Collaborators

    • yhbrandon
    • bclark-44