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

Load fonts #21

Open
DaBisounours opened this issue Aug 30, 2022 · 2 comments
Open

Load fonts #21

DaBisounours opened this issue Aug 30, 2022 · 2 comments

Comments

@DaBisounours
Copy link

Hello there, amazing work so far !
Is it possible to load fonts ? I managed to change fonts in my streamlit app, but the fonts are not loaded by the browser in the streamlit-option-menu iframe...
We could have a parameter such as the following:

stom.option_menu(
    ...,
    fonts=['<url of a font>', '<another font url>'],
)

Thanks in advance for your response !

@dev856
Copy link

dev856 commented Jul 17, 2023

Hello You can change fonts in config.toml file .
for e.g - font="sans serif"

@henry808
Copy link

henry808 commented Feb 4, 2024

I tried this solution, but was only able to use one of the three fonts built into streamlit, but the OP (and me) are trying to load in a custom font.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants