postcss-sepia
v1.0.0
Published
A PostCSS plugin to get the sepia version of a color
Downloads
9
Maintainers
Readme
PostCSS Sepia
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.