jhangmez commited on
Commit
04b6719
1 Parent(s): cb2b925

Se mejoraron estilos v8

Browse files
Files changed (1) hide show
  1. app.py +29 -14
app.py CHANGED
@@ -160,23 +160,38 @@ class SipanGPTTheme(Base):
160
  font_mono=font_mono,
161
  )
162
  self.set(
163
- body_background_fill="#333333",
164
- body_background_fill_dark="#333333",
165
- body_text_color="#ffffff",
166
- body_text_color_dark="#ffffff",
167
- color_accent_soft="*secondary_200",
168
- button_primary_background_fill="*primary_400",
169
  button_primary_background_fill_hover="*primary_500",
170
- button_primary_text_color="#333333",
171
- button_primary_text_color_dark="#333333",
172
  block_title_text_color="*primary_400",
173
  block_title_text_color_dark="*primary_400",
174
- input_background_fill="#444444",
175
- input_background_fill_dark="#444444",
176
- input_border_color="#555555",
177
- input_border_color_dark="#555555",
178
- input_placeholder_color="#888888",
179
- input_placeholder_color_dark="#888888",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
  )
181
 
182
  # Uso del tema
 
160
  font_mono=font_mono,
161
  )
162
  self.set(
163
+ body_background_fill="*neutral_900",
164
+ body_background_fill_dark="*neutral_950",
165
+ body_text_color="*neutral_50",
166
+ body_text_color_dark="*neutral_50",
167
+ color_accent_soft="*secondary_800",
168
+ button_primary_background_fill="*primary_600",
169
  button_primary_background_fill_hover="*primary_500",
170
+ button_primary_text_color="*neutral_950",
171
+ button_primary_text_color_dark="*neutral_950",
172
  block_title_text_color="*primary_400",
173
  block_title_text_color_dark="*primary_400",
174
+ input_background_fill="*neutral_800",
175
+ input_background_fill_dark="*neutral_850",
176
+ input_border_color="*neutral_700",
177
+ input_border_color_dark="*neutral_700",
178
+ input_placeholder_color="*neutral_500",
179
+ input_placeholder_color_dark="*neutral_400",
180
+ # Añadimos más personalizaciones para mejorar el aspecto general
181
+ block_background_fill="*neutral_850",
182
+ block_background_fill_dark="*neutral_900",
183
+ block_label_background_fill="*primary_900",
184
+ block_label_background_fill_dark="*primary_950",
185
+ block_label_text_color="*neutral_200",
186
+ block_label_text_color_dark="*neutral_100",
187
+ checkbox_background_color="*neutral_800",
188
+ checkbox_background_color_dark="*neutral_850",
189
+ checkbox_border_color="*primary_500",
190
+ checkbox_border_color_dark="*primary_600",
191
+ checkbox_check_color="*primary_400",
192
+ checkbox_check_color_dark="*primary_300",
193
+ slider_color="*primary_500",
194
+ slider_color_dark="*primary_400",
195
  )
196
 
197
  # Uso del tema