From 88bdb6b074514ec674629006e5d58f2c4683b108 Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Wed, 3 Jun 2026 23:48:22 -0500 Subject: [PATCH] style(desktop): kill focus rings globally Tab/focus showed Tailwind's `focus-visible:ring-*` (a box-shadow) plus the native outline. Drop both via an unlayered reset that nulls --tw-ring-*; the composer / input soft-glow is untouched (those use direct box-shadows). --- apps/desktop/src/styles.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/apps/desktop/src/styles.css b/apps/desktop/src/styles.css index 1afef1f01..ab483818a 100644 --- a/apps/desktop/src/styles.css +++ b/apps/desktop/src/styles.css @@ -568,6 +568,21 @@ } } +/* No focus rings, anywhere. Kills the native outline plus Tailwind's + `focus-visible:ring-*` (a box-shadow driven by --tw-ring-*). Unlayered so it + beats the utilities layer without !important on the outline. The composer / + .desktop-input-chrome focus glow is untouched — those set `box-shadow` + directly rather than through the ring vars. */ +*:focus, +*:focus-visible { + outline: none; +} + +*:focus-visible { + --tw-ring-shadow: 0 0 #0000 !important; + --tw-ring-offset-shadow: 0 0 #0000 !important; +} + button { -webkit-app-region: no-drag; }