You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have used streamsync the past week and really enjoy using the framework.
I wanted to change the font of the app, and tried creating a custom css-file in the static directory where I added font-family to the body style. This did not work, which surprised me since the font-family of my components were set to "inherit". It turned out that there were two divs higher up in the hierarchy from my component that had their font set to "Inter".
I was able to solve this by adding font-family to the .CoreRoot class in my custom css.
Perhaps it is possible to make font-family a setting to choose in the builder or update the documentation with a hint as to where one should change things to set the font?
The text was updated successfully, but these errors were encountered:
Hi, I have used streamsync the past week and really enjoy using the framework.
I wanted to change the font of the app, and tried creating a custom css-file in the static directory where I added font-family to the body style. This did not work, which surprised me since the font-family of my components were set to "inherit". It turned out that there were two divs higher up in the hierarchy from my component that had their font set to "Inter".
I was able to solve this by adding font-family to the .CoreRoot class in my custom css.
Perhaps it is possible to make font-family a setting to choose in the builder or update the documentation with a hint as to where one should change things to set the font?
The text was updated successfully, but these errors were encountered: