Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Commit

Permalink
fix(button): adjust font size and paddings (#593)
Browse files Browse the repository at this point in the history
make text bigger, not increasing height on buttons, width is slightly increased on size xs.
  • Loading branch information
jesperwiner authored and JacobBlomgren committed Mar 19, 2019
1 parent 1d59c83 commit e6846a0
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/components/button/button-styles.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ export default theme => {

xs: {
borderRadius: 12,
padding: '5px 12px',
padding: '2px 10px 3px',

'&$iconText': {
paddingBottom: 5,
paddingTop: 4,
paddingBottom: 3,
paddingTop: 2,
},

'&$icon': {
Expand All @@ -126,18 +126,18 @@ export default theme => {
},
},

...typography.caption({
...typography.secondary({
weight: 'regular',
}),
},

sm: {
borderRadius: 16,
padding: '8px 20px',
padding: '5px 12px 6px',

'&$iconText': {
paddingBottom: 7,
paddingTop: 7,
paddingBottom: 6,
paddingTop: 5,
},

'&$icon': {
Expand All @@ -148,17 +148,17 @@ export default theme => {
},
},

...typography.caption({
...typography.secondary({
weight: 'regular',
}),
},

md: {
borderRadius: 20,
padding: '11px 38px',
padding: '10px 34px 11px',

'&$iconText': {
paddingBottom: 10,
paddingBottom: 11,
paddingTop: 10,
},

Expand All @@ -170,7 +170,7 @@ export default theme => {
},
},

...typography.secondary({
...typography.primary({
weight: 'regular',
}),
},
Expand Down

1 comment on commit e6846a0

@vercel
Copy link

@vercel vercel bot commented on e6846a0 Mar 19, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.