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

Merged
bot-reviewer merged 1 commit from feat/834-contrast-aa-2 into main 2026-05-30 20:43:10 +00:00
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 {