stream/src/components/Button/index.js

36 lines
640 B
JavaScript
Raw Normal View History

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