1import styled from "styled-components";
2
3export const StyledButton = styled.button`
4 min-width: 100px;
5 padding: 0.5em 1em;
6 background: ${(props) => props.theme.colors.background};
7 color: ${(props) => props.theme.colors.foreground};
8 border: 2px solid ${(props) => props.theme.colors.highlight};
9 border-radius: 4px;
10
11 &:hover {
12 border-color: ${(props) => props.theme.colors.altHighlight};
13 cursor: pointer;
14 }
15`;
16
17export const LinkButton = styled.a`
18 text-align: center;
19 text-decoration: none;
20
21 &,
22 &:visited {
23 min-width: 100px;
24 padding: 0.5em 1em;
25 background: ${(props) => props.theme.colors.background};
26 color: ${(props) => props.theme.colors.foreground};
27 border: 2px solid ${(props) => props.theme.colors.highlight};
28 border-radius: 4px;
29 }
30
31 &:hover,
32 &:active {
33 border-color: ${(props) => props.theme.colors.altHighlight};
34 cursor: pointer;
35 }
36`;