sass-theme-json

2.0.1 • Public • Published

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

/sass-theme-json/

    Package Sidebar

    Install

    npm i sass-theme-json

    Weekly Downloads

    41

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    13.2 kB

    Total Files

    12

    Last publish

    Collaborators

    • andrei.zharau