Spaces:
Runtime error
Runtime error
Fix dark theme background issue
Browse files- Replace hardcoded white background with dynamic theme colors
- Main content container now properly switches between light/dark themes
- Improved box shadow for better visibility in both themes
- shared_styling.py +2 -2
shared_styling.py
CHANGED
|
@@ -103,9 +103,9 @@ def get_base_css():
|
|
| 103 |
.main .block-container {{
|
| 104 |
padding-top: 2rem;
|
| 105 |
padding-bottom: 2rem;
|
| 106 |
-
background-color:
|
| 107 |
border-radius: 15px;
|
| 108 |
-
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.
|
| 109 |
margin-top: 1rem;
|
| 110 |
color: {get_current_colors()['text_primary']} !important;
|
| 111 |
}}
|
|
|
|
| 103 |
.main .block-container {{
|
| 104 |
padding-top: 2rem;
|
| 105 |
padding-bottom: 2rem;
|
| 106 |
+
background-color: {get_current_colors()['background']};
|
| 107 |
border-radius: 15px;
|
| 108 |
+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
|
| 109 |
margin-top: 1rem;
|
| 110 |
color: {get_current_colors()['text_primary']} !important;
|
| 111 |
}}
|