1.0.0 • Published 6 years ago

postcss-color-shorthand v1.0.0

Weekly downloads
2
License
CC0-1.0
Repository
github
Last release
6 years ago

PostCSS Color Shorthand

NPM Version Build Status Support Chat

A PostCSS plugin which allows you to define all color properties in one go.

.example {
  color: white red blue;
}

Outputs:

.example {
  color: white;
  background-color: red;
  border-color: blue;
}

Setup

Add it to your project:

npm install postcss-color-shorthand --save-dev