jmontp commited on
Commit
c56bfa0
·
1 Parent(s): f3bca26

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

Files changed (1) hide show
  1. 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: rgba(255, 255, 255, 0.9);
107
  border-radius: 15px;
108
- box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
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
  }}