kitconcept / volto-light-theme

https://light-theme.kitconcept.io
11 stars 8 forks source link

Custom fonts should be loaded from it's own scss file #279

Closed ichim-david closed 10 months ago

ichim-david commented 10 months ago

If you want to use another set of fonts in another project typography and typo-custom forces you to load Iter and Metropolis whether you want to or not.

ichim-david commented 10 months ago

Added https://github.com/kitconcept/volto-light-theme/pull/280 pull request for fixing this hardcode.

@sneridagh A potential next step could be to avoid manually adding the fonts and instead use https://fontsource.org/fonts/inter/install https://fontsource.org/fonts/metropolis/install It would be great to not have to bundle a font at all and instead use npm package this way you can really say that if you want other fonts for cms or page you add your font dependencies and you reference in the variables.