@taikai/design-tokens

0.0.1-beta.14 • Public • Published

Install

npm install @taikai/taikai-design-tokens

Use

Import tokens that you need:

import { 
  ColorBrandPrimary,
  SizeFontBase 
} from '@taikai/taikai-design-tokens/build/web/taikai/tokens';

Use them where you need them:

Inline

<div style={{ color: ColorBrandPrimary }}>awesome div</div>

Styled-Components

const AwesomeComponent = styled.div`
  color: ${ColorBrandPrimary};

CSS

div {
  color: ${ColorBrandPrimary};
}

/@taikai/design-tokens/

    Package Sidebar

    Install

    npm i @taikai/design-tokens

    Weekly Downloads

    1

    Version

    0.0.1-beta.14

    License

    none

    Unpacked Size

    12.5 kB

    Total Files

    11

    Last publish

    Collaborators

    • moshmage
    • vitor.silva
    • henriquemacedo
    • josemarshall
    • anderson_taikai
    • heldervasc