diff options
Diffstat (limited to 'frontend/src/components/Form/Button.js')
| -rw-r--r-- | frontend/src/components/Form/Button.js | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/frontend/src/components/Form/Button.js b/frontend/src/components/Form/Button.js deleted file mode 100644 index 290e52a..0000000 --- a/frontend/src/components/Form/Button.js +++ /dev/null @@ -1,31 +0,0 @@ -import styled, {css} from 'styled-components' -import {Border, ButtonLike, DropShadow, Rounded} from "./mixins"; - -const Base = css` - ${DropShadow} - ${Rounded} - ${ButtonLike} - margin-right: 2em; - cursor: pointer; -` - -const Primary = css` - ${Base}; - border: none; - color: ${p => p.theme.colors.background}; - background-color: ${p => p.theme.colors.text}; -` -const Secondary = css` - ${Base}; - ${Border}; - color: ${p => p.theme.colors.text}; - background-color: ${p => p.theme.colors.background}; -` - -export const Button = styled.button` - ${p => p.secondary ? css`${Secondary}` : css`${Primary}` } -` - -export const SubmitButton = styled.input` - ${Primary} -`
\ No newline at end of file |