Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit 9b92e02

Browse files
chore
1 parent 8526c9e commit 9b92e02

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Diff for: utils/base.styles.js

+9-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,15 @@ export const Button = styled.a`
5757
color: ${props => (props.inverted ? '#fff' : props.ghost ? purpleSecondary : '#222')};
5858
padding: ${props =>
5959
props.large ? '0.8rem 2.25rem' : props.medium ? '0.6rem 1.2rem' : props.small ? '0.3rem 1.1rem' : '0.2rem 1rem'};
60-
font-size: ${props => (props.large ? '1.8rem' : props.medium ? '1rem' : '0.8rem')};
60+
${breakpoints.lg} {
61+
font-size: 1.8rem;
62+
}
63+
${breakpoints.md} {
64+
font-size: 1rem;
65+
}
66+
${breakpoints.sm} {
67+
font-size: 0.8rem;
68+
}
6169
font-weight: ${props => (props.ghost ? 600 : 500)};
6270
border: ${props => (props.ghost ? `2px solid ${purpleSecondary}` : 'none')};
6371
cursor: pointer;

0 commit comments

Comments
 (0)