Mehdi commited on
Commit ·
bb37799
1
Parent(s): 7810498
fix: override variables CSS Gradio pour forcer cards blanches
Browse files
app.py
CHANGED
|
@@ -78,7 +78,20 @@ CSS = """
|
|
| 78 |
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');
|
| 79 |
|
| 80 |
* { font-family: 'Nunito', sans-serif !important; }
|
| 81 |
-
:root {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
|
| 83 |
/* Fond beige Lumni */
|
| 84 |
body, .gradio-container { background: #FFF5D6 !important; }
|
|
|
|
| 78 |
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');
|
| 79 |
|
| 80 |
* { font-family: 'Nunito', sans-serif !important; }
|
| 81 |
+
:root {
|
| 82 |
+
color-scheme: light !important;
|
| 83 |
+
/* Override variables Gradio Soft */
|
| 84 |
+
--block-background-fill: #FFFFFF !important;
|
| 85 |
+
--panel-background-fill: #FFFFFF !important;
|
| 86 |
+
--background-fill-primary: #FFF5D6 !important;
|
| 87 |
+
--background-fill-secondary: #FFFFFF !important;
|
| 88 |
+
--input-background-fill: #FFFEF8 !important;
|
| 89 |
+
--block-border-color: #E8DFB8 !important;
|
| 90 |
+
--border-color-primary: #E8DFB8 !important;
|
| 91 |
+
--color-accent: #F96A0A !important;
|
| 92 |
+
--button-primary-background-fill: #F96A0A !important;
|
| 93 |
+
--button-secondary-background-fill: #3D3BD6 !important;
|
| 94 |
+
}
|
| 95 |
|
| 96 |
/* Fond beige Lumni */
|
| 97 |
body, .gradio-container { background: #FFF5D6 !important; }
|