Spaces:
Runtime error
Runtime error
Se mejoraron estilos v8
Browse files
app.py
CHANGED
@@ -160,23 +160,38 @@ class SipanGPTTheme(Base):
|
|
160 |
font_mono=font_mono,
|
161 |
)
|
162 |
self.set(
|
163 |
-
body_background_fill="
|
164 |
-
body_background_fill_dark="
|
165 |
-
body_text_color="
|
166 |
-
body_text_color_dark="
|
167 |
-
color_accent_soft="*
|
168 |
-
button_primary_background_fill="*
|
169 |
button_primary_background_fill_hover="*primary_500",
|
170 |
-
button_primary_text_color="
|
171 |
-
button_primary_text_color_dark="
|
172 |
block_title_text_color="*primary_400",
|
173 |
block_title_text_color_dark="*primary_400",
|
174 |
-
input_background_fill="
|
175 |
-
input_background_fill_dark="
|
176 |
-
input_border_color="
|
177 |
-
input_border_color_dark="
|
178 |
-
input_placeholder_color="
|
179 |
-
input_placeholder_color_dark="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|