From 3885b9f62dac7ab769faab24351f18f282a5e899 Mon Sep 17 00:00:00 2001 From: bot-frontend Date: Sat, 30 May 2026 20:43:10 +0000 Subject: [PATCH] =?UTF-8?q?fix(tradein):=20=D0=BA=D0=BE=D0=BD=D1=82=D1=80?= =?UTF-8?q?=D0=B0=D1=81=D1=82=20AA=20follow-up=20=E2=80=94=20muted-on-tint?= =?UTF-8?q?,=20rating,=20sold-delta=20(#834)=20(#842)=20Co-authored-by:=20?= =?UTF-8?q?bot-frontend=20=20Co-committed-by:?= =?UTF-8?q?=20bot-frontend=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../frontend/src/components/trade-in/RecentSoldList.tsx | 2 +- tradein-mvp/frontend/src/components/trade-in/trade-in.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tradein-mvp/frontend/src/components/trade-in/RecentSoldList.tsx b/tradein-mvp/frontend/src/components/trade-in/RecentSoldList.tsx index dae2cdf2..305d227c 100644 --- a/tradein-mvp/frontend/src/components/trade-in/RecentSoldList.tsx +++ b/tradein-mvp/frontend/src/components/trade-in/RecentSoldList.tsx @@ -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 ( diff --git a/tradein-mvp/frontend/src/components/trade-in/trade-in.css b/tradein-mvp/frontend/src/components/trade-in/trade-in.css index 27f97467..ef1be3ef 100644 --- a/tradein-mvp/frontend/src/components/trade-in/trade-in.css +++ b/tradein-mvp/frontend/src/components/trade-in/trade-in.css @@ -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 {