Change fonts in Hugo Scroll theme #193
Unanswered
Daniel-The-Fox
asked this question in
Q&A
Replies: 1 comment 3 replies
-
You would need to delete those fonts from your branch. Other than that, you could leverage assets processing, which should only copy files that are actually used - but this may get a bit tricky. Yes, fonts need some cleanup, there were some experiments and now we have unused leftovers. There's a ticket #71 for a font supporting wider set of characters, but no suitable font has been found yet. I think a good way to approach fonts would to use CSS variables like we use for customizing theme colors. Ideally users should be able to swap fonts without having to hard-fork the theme. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there, 👋🏻
I really like the Hugo Scroll theme, many thanks for sharing it! 😄
I noticed that three different fonts are being used throughout the theme.
What's the best approach in order to replace the theme's 3 default fonts by 2 fonts (1 for normal text, 1 for buttons & headlines)?
How can I avoid the
public/fonts
folder from containing fonts not used on the site?Many thanks in advance! 👍🏻 😃
Beta Was this translation helpful? Give feedback.
All reactions