Spaces:
Running
Running
Update .streamlit/config.toml
Browse files- .streamlit/config.toml +18 -19
.streamlit/config.toml
CHANGED
@@ -9,17 +9,17 @@ backgroundColor = "#0F172A" # Deep Navy (AAA)
|
|
9 |
secondaryBackgroundColor = "#1E293B" # Contrast Layer (AA)
|
10 |
textColor = "#F8FAFC" # Snow White
|
11 |
|
12 |
-
# NOTE: The following
|
13 |
-
# dangerColor = "#EF4444" #
|
14 |
-
# successColor = "#10B981" #
|
15 |
|
16 |
# ===== Typography System =====
|
17 |
font = "sans serif"
|
18 |
|
19 |
-
# NOTE:
|
20 |
# fontMonospace = "Roboto Mono"
|
21 |
|
22 |
-
# NOTE: theme.componentStyles is
|
23 |
# [theme.componentStyles]
|
24 |
# button = """
|
25 |
# font-weight: 600;
|
@@ -50,8 +50,7 @@ maxMessageSize = 500 # MB
|
|
50 |
|
51 |
# [runner]
|
52 |
# magicEnabled = false
|
53 |
-
# NOTE:
|
54 |
-
# systemMetricsEnabled = true
|
55 |
|
56 |
# ===== Advanced Configuration =====
|
57 |
[browser]
|
@@ -61,26 +60,26 @@ serverAddress = "0.0.0.0"
|
|
61 |
# [client]
|
62 |
# caching = true
|
63 |
# showErrorDetails = false
|
64 |
-
# NOTE:
|
65 |
|
66 |
### Production Design Rationale ###
|
67 |
# 1. Color System:
|
68 |
-
# - Tailwind-inspired palette with medical
|
69 |
-
# -
|
70 |
-
# - Dark mode optimized for radiology workflows
|
71 |
#
|
72 |
# 2. Component Design:
|
73 |
-
# - Custom component styles commented out due to deprecation
|
74 |
-
# - Basic theming keys
|
75 |
#
|
76 |
# 3. Security:
|
77 |
-
# - XSRF protection enabled
|
78 |
-
# - Upload size restrictions
|
79 |
#
|
80 |
# 4. Performance:
|
81 |
-
# - Minimal
|
82 |
-
# -
|
83 |
#
|
84 |
# 5. Compliance:
|
85 |
-
# - HIPAA-friendly
|
86 |
-
# - Secure server binding
|
|
|
9 |
secondaryBackgroundColor = "#1E293B" # Contrast Layer (AA)
|
10 |
textColor = "#F8FAFC" # Snow White
|
11 |
|
12 |
+
# NOTE: The following keys are not recognized by newer Streamlit versions.
|
13 |
+
# dangerColor = "#EF4444" # Removed or deprecated
|
14 |
+
# successColor = "#10B981" # Removed or deprecated
|
15 |
|
16 |
# ===== Typography System =====
|
17 |
font = "sans serif"
|
18 |
|
19 |
+
# NOTE: 'fontMonospace' is not recognized in newer versions.
|
20 |
# fontMonospace = "Roboto Mono"
|
21 |
|
22 |
+
# NOTE: The [theme.componentStyles] section is deprecated in new Streamlit releases.
|
23 |
# [theme.componentStyles]
|
24 |
# button = """
|
25 |
# font-weight: 600;
|
|
|
50 |
|
51 |
# [runner]
|
52 |
# magicEnabled = false
|
53 |
+
# NOTE: 'systemMetricsEnabled' has been removed in recent Streamlit versions.
|
|
|
54 |
|
55 |
# ===== Advanced Configuration =====
|
56 |
[browser]
|
|
|
60 |
# [client]
|
61 |
# caching = true
|
62 |
# showErrorDetails = false
|
63 |
+
# NOTE: 'caching' is not recognized in later Streamlit versions; hence, it is commented out.
|
64 |
|
65 |
### Production Design Rationale ###
|
66 |
# 1. Color System:
|
67 |
+
# - Uses a Tailwind-inspired palette with high contrast suited for medical applications.
|
68 |
+
# - Older color overrides (dangerColor and successColor) have been removed to eliminate deprecation warnings.
|
69 |
+
# - Dark mode is optimized for radiology workflows.
|
70 |
#
|
71 |
# 2. Component Design:
|
72 |
+
# - Custom component styles have been commented out due to deprecation.
|
73 |
+
# - Basic theming keys (base, primaryColor, etc.) remain.
|
74 |
#
|
75 |
# 3. Security:
|
76 |
+
# - XSRF protection is enabled.
|
77 |
+
# - Upload size restrictions are enforced.
|
78 |
#
|
79 |
# 4. Performance:
|
80 |
+
# - Minimal configuration to reduce overhead.
|
81 |
+
# - Deprecated settings like magicEnabled and caching have been commented out.
|
82 |
#
|
83 |
# 5. Compliance:
|
84 |
+
# - HIPAA-friendly design with usage statistics disabled.
|
85 |
+
# - Secure server binding is ensured.
|