postcss-sepia

1.0.0 • Public • Published

PostCSS Sepia PostCSS Logo

NPM Version Build Status BGitter Chat

A PostCSS plugin to get the sepia version of a color

Installation

npm install postcss-sepia

Examples

/* input */
div { color: sepia(#34bbed) }
/* output */
div { color: #d1ba91 }

Usage

Postcss JS API

postcss([require('postcss-sepia')]).process(yourCSS);

Gulp

const gulp = require('gulp');
const postcss = require('gulp-postcss');
const sepia = require('postcss-sepia');
gulp.task('css', () => {
    gulp.src('path/to/dev/css')
        .pipe(postcss([
            sepia()
        ]))
        .pipe(gulp.dest('path/to/build/css'));
});

Tests

npm test

License

This project is licensed under the MIT License.

Package Sidebar

Install

npm i postcss-sepia

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

5.16 kB

Total Files

8

Last publish

Collaborators

  • arpadhegedus