Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing font-family for entire app not intuitive #239

Open
gunnavar opened this issue Feb 12, 2024 · 0 comments
Open

Changing font-family for entire app not intuitive #239

gunnavar opened this issue Feb 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@gunnavar
Copy link

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?

@FabienArcellier FabienArcellier added the enhancement New feature or request label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants