| 1 |
import { styled } from '@linaria/react'; |
| 2 |
import { HEFFALUMP, LORAX, OLAF } from './colors'; |
| 3 |
|
| 4 |
interface IButtonProps { |
| 5 |
use?: string; |
| 6 |
} |
| 7 |
|
| 8 |
export default styled.button<IButtonProps>` |
| 9 |
background-color:${props => (props.use === 'tertiary' ? HEFFALUMP : LORAX)}; |
| 10 |
border: 3px solid ${props => (props.use === 'tertiary' ? HEFFALUMP : LORAX)}; |
| 11 |
color: ${OLAF} |
| 12 |
border-radius: 3px; |
| 13 |
font-size: 14px; |
| 14 |
line-height: 14px; |
| 15 |
padding: 12px 24px; |
| 16 |
font-family: 'Lexend Deca', Helvetica, Arial, sans-serif; |
| 17 |
font-weight: 500; |
| 18 |
white-space: nowrap; |
| 19 |
`; |
| 20 |
|