You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Streamy module that transforms a JSON stream into scss syntax Sass.
4
4
5
-
json-sass converts JSON objects into Sass maps, which are supported in Ruby Sass 3.3 and libsass 2.0.
5
+
json2sass converts JSON objects into Sass maps, which are supported in Ruby Sass 3.3 and libsass 2.0.
6
6
7
7
```
8
-
npm install json-sass
8
+
npm install --save-dev json2sass
9
9
```
10
10
11
11
## Why?
12
12
13
-
So you can share values between your scripts and stylesheets without having to use something like [SassyJSON](https://github.com/HugoGiraudel/SassyJSON), which doesn't work with libsass.
13
+
Firstly, you can share values between your scripts and stylesheets without having to use something like [SassyJSON](https://github.com/HugoGiraudel/SassyJSON), which doesn't work with libsass.
14
+
This package it's not build from Scratch by me. But Thanks to [Andrew Clark](https://github.com/acdlite) .
15
+
But jsonSass package isn't maintained from last 5+ years. As we use this package with all the vernabilities , we thought we would fix the issues and make it better.
"description": "Transform JSON into scss syntax Sass.",
5
-
"main": "lib/jsonSass.js",
6
-
"bin": "lib/bin/json-sass",
2
+
"name": "json2scss-map",
3
+
"version": "1.0.0",
4
+
"description": "Covert JSON into scss map. Utility Tool for those who want there theme colors and font can be modified from json , but also use all the scss feature using scss varibles.",
0 commit comments