Streamlit System Settings in Markdown before Running Code

I want to use the inbuilt system settings where you can manually select colours but I want them to be shown on running the code… I dont want to have to manually change it when the code is already running and the site is displayed. Same with light/dark mode as well.

Can someone provide the code to set it to these settings before the app is run?

Are you asking about theme settings?

So i created a config.toml file in the streamlit folder where i downloaded and put those changes, but nothing has changed?

Can you describe your full directory structure, or link to your repository? Are you running streamlit run ... in the same directory that has the .streamlit folder? Did you restart your streamlit server after changing your configuration?

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