Skip to content

Repository files navigation

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

Andrei Zharov

About

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

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages