gulp-ahex
1.0.0 • Public • Published gulp-ahex
Alpha hexadecimal gulp plugin
Installation
npm install -S gulp-ahex
npm
Usage
gulpfile.js
const gulp = require('gulp');
const ahex = require('gulp-ahex');
gulp.task('css', function(){
return gulp.src('./src/style.css')
.pipe(ahex())
.pipe(gulp.dest('./dist/'))
});
gulp.task('default', [ 'css' ]);
input file src/style.css
output file dist/style.css
body{
color: rgba(0, 255, 0, 0.47);
}
Go here for more documentation about writing ahex colors
Package Sidebar
Install
Weekly Downloads