Commit f1eac86
committed
Use direct color values with !important to override external CSS
The previous approach relied on CSS variables that were being overridden by
the external client.css file. Now using hard-coded color values applied
directly to elements with !important to ensure they take precedence.
Changes:
- Apply colors directly to html, body, and * selectors (not via variables)
- Use !important to override any conflicting external CSS rules
- Dark mode default: white text (#f5f9ff) on dark bg (#0a0e1f)
- Light mode: dark text (#0a0e1f) on light bg (#e7f4f5)
- Keep CSS variables for backward compatibility with external CSS
This ensures text is visible regardless of external CSS load timing.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 0d69d7a commit f1eac86
1 file changed
+27
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 29 | + | |
38 | 30 | | |
39 | 31 | | |
40 | 32 | | |
41 | 33 | | |
42 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
43 | 56 | | |
44 | 57 | | |
45 | 58 | | |
46 | | - | |
47 | | - | |
| 59 | + | |
48 | 60 | | |
49 | 61 | | |
50 | 62 | | |
51 | 63 | | |
| 64 | + | |
52 | 65 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 66 | + | |
57 | 67 | | |
58 | | - | |
59 | | - | |
60 | 68 | | |
61 | | - | |
62 | | - | |
63 | 69 | | |
64 | 70 | | |
65 | 71 | | |
| |||
0 commit comments