@igloo-ui/tokens
v2.1.0
Published
Igloo tokens are all the values needed to construct and maintain a design system — spacing, color, fonts, opacity, etc..
Downloads
141
Readme
@igloo-ui/tokens
Igloo tokens are all the values needed to construct and maintain a design system — spacing, color, fonts, opacity, etc..
Getting started
To install @igloo-ui/tokens in your project, you will need to run the following command using npm:
npm install @igloo-ui/tokens
If you prefer Yarn, use the following command instead:
yarn add @igloo-ui/tokens
Usage
Sass
In Sass, you can import the files by doing:
@import '@igloo-ui/tokens/dist/_variables.scss';
CSS
In CSS, you can import the files by doing:
@import '@igloo-ui/tokens/dist/variables.css';
Fonts
You can also do it via CSS Import:
@import '@igloo-ui/tokens/dist/fonts.css';
License
Copyright © 2019, GSoft inc. This code is licensed under the Apache License, Version 2.0. You may obtain a copy of this license at https://github.com/gsoft-inc/gsoft-license/blob/master/LICENSE.