File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
packages/pharos/src/components/switch Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 26
26
27
27
& :hover {
28
28
border-color : var (--pharos-color-marble-gray-30 );
29
- box-shadow : 0 0 0 1px var (--pharos-color-marble-gray-30 );
29
+ box-shadow : inset 0 0 0 1px var (--pharos-color-marble-gray-30 );
30
30
}
31
31
32
32
& ::before {
55
55
border-color : var (--pharos-color-green-base );
56
56
57
57
& :hover {
58
- box-shadow : 0 0 0 1px var (--pharos-color-green-base );
58
+ box-shadow : inset 0 0 0 1px var (--pharos-color-green-base );
59
59
}
60
60
61
61
& ::before {
83
83
#switch-element :focus-visible {
84
84
+ .input-wrapper .switch__control {
85
85
outline : 2px solid var (--pharos-color-focus );
86
- outline-offset : 3 px ;
86
+ outline-offset : 2 px ;
87
87
border-color : var (--pharos-color-marble-gray-30 );
88
- box-shadow : 0 0 0 1px var (--pharos-color-marble-gray-30 );
88
+ box-shadow : inset 0 0 0 1px var (--pharos-color-marble-gray-30 );
89
89
}
90
90
}
91
91
116
116
#switch-element :focus-visible:checked {
117
117
+ .input-wrapper .switch__control {
118
118
outline : 2px solid var (--pharos-color-focus );
119
- outline-offset : 3 px ;
119
+ outline-offset : 2 px ;
120
120
border-color : var (--pharos-color-green-base );
121
- box-shadow : 0 0 0 1px var (--pharos-color-green-base );
121
+ box-shadow : inset 0 0 0 1px var (--pharos-color-green-base );
122
122
}
123
123
}
You can’t perform that action at this time.
0 commit comments