Answer the question
In order to leave comments, you need to log in
How to include json in sass?
Hello, tell me please.
There is json: {"color": "red"}
Which needs to be passed to .sass and then use color as a variable, for example:
@include 'config.json'
$color: get(color)
background: $color
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question