fix(app): make keyboard focus visible in settings (#12612)

This commit is contained in:
Joseph Campuzano 2026-02-09 09:12:06 -06:00 committed by GitHub
commit 373b2270e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 12 additions and 5 deletions

View file

@ -86,9 +86,9 @@
background-color: var(--surface-hover);
}
&:focus-within:not([data-readonly]) [data-slot="switch-control"] {
&:not([data-readonly]) [data-slot="switch-input"]:focus-visible ~ [data-slot="switch-control"] {
border-color: var(--border-focus);
box-shadow: 0 0 0 2px var(--surface-focus);
box-shadow: var(--shadow-xs-border-focus);
}
&[data-checked] [data-slot="switch-control"] {