From 50f6acc739f24bfa2ca080d08e90d82f8fa83543 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 17 Oct 2024 16:45:00 +0200 Subject: Revamped variable management --- src/scopes/_lists.scss | 66 -------------------------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 src/scopes/_lists.scss (limited to 'src/scopes/_lists.scss') diff --git a/src/scopes/_lists.scss b/src/scopes/_lists.scss deleted file mode 100644 index bad9731..0000000 --- a/src/scopes/_lists.scss +++ /dev/null @@ -1,66 +0,0 @@ -@use 'iro-sass/src/index' as iro; -@use '../functions' as fn; - -@include iro.props-namespace('lists') { - @include iro.props-store(( - --dims: ( - --indent: calc(fn.global-dim(--list --indent) + 1em), - --margin-bs: fn.global-dim(--paragraph --margin-bs), - - --compact: ( - --indent: fn.global-dim(--list --compact-indent), - ), - ), - --colors: ( - --border: fn.global-color(--border-mute), - ) - )); - - @include iro.bem-scope(iro.props-namespace()) { - ul, - ol { - margin-block-start: fn.dim(--margin-bs); - padding-inline-start: fn.dim(--indent); - - ul, - ol { - margin-block-start: 0; - } - } - - ul { - list-style: disc; - } - - ol { - list-style: decimal; - } - - dl { - margin-block: fn.dim(--margin-bs) 0; - margin-inline: 0; - padding: 0; - } - - dt { - color: fn.global-color(--heading); - font-weight: bold; - } - - dd { - margin-block: 0; - margin-inline: fn.dim(--indent) 0; - } - - @include iro.bem-modifier('compact') { - ul, - ol { - padding-inline-start: calc(fn.dim(--compact --indent) - 3px); - } - - dd { - margin-inline-start: calc(fn.dim(--compact --indent) - 3px); - } - } - } -} -- cgit v1.2.3-70-g09d2