Spaces:
Runtime error
Runtime error
Update the default light theme color set
Browse files
app.py
CHANGED
|
@@ -5,13 +5,13 @@ import streamlit as st
|
|
| 5 |
import fragments
|
| 6 |
|
| 7 |
if 'primaryColor' not in st.session_state:
|
| 8 |
-
st.session_state['primaryColor'] = st._config.get_option(f'theme.primaryColor') or "#
|
| 9 |
if 'backgroundColor' not in st.session_state:
|
| 10 |
-
st.session_state['backgroundColor'] = st._config.get_option(f'theme.backgroundColor') or "#
|
| 11 |
if 'secondaryBackgroundColor' not in st.session_state:
|
| 12 |
-
st.session_state['secondaryBackgroundColor'] = st._config.get_option(f'theme.secondaryBackgroundColor') or "#
|
| 13 |
if 'textColor' not in st.session_state:
|
| 14 |
-
st.session_state['textColor'] = st._config.get_option(f'theme.textColor') or "#
|
| 15 |
|
| 16 |
|
| 17 |
primary_color = st.color_picker('Primary color', key="primaryColor")
|
|
|
|
| 5 |
import fragments
|
| 6 |
|
| 7 |
if 'primaryColor' not in st.session_state:
|
| 8 |
+
st.session_state['primaryColor'] = st._config.get_option(f'theme.primaryColor') or "#ff4b4b"
|
| 9 |
if 'backgroundColor' not in st.session_state:
|
| 10 |
+
st.session_state['backgroundColor'] = st._config.get_option(f'theme.backgroundColor') or "#ffffff"
|
| 11 |
if 'secondaryBackgroundColor' not in st.session_state:
|
| 12 |
+
st.session_state['secondaryBackgroundColor'] = st._config.get_option(f'theme.secondaryBackgroundColor') or "#f0f2f6"
|
| 13 |
if 'textColor' not in st.session_state:
|
| 14 |
+
st.session_state['textColor'] = st._config.get_option(f'theme.textColor') or "#31333F"
|
| 15 |
|
| 16 |
|
| 17 |
primary_color = st.color_picker('Primary color', key="primaryColor")
|