diff options
author | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-01 00:07:51 +0800 |
---|---|---|
committer | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-01 00:07:51 +0800 |
commit | 435d9e47e330822a4df2f8e1787e98b60df3bc0f (patch) | |
tree | 7c029652c6dea4de11eff4636e0d03a0489e3f6d /packages/website/ts/@next/components/button.tsx | |
parent | 5c12e664a96296dae720433deb8bf98b10a5fbcb (diff) | |
download | dexon-0x-contracts-435d9e47e330822a4df2f8e1787e98b60df3bc0f.tar dexon-0x-contracts-435d9e47e330822a4df2f8e1787e98b60df3bc0f.tar.gz dexon-0x-contracts-435d9e47e330822a4df2f8e1787e98b60df3bc0f.tar.bz2 dexon-0x-contracts-435d9e47e330822a4df2f8e1787e98b60df3bc0f.tar.lz dexon-0x-contracts-435d9e47e330822a4df2f8e1787e98b60df3bc0f.tar.xz dexon-0x-contracts-435d9e47e330822a4df2f8e1787e98b60df3bc0f.tar.zst dexon-0x-contracts-435d9e47e330822a4df2f8e1787e98b60df3bc0f.zip |
ThemeProvider
Diffstat (limited to 'packages/website/ts/@next/components/button.tsx')
-rw-r--r-- | packages/website/ts/@next/components/button.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/@next/components/button.tsx b/packages/website/ts/@next/components/button.tsx index 422c44126..2569c39c5 100644 --- a/packages/website/ts/@next/components/button.tsx +++ b/packages/website/ts/@next/components/button.tsx @@ -34,7 +34,7 @@ const StyledButton = styled.button<ButtonInterface>` display: ${props => props.inline && 'inline-block'}; background-color: ${props => !props.transparent && colors.brandLight}; border-color: ${props => props.transparent && '#6a6a6a'}; - color: ${colors.white}; + color: ${props => props.color || props.theme.textColor}; text-align: center; padding: 14px 22px; text-decoration: none; |