"git@gitlab.insrt.uk:revolt.gay/revite.git" did not exist on "54185b58398fa2bd363f083c2c87dd266bb76248"
Newer
Older
import styled, { css } from "styled-components";
interface Props {
padding: 8px 16px;
border-radius: var(--border-radius);
font-family: inherit;
color: var(--foreground);
background: var(--primary-background);
transition: 0.2s ease background-color;
border: none;
outline: 2px solid transparent;
transition: outline-color 0.2s ease-in-out;
&:hover {
background: var(--secondary-background);
}
&:focus {
}
${(props) =>
props.contrast &&
css`
color: var(--secondary-foreground);
background: var(--secondary-background);
&:hover {
background: var(--hover);
}
`}