Merge pull request 'fix(tradein/v2): a11y contrast — source badges ≥AA в оверлеях (#2062)' (#2079) from fix/tradein-v2-a11y-contrast into main
All checks were successful
Deploy Trade-In / changes (push) Successful in 10s
Deploy Trade-In / test (push) Has been skipped
Deploy Trade-In / build-backend (push) Has been skipped
Deploy Trade-In / build-browser (push) Has been skipped
Deploy Trade-In / build-frontend (push) Successful in 2m7s
Deploy Trade-In / deploy (push) Successful in 56s
All checks were successful
Deploy Trade-In / changes (push) Successful in 10s
Deploy Trade-In / test (push) Has been skipped
Deploy Trade-In / build-backend (push) Has been skipped
Deploy Trade-In / build-browser (push) Has been skipped
Deploy Trade-In / build-frontend (push) Successful in 2m7s
Deploy Trade-In / deploy (push) Successful in 56s
This commit is contained in:
commit
0f82b58265
2 changed files with 5 additions and 2 deletions
|
|
@ -347,7 +347,9 @@ export default function HistoryView({
|
|||
border: `1px solid ${tokens.line2}`,
|
||||
borderRadius: "3px",
|
||||
padding: "1px 5px",
|
||||
color: tokens.accent,
|
||||
// accentDeep (not accent): 8px accent on badgeTint ~2.8:1 < AA;
|
||||
// accentDeep keeps the blue brand cue at ≈5:1.
|
||||
color: tokens.accentDeep,
|
||||
}}
|
||||
>
|
||||
{r.source ?? "—"}
|
||||
|
|
|
|||
|
|
@ -96,7 +96,8 @@ const badge: CSSProperties = {
|
|||
border: `1px solid ${tokens.line2}`,
|
||||
borderRadius: 3,
|
||||
padding: "2px 8px",
|
||||
color: tokens.muted,
|
||||
// body2 (not muted): 9px muted on badgeTint was ~3.3:1 < AA; body2 ≈ 6.3:1.
|
||||
color: tokens.body2,
|
||||
};
|
||||
|
||||
const chip: CSSProperties = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue