Merge remote-tracking branch 'upstream/master'

This commit is contained in:
bree
2021-07-08 10:23:47 -04:00
3 changed files with 26 additions and 17 deletions

View File

@@ -6,6 +6,7 @@ interface Props {
readonly contrast?: boolean;
readonly plain?: boolean;
readonly error?: boolean;
readonly iconbutton?: boolean;
}
export type ButtonProps = Props &
@@ -54,6 +55,14 @@ export default styled.button<Props>`
font-size: 13px;
`}
${(props) =>
props.iconbutton &&
css`
height: 38px !important;
width: 38px !important;
min-width: unset !important;
`}
${(props) =>
props.accent &&
css`