Spaces:
Runtime error
Runtime error
Fix preview
Browse files
app.py
CHANGED
@@ -137,9 +137,9 @@ streamlit run app.py \\
|
|
137 |
""")
|
138 |
|
139 |
|
140 |
-
|
|
|
141 |
|
142 |
-
if apply_theme:
|
143 |
def reconcile_theme_config():
|
144 |
keys = ['primaryColor', 'backgroundColor', 'secondaryBackgroundColor', 'textColor']
|
145 |
has_changed = False
|
@@ -152,8 +152,6 @@ if apply_theme:
|
|
152 |
|
153 |
reconcile_theme_config()
|
154 |
|
155 |
-
|
156 |
-
|
157 |
-
fragments.sample_components("
|
158 |
-
with st.sidebar:
|
159 |
-
fragments.sample_components("sidebar")
|
|
|
137 |
""")
|
138 |
|
139 |
|
140 |
+
if st.checkbox("Apply theme to this page"):
|
141 |
+
st.info("Select 'Custom Theme' in the settings dialog to see the effect")
|
142 |
|
|
|
143 |
def reconcile_theme_config():
|
144 |
keys = ['primaryColor', 'backgroundColor', 'secondaryBackgroundColor', 'textColor']
|
145 |
has_changed = False
|
|
|
152 |
|
153 |
reconcile_theme_config()
|
154 |
|
155 |
+
fragments.sample_components("body")
|
156 |
+
with st.sidebar:
|
157 |
+
fragments.sample_components("sidebar")
|
|
|
|