Skip to content
Snippets Groups Projects
Unverified Commit c329f86f authored by Kyle Doherty's avatar Kyle Doherty Committed by GitHub
Browse files

add background hover on bubble radio items (#12055)

* add background hover on bubble radio items

* update snapshot test
parent d52b43ba
Branches
Tags
No related merge requests found
......@@ -156,6 +156,10 @@ const BubbleItem = styled(BaseItem)`
color: ${props => (props.selected ? color("white") : color("brand"))};
background-color: ${props =>
props.selected ? color("brand") : lighten("brand")};
:hover {
background-color: ${props => !props.selected && lighten("brand", 0.38)};
transition: background 300ms linear;
}
`;
BubbleItem.defaultProps = {
xspace: 1,
......
......@@ -726,7 +726,7 @@ exports[`Radio should render "bubble" correctly 1`] = `
>
<li
aria-selected={true}
className="Radio__BubbleItem-cPPKrR izYaHB Radio__BaseItem-gLcmFf bMiqJE"
className="Radio__BubbleItem-cPPKrR ebqsKW Radio__BaseItem-gLcmFf bMiqJE"
mb={null}
mr={1}
onClick={[Function]}
......@@ -746,7 +746,7 @@ exports[`Radio should render "bubble" correctly 1`] = `
</li>
<li
aria-selected={false}
className="Radio__BubbleItem-cPPKrR iOSyOa Radio__BaseItem-gLcmFf etzrCv"
className="Radio__BubbleItem-cPPKrR kKeqRf Radio__BaseItem-gLcmFf etzrCv"
mb={null}
mr={null}
onClick={[Function]}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment