How to edit the config.toml file on Streamlit Sharing?

How to edit the config.toml file on Streamlit Sharing?

I want to add code for a custom theme and display it on the share.streamlit.io website.

Hi @prabodhw96 -

You should be able to add your own config.toml file to the top level of your directory at <git repo>/.streamlit/config.toml and have it work, you don’t need to edit the system-level file. I’ll check to make sure this is in our documentation, and if not, add it in.

Best,
Randy

Edit: Clarified my answer, talking about method #2 described in the documentation: Streamlit configuration — Streamlit 0.79.0 documentation

1 Like

You can see this in action at the following example repo:

Best,
Randy

1 Like