Commit 5fe1b79
committed
fix(a11y): fix 4 contrast failures in TerminalDemo
- .td-body: add explicit color #e8e8f0 to override inherited dark
VitePress text color on #0f0d1a background (was ~1.5:1, now n/a)
- .td-hints spans: rgba(255,255,255,0.22) → 0.55 (2.5:1 → 6.1:1 ✓)
- .td-replay-label: rgba(153,51,255,0.55) → #aa55ff (1.9:1 → 5.0:1 ✓)
- .td-mark: rgba(153,51,255,0.65) → #aa55ff (2.3:1 → 5.0:1 ✓)1 parent 7403cd6 commit 5fe1b79
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| 291 | + | |
| 292 | + | |
291 | 293 | | |
292 | 294 | | |
293 | 295 | | |
| |||
413 | 415 | | |
414 | 416 | | |
415 | 417 | | |
416 | | - | |
| 418 | + | |
| 419 | + | |
417 | 420 | | |
418 | 421 | | |
419 | 422 | | |
420 | 423 | | |
421 | | - | |
| 424 | + | |
| 425 | + | |
422 | 426 | | |
423 | 427 | | |
424 | 428 | | |
| |||
436 | 440 | | |
437 | 441 | | |
438 | 442 | | |
439 | | - | |
| 443 | + | |
| 444 | + | |
440 | 445 | | |
441 | 446 | | |
442 | 447 | | |
0 commit comments