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

/postcss-color-shorthand/

    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