aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/button.tsx
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-18 21:05:10 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-18 21:05:10 +0800
commit55589698cf4baf317c36dda8bf869742ac738604 (patch)
treef33e2c70d18a71f26eb0c3d340e50eb6d4e49a43 /packages/website/ts/@next/components/button.tsx
parentee0a226c43bc01044bc99fd8f51bd439bcd125f4 (diff)
downloaddexon-sol-tools-55589698cf4baf317c36dda8bf869742ac738604.tar.gz
dexon-sol-tools-55589698cf4baf317c36dda8bf869742ac738604.tar.zst
dexon-sol-tools-55589698cf4baf317c36dda8bf869742ac738604.zip
Tweak market maker
Diffstat (limited to 'packages/website/ts/@next/components/button.tsx')
-rw-r--r--packages/website/ts/@next/components/button.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/website/ts/@next/components/button.tsx b/packages/website/ts/@next/components/button.tsx
index b686b27a2..fdf396ef0 100644
--- a/packages/website/ts/@next/components/button.tsx
+++ b/packages/website/ts/@next/components/button.tsx
@@ -73,6 +73,12 @@ const ButtonBase =
outline: none;
transition: background-color 0.35s, border-color 0.35s;
+ // @todo Refactor to use theme props
+ ${props => props.bgColor === 'dark' && `
+ background-color: ${colors.brandDark};
+ color: ${colors.white};
+ `}
+
svg {
margin-left: 9px;
transition: transform 0.5s;