From f4b490ad4d715f402424c0e4f49647d7ab2ed91c Mon Sep 17 00:00:00 2001 From: Thiago Hernandez Date: Fri, 25 Aug 2023 10:54:21 +0200 Subject: [PATCH] fix(buttons): fixed buttons focus statuses --- src/renderer/theme/GlobalStyles.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/theme/GlobalStyles.ts b/src/renderer/theme/GlobalStyles.ts index 4524dc119..3051ec7d3 100644 --- a/src/renderer/theme/GlobalStyles.ts +++ b/src/renderer/theme/GlobalStyles.ts @@ -317,10 +317,10 @@ svg text{ .button:hover { cursor: pointer; } -.button:focus { +.button:focus,.button:focus-within { outline: none; } -.button:focus-within { +.button:focus-visible { outline: 2px solid ${({ theme }) => theme.accessibility.focusWithinColor}; } .button[disabled]:hover {