Spaces:
Running
Running
Fix glossary table dark-mode contrast (GitHub f22e747)
Browse files- hachimimt-local.zip +2 -2
- src/app.py +10 -5
hachimimt-local.zip
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:14595200248513ec2a2fa9fc503b21252e077aacb4162cb4a270c173fc9a00d4
|
| 3 |
+
size 136004
|
src/app.py
CHANGED
|
@@ -277,11 +277,16 @@ body.dark, .dark, gradio-app.dark {
|
|
| 277 |
--body-text-color-subdued: var(--muted) !important;
|
| 278 |
--block-label-text-color: var(--ink-soft) !important;
|
| 279 |
--block-title-text-color: var(--ink-soft) !important;
|
| 280 |
-
--input-background-fill: #fffdf7 !important;
|
| 281 |
-
--panel-background-fill: var(--card) !important;
|
| 282 |
-
--border-color-primary: var(--border) !important;
|
| 283 |
-
/*
|
| 284 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 285 |
--neutral-900: #2a2014 !important;
|
| 286 |
--neutral-800: #514537 !important;
|
| 287 |
--color-accent-soft: #efd9c9 !important;
|
|
|
|
| 277 |
--body-text-color-subdued: var(--muted) !important;
|
| 278 |
--block-label-text-color: var(--ink-soft) !important;
|
| 279 |
--block-title-text-color: var(--ink-soft) !important;
|
| 280 |
+
--input-background-fill: #fffdf7 !important;
|
| 281 |
+
--panel-background-fill: var(--card) !important;
|
| 282 |
+
--border-color-primary: var(--border) !important;
|
| 283 |
+
/* Dataframe có dark overrides riêng cho bảng, nằm ngoài nhóm background
|
| 284 |
+
chung ở trên. Thiếu ba biến này làm bảng đen dù app đã khoá light mode. */
|
| 285 |
+
--table-even-background-fill: var(--card) !important;
|
| 286 |
+
--table-odd-background-fill: var(--card-soft) !important;
|
| 287 |
+
--table-border-color: var(--border) !important;
|
| 288 |
+
/* nhóm neutral Gradio dùng cho nền/scale tối */
|
| 289 |
+
--neutral-950: var(--ink) !important;
|
| 290 |
--neutral-900: #2a2014 !important;
|
| 291 |
--neutral-800: #514537 !important;
|
| 292 |
--color-accent-soft: #efd9c9 !important;
|