I have created a config.toml file in my streamlit project. Whenever I run my python file, the theme from the toml file doesnāt change in my app. Iām using pycharm as an IDE.
Steps to reproduce
My pycharm file list looks like this. Did I create the config.toml file correctly?
My config.toml file look like this.
How can I make sure that my python app uses the toml file?
Did you explicitely set the theme to āCustom themeā in the hamburger menu? Sometimes it doesnāt work by simply placing the .toml file in the .streamlit folder.
I find this very confusing as well. Would be better if the app itself could enforce to use the custom theme if available through st.set_page_config.
Where are you running streamlit config show from? If you are running it from inside the app folder, then it wonāt pick up on the .streamlit folder, and so will ignore the config.toml file. If you are running it from the top level folder it should recognize and use the config file.