From ed8234c7cee898680acc2f731923be974a0fbf97 Mon Sep 17 00:00:00 2001 From: Lucas Larroche Date: Sun, 19 Feb 2023 10:27:22 +0700 Subject: [PATCH] refactor: remove .headings --- scss/content/_typography.scss | 38 +++++++++-------------------------- 1 file changed, 9 insertions(+), 29 deletions(-) diff --git a/scss/content/_typography.scss b/scss/content/_typography.scss index 407120a1..c61ddf14 100644 --- a/scss/content/_typography.scss +++ b/scss/content/_typography.scss @@ -94,38 +94,18 @@ } // Heading group - @if $enable-classes == false { - hgroup { - margin-bottom: var(#{$✨}typography-spacing-vertical); + hgroup { + margin-bottom: var(#{$✨}typography-spacing-vertical); - > * { - margin-bottom: 0; - } - - > *:last-child { - #{$✨}color: var(#{$✨}muted-color); - #{$✨}font-weight: unset; - font-size: 1rem; - font-family: unset; - } + > * { + margin-bottom: 0; } - } - @if $enable-classes { - hgroup, - .headings { - margin-bottom: var(#{$✨}typography-spacing-vertical); - - > * { - margin-bottom: 0; - } - - > *:last-child { - #{$✨}color: var(#{$✨}muted-color); - #{$✨}font-weight: unset; - font-size: 1rem; - font-family: unset; - } + > *:last-child { + #{$✨}color: var(#{$✨}muted-color); + #{$✨}font-weight: unset; + font-size: 1rem; + font-family: unset; } }