0.2.0 • Published 5 years ago

bitly-tokens v0.2.0

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

Bitly Style Tokens

This repo contains all of Bitly's style tokens.

What are style tokens?

Style tokens (sometimes called design tokens) are low-level specifications for design decisions. They can be used to maintain consistency accross multiple platforms and applications. More info can be found here.

Installation

To install Bitly's style tokens via npm, run the following:

npm install bitly-tokens --save

Usage

Javascript

In Javascript, all tokens are available via the tokens object.

import tokens from "bitly-tokens";
console.log(tokens.color.blue.50);

SCSS

// Using variables
@import '~bitly-tokens/dist/scss/_variables';

CSS

// Custom properties
@import '~bitly-tokens/dist/css/_variables.css';
0.2.0

5 years ago

0.1.1-10

5 years ago

0.1.1-9

5 years ago

0.1.1-8

5 years ago

0.1.1-7

5 years ago

0.1.1-6

5 years ago

0.1.1-5

5 years ago

0.1.1-4

5 years ago

0.1.1-3

5 years ago

0.1.1-2

5 years ago

0.1.1-1

5 years ago

0.1.1-0

5 years ago

0.0.1

5 years ago

1.0.0

5 years ago