fix(client): keep Input border static on pointer focus

The pointer-focus override in Field.css used border-color: var(--border-light),
which became an invalid value after the theme moved to RGB channel tokens and
was silently dropped, letting the border fall back to currentColor (text-primary)
on mouse focus. Wrap it in rgb() so mouse focus produces no border, ring, or
outline change; keyboard focus keeps its ring for accessibility.
This commit is contained in:
Marco Beretta 2026-07-06 19:24:30 +02:00
parent 9a68fe6da0
commit e7c01ff6bf
No known key found for this signature in database
GPG key ID: D918033D8E74CC11

View file

@ -5,7 +5,7 @@
attribute is absent and the ring always shows the safe fallback. */
html[data-input-modality='pointer'] .lc-field:focus,
html[data-input-modality='pointer'] .lc-field:focus-visible {
border-color: var(--border-light);
border-color: rgb(var(--border-light));
box-shadow: none;
outline: none;
}