Hello,
I am trying to add a custom font to my theme but it doesn’t work… I certainly did something wrong but I can’t find where.
- I am developing my own theme that I installed via github.
- In the assets repository, I uploaded my fonts that are not Google fonts :
- In the about.json, I imported the files :

- In my scss repository, I created my font families :

I tried to add : format(‘woff2’) but it doesn’t work neither.
- And then :

Well, it does not work… Any idea ?
6 posts - 4 participants
This is a companion discussion topic for the original entry at https://meta.discourse.org/t/add-a-custom-font-to-my-theme-via-the-assets-repository/260784
