File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ export const StyledSlider = styled.span<Props>`
3939 transition: 0.4s;
4040 border-radius: 20px;
4141
42+ :hover {
43+ background-color: ${ ( { theme } ) => theme . switch . hover } ;
44+ }
45+
4246 &::before {
4347 position: absolute;
4448 content: '';
Original file line number Diff line number Diff line change @@ -235,12 +235,13 @@ const baseTheme = {
235235 color : Colors . neutral [ 90 ] ,
236236 } ,
237237 switch : {
238- unchecked : Colors . brand [ 30 ] ,
238+ unchecked : Colors . neutral [ 20 ] ,
239+ hover : Colors . neutral [ 40 ] ,
239240 checked : Colors . brand [ 50 ] ,
240241 circle : Colors . neutral [ 0 ] ,
241242 disabled : Colors . neutral [ 10 ] ,
242243 checkedIcon : {
243- backgroundColor : Colors . neutral [ 70 ] ,
244+ backgroundColor : Colors . neutral [ 10 ] ,
244245 } ,
245246 } ,
246247 pageLoader : {
You can’t perform that action at this time.
0 commit comments