Change Primary Color (accent color) with CSS

When searching about different CSS with markdown ways to override some visual features on Streamlit; I came across using stApp element like this:

.stApp {
}</style>""", unsafe_allow_html=True)

I wonder if there is a variable to change the color of the accent/primary color (or equivalent) of the whole app(or each big part of it); I tried searching and testing out names but with no success. Does anyone here know if that is possible?

(my reasoning here is that when using markdown I can preserve the light/dark mode according to system settings; which is not possible when adding a theme on config.toml)

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