prithivMLmods commited on
Commit
0995e8e
·
verified ·
1 Parent(s): 043fead

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -32
app.py CHANGED
@@ -58,10 +58,11 @@ class SteelBlueTheme(Soft):
58
  font=font,
59
  font_mono=font_mono,
60
  )
61
- # We remove the body_background_fill from here to let CSS handle it
62
  super().set(
63
  background_fill_primary="*primary_50",
64
  background_fill_primary_dark="*primary_900",
 
 
65
  button_primary_text_color="white",
66
  button_primary_text_color_hover="white",
67
  button_primary_background_fill="linear-gradient(90deg, *secondary_500, *secondary_600)",
@@ -88,37 +89,6 @@ css = """
88
  #output-title h2 {
89
  font-size: 2.1em !important;
90
  }
91
-
92
- /* --- Custom Background --- */
93
- body {
94
- width: 100%;
95
- height: 100%;
96
- --s: 6em;
97
- --d: 0.3em;
98
-
99
- /* Light Mode Colors */
100
- --bg: #EBF3F8; /* Light blue from theme */
101
- --fg: #A8CCE1; /* Darker blue from theme for dots */
102
-
103
- background-color: var(--bg) !important;
104
- background-image: radial-gradient(
105
- var(--d) var(--d) at 25% 25%,
106
- var(--fg) 100%,
107
- transparent 100%
108
- ),
109
- radial-gradient(
110
- var(--d) var(--d) at 75% 75%,
111
- var(--fg) 100%,
112
- transparent 100%
113
- ) !important;
114
- background-size: var(--s) calc(var(--s) * 0.577350269) !important;
115
- }
116
-
117
- /* Dark Mode Color Override */
118
- .dark body {
119
- --bg: #232228;
120
- --fg: rgb(90, 92, 102);
121
- }
122
  """
123
 
124
  # --- Fix for Dots.OCR Processor Loading ---
 
58
  font=font,
59
  font_mono=font_mono,
60
  )
 
61
  super().set(
62
  background_fill_primary="*primary_50",
63
  background_fill_primary_dark="*primary_900",
64
+ body_background_fill="linear-gradient(135deg, *primary_200, *primary_100)",
65
+ body_background_fill_dark="linear-gradient(135deg, *primary_900, *primary_800)",
66
  button_primary_text_color="white",
67
  button_primary_text_color_hover="white",
68
  button_primary_background_fill="linear-gradient(90deg, *secondary_500, *secondary_600)",
 
89
  #output-title h2 {
90
  font-size: 2.1em !important;
91
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  """
93
 
94
  # --- Fix for Dots.OCR Processor Loading ---