Closed Diogomartf closed 1 year ago
Lookng at the code again, I'm pretty sure this is already done in the CarrotUIProvider
, which wraps all of Storybook previews. The IBM plex mono font is available through fontsource, while we might need to add an explicit import for Helvetica.
Done
Currently we are importing from @font-source the IBM Plex Mono font on frontend package and on the UI package. It might be better to only import it in one place.
The idea is to research this possibility and apply it to our codebase.
Some ideas from a conversation with Federico:
.storybook/preview.js
, I think we need to add font loadings somewhere there.