Problem with using config.toml

Hi :slight_smile:,

Currently, I’m using Streamlit locally, and I’m encountering some difficulties with my config.toml file.

I have my “.streamlit” folder at the root of my project, and inside it, my config file contains the following:

[theme]
base = “light”
primaryColor = “#12bbef

However, my app doesn’t seem to apply the theme even after rebooting the app.

I don’t see where I’ve made mistakes :sweat_smile:

Hi @TheValll

In your local instance, by rebooting the app, do you mean refreshing the app in the browser or shutting down the current instance of the app that is running in the terminal then running it again via streamlit run app.py? If the former does not work, perhaps the latter would.

Also just to be sure is the file named .streamlit/config.toml?

Hi @dataprofessor

I did both, refresh via the browser and restart my app via the terminal with streamlit run myfile.py and my file is like that :
image

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.