From e7c01ff6bf88b47769b9ca446e0d02318bf510dc Mon Sep 17 00:00:00 2001 From: Marco Beretta <81851188+berry-13@users.noreply.github.com> Date: Mon, 6 Jul 2026 19:24:30 +0200 Subject: [PATCH] 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. --- packages/client/src/components/Field.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/Field.css b/packages/client/src/components/Field.css index 049a0591ac..da55ea804e 100644 --- a/packages/client/src/components/Field.css +++ b/packages/client/src/components/Field.css @@ -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; }