Fix unsupported theme args and keep contrast CSS
Browse files- __pycache__/app.cpython-310.pyc +0 -0
- app.py +0 -19
__pycache__/app.cpython-310.pyc
CHANGED
|
Binary files a/__pycache__/app.cpython-310.pyc and b/__pycache__/app.cpython-310.pyc differ
|
|
|
app.py
CHANGED
|
@@ -171,25 +171,6 @@ THEME = gr.themes.Soft(
|
|
| 171 |
neutral_hue="slate",
|
| 172 |
font=["IBM Plex Sans", "ui-sans-serif", "system-ui", "sans-serif"],
|
| 173 |
font_mono=["IBM Plex Mono", "ui-monospace", "monospace"],
|
| 174 |
-
).set(
|
| 175 |
-
body_background_fill="#f4efe4",
|
| 176 |
-
body_text_color="#132128",
|
| 177 |
-
body_text_color_subdued="#56656e",
|
| 178 |
-
background_fill_primary="rgba(255,255,255,0.82)",
|
| 179 |
-
background_fill_secondary="#fbf7ef",
|
| 180 |
-
block_background_fill="rgba(255,255,255,0.82)",
|
| 181 |
-
block_border_color="#c8cfc7",
|
| 182 |
-
block_title_text_color="#132128",
|
| 183 |
-
input_background_fill="#fffdf7",
|
| 184 |
-
input_border_color="#9eb4aa",
|
| 185 |
-
input_placeholder_color="#6d7c83",
|
| 186 |
-
input_text_color="#132128",
|
| 187 |
-
button_primary_background_fill="#135a52",
|
| 188 |
-
button_primary_background_fill_hover="#0f4a44",
|
| 189 |
-
button_primary_text_color="#f7fbfa",
|
| 190 |
-
button_secondary_background_fill="#ecdfd3",
|
| 191 |
-
button_secondary_background_fill_hover="#e4d4c6",
|
| 192 |
-
button_secondary_text_color="#132128",
|
| 193 |
)
|
| 194 |
|
| 195 |
EXAMPLES = {
|
|
|
|
| 171 |
neutral_hue="slate",
|
| 172 |
font=["IBM Plex Sans", "ui-sans-serif", "system-ui", "sans-serif"],
|
| 173 |
font_mono=["IBM Plex Mono", "ui-monospace", "monospace"],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 174 |
)
|
| 175 |
|
| 176 |
EXAMPLES = {
|