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

fix: continue if font family doesn't match in getFontDetails #88

Merged
merged 4 commits into from
Mar 21, 2024

Conversation

qwerzl
Copy link
Member

@qwerzl qwerzl commented Mar 21, 2024

Just a simple fix; this PR modifies getFontDetails so that it continues the loop instead of break if font family doesn't match because the input CSS might have font families other than the requested one. This fixes the "Could not produce font face declaration from adobe for font family Barlow Semi Condensed." error in the playground as I have multiple fonts in that kit.

@qwerzl qwerzl requested a review from danielroe March 21, 2024 07:41
@qwerzl qwerzl merged commit 705a5ad into nuxt:main Mar 21, 2024
1 check passed
@github-actions github-actions bot mentioned this pull request Mar 21, 2024
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

Successfully merging this pull request may close these issues.

2 participants