From af075b32e64a6ab923d60282558250b79cc12da3 Mon Sep 17 00:00:00 2001 From: MAZE Date: Sat, 15 Jun 2024 12:58:24 +0430 Subject: [PATCH] style: add focus state --- src/components/modals/sleep-timer/sleep-timer.module.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/modals/sleep-timer/sleep-timer.module.css b/src/components/modals/sleep-timer/sleep-timer.module.css index b0ab7e8..4c7995f 100644 --- a/src/components/modals/sleep-timer/sleep-timer.module.css +++ b/src/components/modals/sleep-timer/sleep-timer.module.css @@ -42,6 +42,11 @@ border: 1px solid var(--color-neutral-200); border-radius: 4px; outline: none; + + &:focus-visible { + outline: 2px solid var(--color-neutral-400); + outline-offset: 2px; + } } } }