fix(tradein): контраст AA follow-up — --muted на тинтах, rating, sold-delta (#834)

QA re-axe (full-page после #837) нашёл 12 нод сверх #838. Доделано:
- --muted oklch(50%)≈#6b7280 (3.96 на тонир. KPI-фонах #fee2e2/#dbeafe) →
  #5f6570 (≥4.8:1) — чинит HouseAnalytics KPI labels и весь muted-on-tint.
- .house-info-card__rating strong #f59e0b (2.14) → #b45309 (5.0, large-text AA).
- RecentSoldList positive-delta #16a34a (3.3) → #15803d (5.0 на белом).
Ratios проверены WCAG-формулой. #36a558 (card-meta) не найден литералом в
коде — вероятно stale-замер или color-mix; QA re-axe подтвердит.

Refs #834, #801
This commit is contained in:
bot-frontend 2026-05-30 23:36:49 +03:00
parent cd406225fc
commit 54c37d89a6
2 changed files with 3 additions and 3 deletions

View file

@ -52,7 +52,7 @@ export function RecentSoldList({ items }: Props) {
it.discount_pct != null && it.discount_pct !== 0;
const discountColor =
it.discount_pct != null && it.discount_pct > 0
? "#16a34a"
? "#15803d" /* #834 a11y: было #16a34a (3.3:1) → AA 5.0:1 на белом */
: "var(--muted, #6b7280)";
return (

View file

@ -12,7 +12,7 @@
/* ink */
--fg: oklch(18% 0.012 250);
--fg-2: oklch(32% 0.014 250);
--muted: oklch(50% 0.012 250);
--muted: #5f6570; /* #834 a11y follow-up: oklch(50%)≈#6b7280 (3.96 на тонир. KPI-фонах) → ≥4.8:1 на #fee2e2/#dbeafe тинтах */
--muted-2: #676d73; /* #834 a11y: было oklch(62%)=#82878c (3.6:1) → AA ≥4.65:1 на белом/off-white */
/* lines */
--border: oklch(92% 0.005 250);
@ -1620,7 +1620,7 @@
.house-info-card__rating strong {
font-size: 24px;
color: #f59e0b;
color: #b45309; /* #834 a11y: было #f59e0b (2.14:1) → AA large-text 5.0:1 на белом */
}
.house-info-card__rating-label {