Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
VandanaAwasthi opened this issue Jun 4, 2021 · 1 comment

Comments

@VandanaAwasthi
Copy link

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.

@ayohdev
Copy link

ayohdev commented Jul 28, 2022

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants