sass-vars-loader
sass-vars-loader copied to clipboard
SassError: Invalid CSS after "..., -apple-system": expected ":", was ", BlinkMacSystemFon"
trafficstars
trying to import a JSON file ,it works great except the strings are not quoted so if JSON has a property "typography": { "font-family": "Arial, -apple-content, BlinkMacSystemFont" } it gives an error as it gets imported without quotes and build fails.
I see there are some call backs I can send in options will that help in keeping the quotes of values returned ? if so can someone help me with an example pls.
Note: I cannot change to double quote the values.
Running into this issue as well. Not working with font families...
"fontFamilies": [
{
"fontFamily": "'Poppins', sans-serif",
"slug": "poppins",
"name": "Poppins (heading)"
}
],
}