Skip to content

kaizenplatform/kaizen-ui-colors

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: 'git@github.com: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`