From 5216739cf9b084f7388d687b84044f522d267cbf Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 22 Jul 2026 07:55:43 +0200 Subject: Use iro-sass via pkg: --- src/objects/_palette.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/objects/_palette.scss') diff --git a/src/objects/_palette.scss b/src/objects/_palette.scss index 79c0f6c..f503812 100644 --- a/src/objects/_palette.scss +++ b/src/objects/_palette.scss @@ -1,9 +1,9 @@ @use 'sass:list'; @use 'sass:map'; @use 'sass:string'; -@use 'iro-sass/src/bem'; +@use 'pkg:iro-sass/src/bem'; @use '../config'; -@use 'iro-sass/src/props'; +@use 'pkg:iro-sass/src/props'; @use '../core.vars' as core; @mixin styles { @@ -33,7 +33,7 @@ @include bem.elem('item') { @for $i from 1 through list.length($levels) { $key: list.nth(map.keys($levels), $i); - + &:nth-child(#{$i}) { background-color: props.get(core.$theme, $palette-name, $key); } @@ -50,7 +50,7 @@ @include bem.elem('item') { @for $i from 1 through list.length($levels) { $key: list.nth(map.keys($levels), $i); - + &:nth-child(#{$i}) { background-color: props.get(core.$theme, #{$palette-name}-static, $key); } -- cgit v1.3.1