sass-vars-loader icon indicating copy to clipboard operation
sass-vars-loader copied to clipboard

SassError: Invalid CSS after "..., -apple-system": expected ":", was ", BlinkMacSystemFon"

Open VandanaAwasthi opened this issue 4 years ago • 1 comments
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.

VandanaAwasthi avatar Jun 04 '21 11:06 VandanaAwasthi

Running into this issue as well. Not working with font families...

            "fontFamilies": [
                {
                    "fontFamily": "'Poppins', sans-serif",
                    "slug": "poppins",
                    "name": "Poppins (heading)"
                }
            ],
       }

ayohdev avatar Jul 28 '22 18:07 ayohdev