Describe the bug
Fira Sans is not loaded in the cases where it should be loaded in https://github.com/Dataport/polar/blob/next/src/core/utils/loadKern.ts#L41.
It is loaded if a default font family is explicitly set, but not loaded if it is undefined.
Expected behavior
Fira Sans is loaded if default font family is undefined.
If it is set explicitly to 'Fira Sans', we expect the environment to load the font.
Steps to reproduce
- Add a
console.log within the linked if statement
- Try snowbox with a theme that either defines a font that is Fira Sans or something else or does not define a font.
Screenshots
No response
Desktop
No response
Smartphone
No response
Additional context
No response
Describe the bug
Fira Sans is not loaded in the cases where it should be loaded in https://github.com/Dataport/polar/blob/next/src/core/utils/loadKern.ts#L41.
It is loaded if a default font family is explicitly set, but not loaded if it is undefined.
Expected behavior
Fira Sans is loaded if default font family is undefined.
If it is set explicitly to
'Fira Sans', we expect the environment to load the font.Steps to reproduce
console.logwithin the linkedifstatementScreenshots
No response
Desktop
No response
Smartphone
No response
Additional context
No response