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

[Bug]: Latest fontsouce versions >5 does not work with variable fonts #57

Closed
jsve opened this issue Nov 3, 2023 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@jsve
Copy link

jsve commented Nov 3, 2023

Demo URL

https://github.com/fontsource/fontsource/blob/main/CHANGELOG.md#breaking-changes

What happened?

Hi,

This looks like a great project! However, when testing it out I had some issues setting it up following your guide. It turns out that the reason I was having issues is that since version 5 of fontsource, they have split variable fonts into their own packages.

Ideally this repo should be updated to handle variable fonts, but a quick fix would be to update the documentation with a warning and clear information in the example configs that version ^4 needs to be used.

Reproduction steps

1. Follow the setup guide for fontsource
2. use the template config with fontsource
3. get error messages as stated below

Relevant log output

`ENOENT: no such file or directory, open '@fontsource/cabin/variable-full.css'`

What browsers are you seeing the problem on?

No response

What is your operating system?

No response

@jsve jsve added the bug Something isn't working label Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant