Create ui_enhancements.py
Browse files- ui_enhancements.py +22 -0
ui_enhancements.py
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
def custom_css():
|
| 2 |
+
return """
|
| 3 |
+
body {
|
| 4 |
+
background-color: #0f172a;
|
| 5 |
+
color: white;
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
.gr-button {
|
| 9 |
+
background: linear-gradient(90deg, #2563eb, #7c3aed);
|
| 10 |
+
color: white !important;
|
| 11 |
+
border-radius: 8px !important;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
textarea {
|
| 15 |
+
background-color: #1e293b !important;
|
| 16 |
+
color: white !important;
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
.gr-tab-nav {
|
| 20 |
+
background-color: #111827 !important;
|
| 21 |
+
}
|
| 22 |
+
"""
|