Skip to content

kaizenplatform/kaizen-ui-colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

775b25a · Jun 25, 2018

History

62 Commits
Jun 25, 2018
Oct 7, 2015
Jul 10, 2015
Jun 25, 2018
Aug 25, 2017
Aug 25, 2017
Jun 25, 2018
Sep 24, 2015
Dec 11, 2014
Oct 7, 2015
Oct 7, 2015
Aug 25, 2017
Jun 25, 2018
Aug 25, 2017

Repository files navigation

kaizen-ui-colors

Circle CI

Sass Variables for Kaizen Platform UI Colors

Preview

http://kaizenplatform.github.io/kaizen-ui-colors

Installation

Use from Compass Project

Gemfile

gem 'compass-kaizen-ui-colors', git: '[email protected]:kaizenplatform/kaizen-ui-colors.git'

In your SASS file

@import "kaizen-ui-colors"

Install with npm

npm install @kaizenplatform/kaizen-ui-colors

Development

Compile & show preview

npm run compile

Use JSON Data in Node.js

First, install with npm.

npm install @kaizenplatform/kaizen-ui-colors

Then, you can load the JSON data.

var json = require('kaizen-ui-colors');
import json from 'kaizen-ui-colors';

Use as TypeScript Library

kaizen-ui-colors/lib is an entry point which provides color schemas as TypeScript library.

colors

colors module is a typed color schema.

You can import it and use as below:

import { colors } from 'kaizen-ui-colors/lib';

const color: string = colors.lava_lighter__febebe; // `name_modifier__hex`