diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-12-18 21:05:10 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-18 21:05:10 +0800 |
commit | 55589698cf4baf317c36dda8bf869742ac738604 (patch) | |
tree | f33e2c70d18a71f26eb0c3d340e50eb6d4e49a43 /packages/website/ts/@next/components/button.tsx | |
parent | ee0a226c43bc01044bc99fd8f51bd439bcd125f4 (diff) | |
download | dexon-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.tsx | 6 |
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; |