Skip to content

Commit da0edda

Browse files
authored
Merge pull request #7159 from ethereum/find-wallet-radio-persona
Change the checkbox to radio on the profile chooser box
2 parents 6809499 + 8f93323 commit da0edda

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/components/FindWallet/WalletPersonasSidebar.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,21 +163,22 @@ const IconContainer = styled.div`
163163
`
164164

165165
const StyledIcon = styled(Icon)<{ selected: boolean }>`
166-
width: 1.3rem;
167-
height: 1.3rem;
166+
border-radius: 100%;
167+
width: 1rem;
168+
height: 1rem;
168169
margin: 0 0.25rem;
169170
fill: ${(props) =>
170-
props.selected === true ? props.theme.colors.white : "rgba(0, 0, 0, 0)"};
171+
props.selected === true ? props.theme.colors.primary : "rgba(0, 0, 0, 0)"};
171172
background: ${(props) =>
172173
props.selected === true
173174
? props.theme.colors.primary
174175
: props.theme.colors.priceCardBackground};
175-
border-radius: 4px;
176-
border: 1px solid
176+
outline: 1.5px solid
177177
${(props) =>
178178
props.selected === true
179179
? props.theme.colors.primary
180180
: props.theme.colors.text};
181+
outline-offset: 3px;
181182
`
182183

183184
// Types
@@ -533,7 +534,7 @@ const WalletPersonasSidebar = ({
533534
aria-label={`${persona.title} filter`}
534535
>
535536
<StyledIcon
536-
name="check"
537+
name="circle"
537538
selected={selectedPersona === idx}
538539
size="2rem"
539540
/>

0 commit comments

Comments
 (0)