Spaces:
Sleeping
Sleeping
Update .streamlit/config.toml
Browse files- .streamlit/config.toml +11 -11
.streamlit/config.toml
CHANGED
|
@@ -1,30 +1,30 @@
|
|
| 1 |
[client]
|
| 2 |
-
showSidebarNavigation = false #
|
| 3 |
|
| 4 |
[theme]
|
| 5 |
-
#
|
| 6 |
-
primaryColor = "#667eea"
|
| 7 |
-
linkColor = "#667eea"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
-
# --- AUTO DARK MODE SUPPORT ---
|
| 10 |
-
# I have commented these out so the app works in BOTH Light and Dark mode.
|
| 11 |
-
# If you uncomment them, it will force Light Mode (white background) permanently.
|
| 12 |
# backgroundColor = "#ffffff"
|
| 13 |
# secondaryBackgroundColor = "#f0f2f6"
|
| 14 |
# textColor = "#262730"
|
| 15 |
# codeTextColor = "#1e1e1e"
|
| 16 |
|
| 17 |
-
# ---
|
| 18 |
font = "sans-serif"
|
| 19 |
baseFontWeight = 400
|
| 20 |
headingFontWeights = [600, 600, 600, 600, 600, 600]
|
| 21 |
-
|
| 22 |
-
# --- YOUR UI STYLING ---
|
| 23 |
buttonRadius = "0.5rem"
|
| 24 |
|
| 25 |
[server]
|
| 26 |
headless = true
|
| 27 |
-
port = 8501
|
| 28 |
enableCORS = false
|
| 29 |
enableXsrfProtection = false
|
| 30 |
maxUploadSize = 200
|
|
|
|
| 1 |
[client]
|
| 2 |
+
showSidebarNavigation = false # Hides default sidebar (since we built a custom header)
|
| 3 |
|
| 4 |
[theme]
|
| 5 |
+
# Brand Color (Your Purple)
|
| 6 |
+
primaryColor = "#667eea"
|
| 7 |
+
linkColor = "#667eea"
|
| 8 |
+
|
| 9 |
+
# --- AUTO DARK MODE SETTINGS ---
|
| 10 |
+
# We COMMENT OUT these lines.
|
| 11 |
+
# This tells Streamlit: "Use system settings (Light/Dark) for background,
|
| 12 |
+
# but keep my Purple brand color for buttons."
|
| 13 |
|
|
|
|
|
|
|
|
|
|
| 14 |
# backgroundColor = "#ffffff"
|
| 15 |
# secondaryBackgroundColor = "#f0f2f6"
|
| 16 |
# textColor = "#262730"
|
| 17 |
# codeTextColor = "#1e1e1e"
|
| 18 |
|
| 19 |
+
# --- TYPOGRAPHY & UI ---
|
| 20 |
font = "sans-serif"
|
| 21 |
baseFontWeight = 400
|
| 22 |
headingFontWeights = [600, 600, 600, 600, 600, 600]
|
|
|
|
|
|
|
| 23 |
buttonRadius = "0.5rem"
|
| 24 |
|
| 25 |
[server]
|
| 26 |
headless = true
|
| 27 |
+
port = 8501
|
| 28 |
enableCORS = false
|
| 29 |
enableXsrfProtection = false
|
| 30 |
maxUploadSize = 200
|