Browse Source

Update button style & visual fix account page

master
meriadec 7 years ago
parent
commit
9dfbcf6146
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 2
      src/components/AccountPage/AccountHeader.js
  2. 5
      src/components/base/Button/index.js

2
src/components/AccountPage/AccountHeader.js

@ -34,7 +34,7 @@ class AccountHeader extends PureComponent<Props> {
)}
<Box>
<CurName>{account.currency.name}</CurName>
<Text ff="Museo Sans|Regular" fontSize={7}>
<Text ff="Museo Sans|Regular" fontSize={7} color="dark">
{account.name}
</Text>
</Box>

5
src/components/base/Button/index.js

@ -34,6 +34,11 @@ const Base = styled.button.attrs({
}
&:active {
border: ${p =>
p.primary
? 'none'
: `2px solid ${p.disabled ? 'transparent' : darken(p.theme.colors.grey, 0.2)}`};
color: ${p => (p.primary ? '' : darken(p.theme.colors.grey, 0.2))};
background: ${p => (p.primary ? darken(p.theme.colors.wallet, 0.1) : '')};
}
`

Loading…
Cancel
Save