fix(tradein): контраст AA follow-up — muted-on-tint, rating, sold-delta (#834) (#842)
All checks were successful
Deploy Trade-In / changes (push) Successful in 5s
Deploy Trade-In / test (push) Has been skipped
Deploy Trade-In / build-backend (push) Has been skipped
Deploy Trade-In / build-frontend (push) Successful in 1m33s
Deploy Trade-In / deploy (push) Successful in 35s
All checks were successful
Deploy Trade-In / changes (push) Successful in 5s
Deploy Trade-In / test (push) Has been skipped
Deploy Trade-In / build-backend (push) Has been skipped
Deploy Trade-In / build-frontend (push) Successful in 1m33s
Deploy Trade-In / deploy (push) Successful in 35s
Co-authored-by: bot-frontend <bot-frontend@gendsgn.local> Co-committed-by: bot-frontend <bot-frontend@gendsgn.local>
This commit is contained in:
parent
cd406225fc
commit
3885b9f62d
2 changed files with 3 additions and 3 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue