From c41e16f6044548e27fbf8e4ef65ed3067278c80b Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 19 Oct 2024 17:14:45 +0200 Subject: Update --- src/scopes/_headings.scss | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/scopes/_headings.scss') diff --git a/src/scopes/_headings.scss b/src/scopes/_headings.scss index 2bf7b08..f6f62c3 100644 --- a/src/scopes/_headings.scss +++ b/src/scopes/_headings.scss @@ -1,7 +1,7 @@ @use 'sass:map'; @use 'iro-sass/src/iro-sass' as iro; @use '../props'; -@use '../objects/heading.vars' as headings; +@use '../objects/heading.vars' as heading; @mixin styles { /* stylelint-disable-next-line scss/dollar-variable-pattern */ @@ -22,25 +22,25 @@ h5, h6 { display: block; - margin-block-start: props.get(headings.$margin-bs); - font-family: props.get(headings.$font-family); - font-weight: props.get(headings.$font-weight); - font-feature-settings: props.get(headings.$feature-settings); - line-height: props.get(headings.$line-height); + margin-block-start: props.get(heading.$margin-bs); + font-family: props.get(heading.$font-family); + font-weight: props.get(heading.$font-weight); + font-feature-settings: props.get(heading.$feature-settings); + line-height: props.get(heading.$line-height); text-transform: none; letter-spacing: normal; - transform: translateX(props.get(headings.$offset)); + transform: translateX(props.get(heading.$offset)); } @include iro.bem-elem('highlight') { background-image: linear-gradient(to top, transparent .15em, - props.get(headings.$bg-color) .15em, - props.get(headings.$bg-color) .6em, + props.get(heading.$bg-color) .15em, + props.get(heading.$bg-color) .6em, transparent .6em); } - @each $mod, $font-family, $line-height, $font-size, $font-weight, $letter-spacing, $feature-settings in headings.$sizes { + @each $mod, $font-family, $line-height, $font-size, $font-weight, $letter-spacing, $feature-settings in heading.$sizes { #{map.get($-size-map, $mod)} { font-family: props.get($font-family); font-size: props.get($font-size); @@ -52,7 +52,7 @@ } @include iro.bem-modifier('display') { - @each $mod, $font-family, $line-height, $font-size, $font-weight, $letter-spacing, $feature-settings in headings.$display--sizes { + @each $mod, $font-family, $line-height, $font-size, $font-weight, $letter-spacing, $feature-settings in heading.$display--sizes { #{map.get($-size-map, $mod)} { font-family: props.get($font-family); font-size: props.get($font-size); -- cgit v1.2.3-70-g09d2