fix(design): a toggle is pressed, never a bare aria-pressed; static labels are flat Badges with a tone, edged label spans lint-refused (E28)

This commit is contained in:
2026-09-25 17:04:08 +02:00
parent b9850b1710
commit e13d93a3ed
18 changed files with 113 additions and 44 deletions
+1
View File
@@ -144,6 +144,7 @@ function Field({ label, value, focused }: { label: string; value: string; focuse
<span className="font-medium">{label}</span>
<span
className={clsx(
// eslint-disable-next-line no-restricted-syntax -- a drawing of a field, not a label
"flex items-center rounded-lg border px-3 text-sm",
H.field,
focused && "ring-2 ring-accent",