Skip to content

Problems parsing fontFamily #116

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

Closed
m11m opened this issue Sep 16, 2019 · 1 comment
Closed

Problems parsing fontFamily #116

m11m opened this issue Sep 16, 2019 · 1 comment

Comments

@m11m
Copy link

m11m commented Sep 16, 2019

Error when parsing some from the following:

https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js#L222

Example:

fontFamily: {
      serif: [
        'Georgia',
        'Cambria',
        '"Times New Roman"',
        'Times',
        'serif',
      ]
}

Results in error:

error: bundling failed: Error: Failed to parse declaration "fontFamily: Georgia, Cambria, "Times New Roman", Times, serif"

@jacobp100
Copy link
Contributor

React native only supports one font family, so we don’t handle parsing more than that

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