json-to-scss icon indicating copy to clipboard operation
json-to-scss copied to clipboard

A small utility to convert JSON file(s) into SASS/SCSS files.

Results 9 json-to-scss issues
Sort by recently updated
recently updated
newest added

So, with the following JSON `input.json`: ```JSON { "foo": "bar", "baz": ["qux", "quux", "quuz"], "corge": { "grault": "garply", "waldo": "fred" } } ``` And running `json-to-scss input.json --kv`, you would...

Seems complex json from figma that already has declared variable in quotes breaks. Added to line 83 on jsValueToSassString.js `value = value.replace(/'/g, '').replace(/"/g, '');` to remove all quotes prior to...

Thanks for that useful tool! So surprised that there is not so much out there in area of importing JSON into Sass... The json-to-scss works great, but... I have a...

Hey there! Great library and thanks for the work. It would be nice to generate the root-level keys in the json or js file as variable names. Is there a...

Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. Changelog Sourced from y18n's changelog. Change Log All notable changes to this project will be documented in this file. See standard-version for commit guidelines....

dependencies

Hi, I'm looking for a way to have multiple scss maps in one json file instead of one big one. right now: json: ```json { "size-scale": { "300": "0.8rem", "500":...

hi,my program is in es6 not commonjs.i have a config like + app.config.ts ``` const APP_CONFIG = { MOCK: { port: "1000", apiPrefix: "/api", }, THEME: { scssVariable: { uni:...

I'm intending to generate a aa.scss from a.json and b.json. ![image](https://user-images.githubusercontent.com/79497075/220071838-0982d75b-c09b-47c1-82dc-6c98af8107c2.png)

linux command automatically expand (*) pattern, hence we need to check whether args._.[0] is already expanded or not.