Skip to content

Load Fonts From jsDelivr #740

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

SukkaW
Copy link
Contributor

@SukkaW SukkaW commented Mar 24, 2025

Follows #732. Now all Google Fonts' references are replaced with jsDelivr.

@MartinKolarik
Copy link
Member

I wonder if it wouldn't be better to use the variable fonts via our special endpoint instead (see https://fontsource.org/fonts/lexend/cdn). The CSS could be inlined, and the single font file is smaller than 3 separate ones. Is there a specific reason you chose the static files?

@SukkaW
Copy link
Contributor Author

SukkaW commented Apr 1, 2025

Is there a specific reason you chose the static files?

Hmmmm, not exactly. The static fonts were chosen because it is easier to migrate to. Lemme see what I can do!

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