aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/Form/Button.js
diff options
context:
space:
mode:
authorjackyzha0 <[email protected]>2021-03-06 16:32:09 -0800
committerjackyzha0 <[email protected]>2021-03-06 16:32:09 -0800
commit75e8bdd2d4cdaefe28ed40a7735c993f98d15754 (patch)
tree1b84a2222a11332075dc5de4405cd9d9e86193a5 /frontend/src/components/Form/Button.js
parentpaste modal fixes (diff)
downloadctrl-v-75e8bdd2d4cdaefe28ed40a7735c993f98d15754.tar.xz
ctrl-v-75e8bdd2d4cdaefe28ed40a7735c993f98d15754.zip
refactor form -> common
Diffstat (limited to 'frontend/src/components/Form/Button.js')
-rw-r--r--frontend/src/components/Form/Button.js31
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