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

Do not force downloading Montserrat font from google #97

Open
hraboviyvadim opened this issue Apr 8, 2023 · 0 comments
Open

Do not force downloading Montserrat font from google #97

hraboviyvadim opened this issue Apr 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@hraboviyvadim
Copy link
Contributor

As for now, if you insert ui.css into your project it will force browser to download font file from google CDN.
I think we should remove this because of 2 reasons:

  • if someone wants to use our UI-Kit with some other fonts in a project
  • this approach kills optimizations like next/fonts when you self-host fonts to get better performance and minimize layout shift.
@hraboviyvadim hraboviyvadim added the enhancement New feature or request label Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant