Skip to content

Knovour/postcss-nippon-color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostCSS Nippon Color

PostCSS plugin for easily invoking the colors on the Nippon Colors.

Project rewrite from PostCSS Google Color.

Installation

# npm
npm install postcss-nippon-color -D

# yarn
yarn add postcss-nippon-color -D

Example

Example color

h1 {
  color: nippon-color(KUWAZOME);
}

h2 {
  color: nippon-color(); /* random */
}

will produce

h1 {
  color: #64363C;
}

h2 {
  color: #RANDOM_COLOR;
}

About

PostCSS plugin for easily invoking the colors on the Nippon Colors.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published