sass-theme-json
v2.0.1
Published
Transform JSON into SASS
Downloads
56
Readme
SASS theme from JSON
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 no longer maintained.
Installation
Requires Node v16 or above.
npm install sass-theme-json --save
Usage
sass-theme-json -i colors.json -o colors.scss -p '$colors: '
License
MIT