Skip to content

heavybeard/gulp-json-to-css-variables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-json-to-css-variables

Generate CSS Variables from a json file with Gulp

Installation

npm install --save-dev gulp-json-to-css-variables

or

yarn add --dev gulp-json-to-css-variables

Usage

const jsonToCssVariables = require('json-to-css-variables');

gulp.task('css-variables', () => gulp.src('example.json')
    .pipe(jsonToCssVariables())
    .pipe(gulp.dest('./dist'))
)

Thanks to

json-to-css-variables

About

Generate CSS Variables from a json file with Gulp

Resources

License

Stars

Watchers

Forks

Packages

No packages published