Sina1138 commited on
Commit ·
575fa41
1
Parent(s): f79ada0
Remove forced light theme CSS overrides from Demo.py
Browse files- interface/Demo.py +0 -12
interface/Demo.py
CHANGED
|
@@ -1575,18 +1575,6 @@ def compute_rsa_in_background(rsa_state: Dict, current_focus: str):
|
|
| 1575 |
|
| 1576 |
|
| 1577 |
CUSTOM_CSS = """
|
| 1578 |
-
/* Force light theme — override dark mode from system/HF Spaces */
|
| 1579 |
-
:root, body, body.dark {
|
| 1580 |
-
--body-background-fill: white !important;
|
| 1581 |
-
--background-fill-primary: white !important;
|
| 1582 |
-
--background-fill-secondary: #f9fafb !important;
|
| 1583 |
-
--body-text-color: #1f2937 !important;
|
| 1584 |
-
--block-background-fill: white !important;
|
| 1585 |
-
--block-label-text-color: #374151 !important;
|
| 1586 |
-
--input-background-fill: white !important;
|
| 1587 |
-
--border-color-primary: #e5e7eb !important;
|
| 1588 |
-
color-scheme: light !important;
|
| 1589 |
-
}
|
| 1590 |
.review-section-header h3 {
|
| 1591 |
color: #1e40af;
|
| 1592 |
border-left: 4px solid #3b82f6;
|
|
|
|
| 1575 |
|
| 1576 |
|
| 1577 |
CUSTOM_CSS = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1578 |
.review-section-header h3 {
|
| 1579 |
color: #1e40af;
|
| 1580 |
border-left: 4px solid #3b82f6;
|