From dea5b7b4492abbd41a443fd8961c459142e60c1d Mon Sep 17 00:00:00 2001 From: Lucas Larroche Date: Sun, 5 Mar 2023 09:17:56 +0700 Subject: [PATCH] style: headings line-height --- scss/content/_typography.scss | 1 + scss/themes/default/_styles.scss | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/scss/content/_typography.scss b/scss/content/_typography.scss index d236270f..80ce9bac 100644 --- a/scss/content/_typography.scss +++ b/scss/content/_typography.scss @@ -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); } diff --git a/scss/themes/default/_styles.scss b/scss/themes/default/_styles.scss index f1fefa54..31755072 100644 --- a/scss/themes/default/_styles.scss +++ b/scss/themes/default/_styles.scss @@ -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; }