Skip to content

Commit

Permalink
fix(heading): fix sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
zouxuoz committed Aug 9, 2018
1 parent 8f3d7f3 commit 00515d7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions src/atoms/typography/Heading/Heading.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ const theme = createTheme(name, (colors) => ({
modifiers: {
type: {
h1: {
fontSize: '3.2rem',
fontSize: '6.2rem',
},
h2: {
fontSize: '2.4rem',
fontSize: '4.6rem',
},
h3: {
fontSize: '2rem',
fontSize: '3rem',
},
h4: {
fontSize: '1.4rem',
fontSize: '2rem',
},
h5: {
fontSize: '1.2rem',
fontSize: '1.4rem',
},
h6: {
fontSize: '1rem',
Expand Down
16 changes: 8 additions & 8 deletions storybook/__tests__/__snapshots__/storyshots.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -11170,23 +11170,23 @@ exports[`Storyshots ATOMS/TYPOGRAPHY/Heading with kind modifiers 1`] = `
font-family: Poppins;
font-weight: 400;
margin: 0;
font-size: 3.2rem;
font-size: 6.2rem;
}
.emotion-1 {
line-height: 1.1;
font-family: Poppins;
font-weight: 400;
margin: 0;
font-size: 2.4rem;
font-size: 4.6rem;
}
.emotion-2 {
line-height: 1.1;
font-family: Poppins;
font-weight: 400;
margin: 0;
font-size: 2rem;
font-size: 3rem;
}
<div
Expand Down Expand Up @@ -11223,39 +11223,39 @@ exports[`Storyshots ATOMS/TYPOGRAPHY/Heading with type modifiers 1`] = `
font-family: Poppins;
font-weight: 400;
margin: 0;
font-size: 3.2rem;
font-size: 6.2rem;
}
.emotion-1 {
line-height: 1.1;
font-family: Poppins;
font-weight: 400;
margin: 0;
font-size: 2.4rem;
font-size: 4.6rem;
}
.emotion-2 {
line-height: 1.1;
font-family: Poppins;
font-weight: 400;
margin: 0;
font-size: 2rem;
font-size: 3rem;
}
.emotion-3 {
line-height: 1.1;
font-family: Poppins;
font-weight: 400;
margin: 0;
font-size: 1.4rem;
font-size: 2rem;
}
.emotion-4 {
line-height: 1.1;
font-family: Poppins;
font-weight: 400;
margin: 0;
font-size: 1.2rem;
font-size: 1.4rem;
}
.emotion-5 {
Expand Down

0 comments on commit 00515d7

Please sign in to comment.