Add hover state to SegmentedControl.V7

This commit is contained in:
Aaron VonderHaar 2019-06-04 15:00:50 -07:00
parent 456f8f1ff0
commit f5df6cdd5a

View File

@ -127,6 +127,7 @@ sharedTabStyles =
, borderLeft (px 0)
, boxSizing borderBox
, cursor pointer
, property "transition" "background-color 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s, border-width 0s"
]
@ -143,6 +144,7 @@ unFocusedTabStyles =
[ backgroundColor Colors.white
, boxShadow5 inset zero (px -2) zero Colors.azure
, color Colors.azure
, hover [ backgroundColor Colors.glacier ]
]