Spaces:
Paused
Paused
icebear0828 Claude Opus 4.6 commited on
Commit ·
068f359
1
Parent(s): 984bd7e
refactor: use CSS-var-with-fallback for dark theme colors in web/
Browse filesAllows platform-specific dark color overrides (e.g. Windows Electron)
while keeping identical fallback values for web/ (no visual change).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- web/tailwind.config.ts +3 -3
web/tailwind.config.ts
CHANGED
|
@@ -9,9 +9,9 @@ export default {
|
|
| 9 |
primary: "rgb(var(--primary) / <alpha-value>)",
|
| 10 |
"primary-hover": "rgb(var(--primary-hover) / <alpha-value>)",
|
| 11 |
"bg-light": "#f6f8f6",
|
| 12 |
-
"bg-dark": "#0d1117",
|
| 13 |
-
"card-dark": "#161b22",
|
| 14 |
-
"border-dark": "#30363d",
|
| 15 |
"text-main": "#e6edf3",
|
| 16 |
"text-dim": "rgb(139 148 158 / <alpha-value>)",
|
| 17 |
},
|
|
|
|
| 9 |
primary: "rgb(var(--primary) / <alpha-value>)",
|
| 10 |
"primary-hover": "rgb(var(--primary-hover) / <alpha-value>)",
|
| 11 |
"bg-light": "#f6f8f6",
|
| 12 |
+
"bg-dark": "var(--bg-dark, #0d1117)",
|
| 13 |
+
"card-dark": "var(--card-dark, #161b22)",
|
| 14 |
+
"border-dark": "var(--border-dark, #30363d)",
|
| 15 |
"text-main": "#e6edf3",
|
| 16 |
"text-dim": "rgb(139 148 158 / <alpha-value>)",
|
| 17 |
},
|