Skip to content

plesiecki/postcss-colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostCSS Colors Build Status npm version Dependency Status

Make custom color palette with ease.

Installation

npm i postcss-colors -D

Usage

in

@colors palette {
    foo: white;
    bar: #000;
}
@colors {
    link-color: bar;
}
.baz {
    background-color: foo;
    color: link-color;
}

out

.baz {
    background-color: black;
    color: white;
}

About

PostCSS plugin for colors management

Resources

Stars

Watchers

Forks

Packages

No packages published