style: headings line-height

This commit is contained in:
Lucas Larroche 2023-03-05 09:17:56 +07:00
parent 810f222a92
commit dea5b7b449
2 changed files with 6 additions and 0 deletions

View file

@ -64,6 +64,7 @@
color: var(#{$}color);
font-weight: var(#{$}font-weight);
font-size: var(#{$}font-size);
line-height: var(#{$}line-height);
font-family: var(#{$}font-family);
}

View file

@ -193,26 +193,31 @@
h1 {
#{$✨}font-size: 2rem;
#{$✨}line-height: 1.25;
#{$✨}typography-spacing-top: 3rem;
}
h2 {
#{$✨}font-size: 1.75rem;
#{$✨}line-height: 1.3;
#{$✨}typography-spacing-top: 2.625rem;
}
h3 {
#{$✨}font-size: 1.5rem;
#{$✨}line-height: 1.35;
#{$✨}typography-spacing-top: 2.25rem;
}
h4 {
#{$✨}font-size: 1.25rem;
#{$✨}line-height: 1.4;
#{$✨}typography-spacing-top: 1.874rem;
}
h5 {
#{$✨}font-size: 1.125rem;
#{$✨}line-height: 1.45;
#{$✨}typography-spacing-top: 1.6875rem;
}