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_old/.old/objects/_icon-nav.scss | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src_old/.old/objects/_icon-nav.scss (limited to 'src_old/.old/objects/_icon-nav.scss') diff --git a/src_old/.old/objects/_icon-nav.scss b/src_old/.old/objects/_icon-nav.scss new file mode 100644 index 0000000..d1c6539 --- /dev/null +++ b/src_old/.old/objects/_icon-nav.scss @@ -0,0 +1,20 @@ +@use 'iro-sass/src/index' as iro; +@use '../functions' as fn; + +@include iro.props-namespace('icon-nav') { + @include iro.props-store(( + --dims: ( + --spacing: fn.global-dim(--size --100), + ) + ), 'dims'); + + @include iro.bem-object(iro.props-namespace()) { + display: flex; + align-items: center; + gap: fn.dim(--spacing); + + @include iro.bem-modifier('vertical') { + flex-direction: column; + } + } +} -- cgit v1.2.3-70-g09d2