mgbam commited on
Commit
7bf7ab6
·
verified ·
1 Parent(s): 47406a8

Update .streamlit/config.toml

Browse files
Files changed (1) hide show
  1. .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 two lines are NOT recognized by newer Streamlit versions:
13
- # dangerColor = "#EF4444" # (Removed or commented out)
14
- # successColor = "#10B981" # (Removed or commented out)
15
 
16
  # ===== Typography System =====
17
  font = "sans serif"
18
 
19
- # NOTE: Newer Streamlit versions typically do not recognize fontMonospace, so comment out:
20
  # fontMonospace = "Roboto Mono"
21
 
22
- # NOTE: theme.componentStyles is no longer valid in new Streamlit releases, so we remove or comment it out:
23
  # [theme.componentStyles]
24
  # button = """
25
  # font-weight: 600;
@@ -50,8 +50,7 @@ maxMessageSize = 500 # MB
50
 
51
  # [runner]
52
  # magicEnabled = false
53
- # NOTE: The following has been removed in newer Streamlit versions:
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: "caching" is not recognized in later Streamlit versions, so commented out.
65
 
66
  ### Production Design Rationale ###
67
  # 1. Color System:
68
- # - Tailwind-inspired palette with medical-grade contrast
69
- # - Removed older color overrides (dangerColor/successColor) to avoid deprecation warnings
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 remain (base, primaryColor, etc.)
75
  #
76
  # 3. Security:
77
- # - XSRF protection enabled
78
- # - Upload size restrictions
79
  #
80
  # 4. Performance:
81
- # - Minimal config overhead
82
- # - Some older settings (magicEnabled, caching) no longer recognized, hence commented
83
  #
84
  # 5. Compliance:
85
- # - HIPAA-friendly: usage stats disabled
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.