postcss-color-shorthand

1.0.0 • Public • Published

PostCSS Color Shorthand PostCSS

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i postcss-color-shorthand

Weekly Downloads

2

Version

1.0.0

License

CC0-1.0

Unpacked Size

17.2 kB

Total Files

8

Last publish

Collaborators

  • limitlessloop