Skip to content

Commit a0dac24

Browse files
committed
feat(bwst): enhance focus style for input number component
1 parent 1d1f136 commit a0dac24

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/themes/bwst/src/components/input-number.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@use '../@shared/input-core' as *;
2+
@use '../mixins/focus-outline' as *;
23
@use '../mixins/input-text.scss' as *;
34
@use '../mixins/icon' as *;
45

@@ -13,8 +14,8 @@
1314
transition-duration: 0.3s;
1415
transition-property: background-color, color;
1516

16-
&:focus {
17-
outline: 0;
17+
&:focus-visible {
18+
@include focus-outline;
1819
}
1920

2021
&:hover {

0 commit comments

Comments
 (0)