|
129 | 129 | --sh-text: #1a1a1a; |
130 | 130 | --sh-heading: #111111; |
131 | 131 | --sh-subtext: #5a5a5a; |
132 | | - --sh-muted: #8a8a8a; |
| 132 | + /* #6b6b6b clears WCAG AA (4.5:1) on white, paper (#faf9f7), and warm |
| 133 | + paper (#f6f5f2); the prior #8a8a8a was ~3.3:1 and failed the a11y gate |
| 134 | + on every muted-text surface. */ |
| 135 | + --sh-muted: #6b6b6b; |
133 | 136 |
|
134 | 137 | /* ── Brand ───────────────────────────────────────────────────────── */ |
135 | 138 | --sh-brand: #2563eb; |
|
245 | 248 | --sh-footer-dark-bg: #0f172a; |
246 | 249 | --sh-footer-dark-text: #ffffff; |
247 | 250 | --sh-footer-dark-muted: rgba(255, 255, 255, 0.46); |
248 | | - --sh-footer-dark-copy: rgba(255, 255, 255, 0.25); |
| 251 | + /* 0.62 alpha over the #0f172a footer composites to ~4.7:1; the prior 0.25 |
| 252 | + rendered ~2.2:1 and failed AA for the footer copyright line. */ |
| 253 | + --sh-footer-dark-copy: rgba(255, 255, 255, 0.62); |
249 | 254 |
|
250 | 255 | /* ── Extended accent families ──────────────────────────────────── */ |
251 | 256 | --sh-neutral-soft-bg: #f1f5f9; |
|
411 | 416 | --sh-nav-accent: #a0a0a0; |
412 | 417 | --sh-nav-search-bg: #2a2a2a; |
413 | 418 | --sh-nav-search-border: #3a3a3a; |
414 | | - --sh-nav-search-text: #6b6b6b; |
| 419 | + --sh-nav-search-text: #a8a8a8; |
415 | 420 | --sh-nav-tab-active: #2563eb; |
416 | 421 | --sh-nav-badge-bg: #dc2626; |
417 | 422 |
|
|
605 | 610 | --sh-nav-accent: #a0a0a0; |
606 | 611 | --sh-nav-search-bg: #1c1c1c; |
607 | 612 | --sh-nav-search-border: #2a2a2a; |
608 | | - --sh-nav-search-text: #6b6b6b; |
| 613 | + --sh-nav-search-text: #a8a8a8; |
609 | 614 | --sh-nav-tab-active: #60a5fa; |
610 | 615 | --sh-nav-badge-bg: #dc2626; |
611 | 616 |
|
@@ -2822,7 +2827,9 @@ textarea.sh-input { |
2822 | 2827 | } |
2823 | 2828 |
|
2824 | 2829 | .home-footer-logo-text span { |
2825 | | - color: var(--sh-brand); |
| 2830 | + /* Brand blue (#2563eb) is only ~3.4:1 on the dark #0f172a footer; the |
| 2831 | + lighter brand-border blue clears AA while keeping the accent. */ |
| 2832 | + color: var(--sh-brand-border); |
2826 | 2833 | } |
2827 | 2834 |
|
2828 | 2835 | .home-footer-links { |
@@ -3134,7 +3141,9 @@ textarea.sh-input { |
3134 | 3141 | font-weight: 800; |
3135 | 3142 | letter-spacing: 0.08em; |
3136 | 3143 | text-transform: uppercase; |
3137 | | - color: var(--sh-slate-400); |
| 3144 | + /* slate-400 (#94a3b8) is ~2.6:1 on white — fails AA. Muted (#6b6b6b) |
| 3145 | + reads as a kicker label and clears 4.5:1. */ |
| 3146 | + color: var(--sh-muted); |
3138 | 3147 | margin-bottom: 12px; |
3139 | 3148 | } |
3140 | 3149 |
|
@@ -3711,7 +3720,8 @@ textarea.sh-input { |
3711 | 3720 | font-size: 10px; |
3712 | 3721 | font-weight: 600; |
3713 | 3722 | font-family: inherit; |
3714 | | - color: #94a3b8; |
| 3723 | + /* #94a3b8 on #f1f5f9 is ~2.3:1; slate-600 clears AA for the shortcut hint. */ |
| 3724 | + color: #475569; |
3715 | 3725 | background: #f1f5f9; |
3716 | 3726 | border: 1px solid #e2e8f0; |
3717 | 3727 | border-radius: 5px; |
|
0 commit comments