'How to change the theme of streamlit?

I'm having trouble changing the theme of my webapp. I'm using the Visual Studio Code program to program and there, I opened a folder named .streamlit and inside it, a file named config.toml. I pasted the theme changes, but when I refreshed the page, they were not saved. What could have happened?

My theme:

[theme]
base="dark"
primaryColor="#fff700"

Print of Visual code: visualcode



Solution 1:[1]

Check on the Menu > Settings > Theme:

Custom Theme

There is a list of themes you can choose from:

Drop down

Choose the "Custom Theme" from it.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 vinzee