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); color: var(#{$}color);
font-weight: var(#{$}font-weight); font-weight: var(#{$}font-weight);
font-size: var(#{$}font-size); font-size: var(#{$}font-size);
line-height: var(#{$}line-height);
font-family: var(#{$}font-family); font-family: var(#{$}font-family);
} }

View file

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