Browse Source
Update button style & visual fix account page
master
meriadec
7 years ago
No known key found for this signature in database
GPG Key ID: 1D2FC2305E2CB399
2 changed files with
6 additions and
1 deletions
-
src/components/AccountPage/AccountHeader.js
-
src/components/base/Button/index.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> |
|
|
|
|
|
@ -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) : '')}; |
|
|
|
} |
|
|
|
` |
|
|
|