meriadec
7 years ago
No known key found for this signature in database
GPG Key ID: 1D2FC2305E2CB399
1 changed files with
16 additions and
10 deletions
-
src/components/base/Button/index.js
|
|
@ -93,7 +93,12 @@ const buttonStyles: { [_: string]: Style } = { |
|
|
|
background: ${rgba(c, 0.1)}; |
|
|
|
` |
|
|
|
}, |
|
|
|
active: p => ` |
|
|
|
active: p => { |
|
|
|
const c = p.outlineColor |
|
|
|
? p.theme.colors[p.outlineColor] || p.outlineColor |
|
|
|
: p.theme.colors.wallet |
|
|
|
return ` |
|
|
|
background: ${rgba(c, 0.15)}; |
|
|
|
color: ${darken( |
|
|
|
p.outlineColor ? p.theme.colors[p.outlineColor] || p.outlineColor : p.theme.colors.wallet, |
|
|
|
0.1, |
|
|
@ -102,7 +107,8 @@ const buttonStyles: { [_: string]: Style } = { |
|
|
|
p.outlineColor ? p.theme.colors[p.outlineColor] || p.outlineColor : p.theme.colors.wallet, |
|
|
|
0.1, |
|
|
|
)}; |
|
|
|
`,
|
|
|
|
` |
|
|
|
}, |
|
|
|
}, |
|
|
|
outlineGrey: { |
|
|
|
default: p => ` |
|
|
|