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

1.0.1 • Public • Published

@colobri-ui/tokens

npm package

Are all the values needed to construct and maintain a design system — spacing, color, typography, object styles, animation, etc.

1. installation

yarn add @colibri-ui/tokens

2. demonstration

import { FamilyTypeTokens, ColorsTypeTokens } from "@colibri-ui/tokens";

const fontFamily: FamilyTypeTokens = {
  default: "Open Sans",
  styles: {
    black: "Open Sans Black",
    bold: "Open Sans Medium",
  },
};

const colors: ColorsTypeTokens = {
  gray: {
    "100": "#fafafa",
  },
};

For better understanding, I recommend using @colibri-ui/theme that implements this library in practice.

Package Sidebar

Install

npm i @colibri-ui/tokens

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

59.3 kB

Total Files

38

Last publish

Collaborators

  • deeborges