Socket
Book a DemoInstallSign in
Socket

sass-theme-json

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sass-theme-json

Transform JSON into SASS

latest
Source
npmnpm
Version
2.0.1
Version published
Maintainers
1
Created
Source

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

Keywords

SASS

FAQs

Package last updated on 20 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts