Spaces:
Sleeping
Sleeping
Add a title
Browse files
app.py
CHANGED
@@ -40,6 +40,8 @@ if 'textColor' not in st.session_state:
|
|
40 |
st.session_state['textColor'] = st._config.get_option(f'theme.textColor') or default_color.textColor
|
41 |
|
42 |
|
|
|
|
|
43 |
def on_preset_color_selected():
|
44 |
_, color = preset_colors[st.session_state.preset_color]
|
45 |
st.session_state['primaryColor'] = color.primaryColor
|
|
|
40 |
st.session_state['textColor'] = st._config.get_option(f'theme.textColor') or default_color.textColor
|
41 |
|
42 |
|
43 |
+
st.title("Streamlit color theme editor")
|
44 |
+
|
45 |
def on_preset_color_selected():
|
46 |
_, color = preset_colors[st.session_state.preset_color]
|
47 |
st.session_state['primaryColor'] = color.primaryColor
|