Custom fonts URL on fomantic #4578

Closed
opened 2025-11-02 05:55:13 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @lunny on GitHub (Dec 31, 2019).

Currently, fomantic will load fonts from https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic&subset=latin&display=swap. That should be configurable.

Originally created by @lunny on GitHub (Dec 31, 2019). Currently, fomantic will load fonts from https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic&subset=latin&display=swap. That should be configurable.
GiteaMirror added the type/enhancement label 2025-11-02 05:55:13 -06:00
Author
Owner

@bagasme commented on GitHub (Dec 31, 2019):

@lunny Can the config be stored @ app.ini?

@bagasme commented on GitHub (Dec 31, 2019): @lunny Can the config be stored @ `app.ini`?
Author
Owner

@silverwind commented on GitHub (Dec 31, 2019):

All assets should be served locally, with the only exception being Gravatar avatars (unfortunately).

@silverwind commented on GitHub (Dec 31, 2019): All assets should be served locally, with the only exception being Gravatar avatars (unfortunately).
Author
Owner

@lunny commented on GitHub (Jan 1, 2020):

I have sent a PR https://github.com/go-gitea/gitea/pull/9561 to use npm to build fomantic at first.

@lunny commented on GitHub (Jan 1, 2020): I have sent a PR https://github.com/go-gitea/gitea/pull/9561 to use npm to build fomantic at first.
Author
Owner

@bagasme commented on GitHub (Jan 1, 2020):

@lunny Why npm first?

@bagasme commented on GitHub (Jan 1, 2020): @lunny Why npm first?
Author
Owner

@lunny commented on GitHub (Jan 1, 2020):

@bagasme I have disabled google fonts on #9561. Because we used minified js/css of fomantic we should not change it. So we have to build fomantic from the source.

@lunny commented on GitHub (Jan 1, 2020): @bagasme I have disabled google fonts on #9561. Because we used minified js/css of fomantic we should not change it. So we have to build fomantic from the source.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4578