-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
602 additions
and
2,878 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import styled from '@emotion/styled'; | ||
import { css } from '@emotion/core'; | ||
import theme from 'styles/theme'; | ||
|
||
const baseCss = css` | ||
border: none; | ||
background-color: transparent; | ||
font-size: 14px; | ||
color: ${theme.colors.slate}; | ||
font-family: inherit; | ||
appearance: none; | ||
box-sizing: border-box; | ||
border-radius: 4px; | ||
border: solid 1px ${theme.colors.border}; | ||
height: 40px; | ||
padding: 0 12px; | ||
width: 100%; | ||
&::placeholder { | ||
color: #a8a8a8; | ||
} | ||
&:focus { | ||
outline: none; | ||
} | ||
`; | ||
|
||
export const InputEl = styled.input` | ||
${baseCss} | ||
`; | ||
|
||
export const TextareaEl = styled.textarea` | ||
${baseCss} | ||
height: 110px; | ||
padding: 12px; | ||
line-height: 1.5; | ||
resize: none; | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import React from 'react'; | ||
import { Global, css } from '@emotion/core'; | ||
import globalStyles from 'styles/index.scss'; | ||
import { Global } from '@emotion/core'; | ||
|
||
import resetStyles from 'styles/reset'; | ||
import semanticStyles from 'styles/semantics'; | ||
|
||
export default () => ( | ||
<Global | ||
styles={css` | ||
${globalStyles} | ||
`} | ||
/> | ||
<> | ||
<Global styles={resetStyles} /> | ||
<Global styles={semanticStyles} /> | ||
</> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.