Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -144,9 +144,7 @@ theme = gr.themes.Default(
|
|
| 144 |
block_title_text_color="*primary_400",
|
| 145 |
block_label_text_color="*neutral_300",
|
| 146 |
input_background_fill="*neutral_800",
|
| 147 |
-
input_border_color="*neutral_700"
|
| 148 |
-
input_border_width="1px",
|
| 149 |
-
input_text_color="*neutral_100",
|
| 150 |
)
|
| 151 |
|
| 152 |
# 🚀 UI Layout
|
|
@@ -193,6 +191,16 @@ with gr.Blocks(theme=theme, title="Enterprise SQL Assistant", css="""
|
|
| 193 |
padding: 10px;
|
| 194 |
background-color: #1e293b;
|
| 195 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 196 |
""") as demo:
|
| 197 |
gr.HTML("""
|
| 198 |
<div style="text-align: center; padding: 20px;">
|
|
|
|
| 144 |
block_title_text_color="*primary_400",
|
| 145 |
block_label_text_color="*neutral_300",
|
| 146 |
input_background_fill="*neutral_800",
|
| 147 |
+
input_border_color="*neutral_700"
|
|
|
|
|
|
|
| 148 |
)
|
| 149 |
|
| 150 |
# 🚀 UI Layout
|
|
|
|
| 191 |
padding: 10px;
|
| 192 |
background-color: #1e293b;
|
| 193 |
}
|
| 194 |
+
/* Fix input text color */
|
| 195 |
+
.gradio-container input[type="text"],
|
| 196 |
+
.gradio-container textarea {
|
| 197 |
+
color: #f3f4f6 !important;
|
| 198 |
+
}
|
| 199 |
+
/* Fix placeholder color */
|
| 200 |
+
.gradio-container input::placeholder,
|
| 201 |
+
.gradio-container textarea::placeholder {
|
| 202 |
+
color: #9ca3af !important;
|
| 203 |
+
}
|
| 204 |
""") as demo:
|
| 205 |
gr.HTML("""
|
| 206 |
<div style="text-align: center; padding: 20px;">
|