nothing changes(one time i did get an error, “theme.primaryColor” is not defined.), plus when i go to the menu and then to settings i cannot see a theming option, do i need to enable something somewhere?
In your code of config.toml file, you have wrong type of quotes in the last line (sans serif). I have changed them to normal(“”) and was able to reproduce your theme.
i still get this error AssertionError: Key “theme.primaryColor” is not defined. I think it is something to do with the actual setup i have, am i meant to have lots of lines in my config.toml(ie. other sections) too?
Hi @Epicfaze44, could you check if you’re running Streamlit version 0.79? That error gets thrown when you try to define a config option that doesn’t exist, and I’m not sure how that could be happening aside from the case where you’re not upgraded to the most recent version.
@Alea4jacta6est: I’d double-check that something weird isn’t happening with your installation / virtual env since unfortunately I can’t think of a reason why you’d get that error while on 0.79. Does running streamlit config show include a [theme] section in its output? It would also be worth checking that streamlit version verifies that the installation is version 0.79.
@LucianoSiqueira: it’s not possible to use st.set_option to set the theme. Please see the API docs for a list of options that are configurable using that API.
I do have the same issue! I am using v0.79, I initialized the config.toml file streamlit config show > /.streamlit/config.toml, it works in the localhost. But same key-error in the share oven