How to change the theme on a webpage made by streamlit and python?

Summary

I try to follow the tutorial on YouTube, which is to add a new folder called .streamlit and then create a new file called config.toml.
Link: Build a Website in only 12 minutes using Python & Streamlit - YouTube

Steps to reproduce

Code snippet:
[theme]

primaryColor = ‘#E694FF

backgroundColor = ‘#00172B

secondaryBackgroundColor = ‘#0083B8

textColor = ‘#FFFFFF

font = “sans serif”

Expected behavior:

I expect the theme will be changed automatically once the file is created.

Actual behavior:

However, the theme still remains the same.

Debug info

  • OS version:window10


Hi @Jason_Ade,

Have you restarted your app?

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