36 lines
665 B
JavaScript
36 lines
665 B
JavaScript
|
import styled from 'styled-components'
|
||
|
import { colours } from '../../assets/theme'
|
||
|
|
||
|
const Button = styled.button`
|
||
|
background-color: transparent;
|
||
|
border: 1px solid ${colours.midnightDarker};
|
||
|
padding: 0.3em 1em;
|
||
|
font-family: Karla;
|
||
|
font-weight: inherit;
|
||
|
color: ${colours.midnightDarker};
|
||
|
opacity: 1;
|
||
|
text-decoration: none;
|
||
|
font-size: 24px;
|
||
|
cursor: pointer;
|
||
|
width: 100%;
|
||
|
|
||
|
svg {
|
||
|
margin-right: 12px;
|
||
|
position: relative;
|
||
|
top: 2px;
|
||
|
}
|
||
|
|
||
|
:hover {
|
||
|
background-color: ${colours.midnightDarker};
|
||
|
color: ${colours.roseLight};
|
||
|
|
||
|
svg {
|
||
|
path {
|
||
|
stroke: ${colours.roseLight};
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
`
|
||
|
|
||
|
export default Button
|