Skip to content

Commit de2ce2f

Browse files
committed
Improved focused buttons style
WCAG 2.4.13
1 parent 740b712 commit de2ce2f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/ui/themes/standard/index.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,13 @@
7070
:hover,
7171
:focus
7272
) {
73-
outline: 1px solid var(--orejime-color-interactive);
73+
outline: 2px solid var(--orejime-color-interactive);
7474
outline-offset: 1px;
7575
}
7676

7777
.orejime-Button:not(:is([disabled], [aria-disabled='true'])):active {
78-
outline-width: 2px;
78+
outline-width: 1px;
79+
outline-offset: 2px;
7980
}
8081

8182
.orejime-ButtonList {

0 commit comments

Comments
 (0)