Skip to content

Transform JSON into SASS. Share code between SASS and JS.

Notifications You must be signed in to change notification settings

natalan/sass-theme-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SASS theme from JSON

Build Status Greenkeeper badge

Transform JSON into SASS.

Use it to share theme colors stored in JSON between JS and SCSS files.

Inspired by json-sass module that is not longer maintained.

Installation

Requires Node v8 or above.

npm install sass-theme-json --save

Usage

sass-theme-json -i colors.json -o sass/colors.scss -p '$colors: ' 

License

MIT

Andrei Zharov

About

Transform JSON into SASS. Share code between SASS and JS.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •