Spaces:
Runtime error
Runtime error
Update config.toml sample display
Browse files
app.py
CHANGED
|
@@ -58,12 +58,14 @@ with col3:
|
|
| 58 |
|
| 59 |
st.header("Config")
|
| 60 |
|
|
|
|
| 61 |
st.code(f"""
|
|
|
|
| 62 |
primaryColor="{primary_color}"
|
| 63 |
backgroundColor="{background_color}"
|
| 64 |
secondaryBackgroundColor="{secondary_background_color}"
|
| 65 |
textColor="{text_color}"
|
| 66 |
-
""")
|
| 67 |
|
| 68 |
|
| 69 |
apply_theme = st.checkbox("Apply theme to this page")
|
|
|
|
| 58 |
|
| 59 |
st.header("Config")
|
| 60 |
|
| 61 |
+
st.markdown("`.streamlit/config.toml`")
|
| 62 |
st.code(f"""
|
| 63 |
+
[theme]
|
| 64 |
primaryColor="{primary_color}"
|
| 65 |
backgroundColor="{background_color}"
|
| 66 |
secondaryBackgroundColor="{secondary_background_color}"
|
| 67 |
textColor="{text_color}"
|
| 68 |
+
""", language="toml")
|
| 69 |
|
| 70 |
|
| 71 |
apply_theme = st.checkbox("Apply theme to this page")
|