1.0.0 • Published 6 years ago

postcss-sepia v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

PostCSS Sepia

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.