Commit 32c62d6
fix: Improve text contrast on dark gradient backgrounds
Fixed contrast issues where headings appeared black on dark blue/purple
gradient backgrounds, making them difficult to read.
Changes to app/globals.css:
- Added CSS rules to force white color for h1-h6 on gradient backgrounds
- Headings in .gradient-primary now display white text
- Headings in .gradient-accent now display white text
- Headings in .text-white sections now display white text
- Headings in .bg-primary sections now display white text
- Headings in .bg-accent sections now display white text
- Added .dark-bg utility class for easy dark background styling
Impact:
- CTA section with gradient-primary background now has white headings
- Any section with text-white class now has proper white headings
- Improved accessibility and readability on all dark backgrounds
- Better WCAG contrast compliance
Build verified successful with all 23 routes generated.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 168cd0e commit 32c62d6
1 file changed
+49
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
107 | 141 | | |
108 | 142 | | |
109 | 143 | | |
| |||
157 | 191 | | |
158 | 192 | | |
159 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
160 | 209 | | |
161 | 210 | | |
162 | 211 | | |
| |||
0 commit comments