From 5855a6821cf5585378a70f9bee13563bdbfe2d86 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 22 Oct 2024 08:23:33 +0200 Subject: Less broad imports --- src_demo/components/_box.scss | 4 ++-- src_demo/components/_content.scss | 4 ++-- src_demo/components/_sidebar.scss | 4 ++-- src_demo/components/_view.scss | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src_demo') diff --git a/src_demo/components/_box.scss b/src_demo/components/_box.scss index 8edcb0e..22b3de0 100644 --- a/src_demo/components/_box.scss +++ b/src_demo/components/_box.scss @@ -1,8 +1,8 @@ -@use 'iro-sass/src/iro-sass' as iro; +@use 'iro-sass/src/bem' as bem; @use 'iro-sass/src/props'; @use '../../src/core.vars'; -@include iro.bem-component('box') { +@include bem.component('box') { padding: 2em; margin-block: 2em; border: 1px solid props.get(core.$theme, --border); diff --git a/src_demo/components/_content.scss b/src_demo/components/_content.scss index cd38954..81b4598 100644 --- a/src_demo/components/_content.scss +++ b/src_demo/components/_content.scss @@ -1,6 +1,6 @@ -@use 'iro-sass/src/iro-sass' as iro; +@use 'iro-sass/src/bem' as bem; -@include iro.bem-component('content') { +@include bem.component('content') { grid-area: content; overflow: auto; } diff --git a/src_demo/components/_sidebar.scss b/src_demo/components/_sidebar.scss index 4cce9b8..3d4ad89 100644 --- a/src_demo/components/_sidebar.scss +++ b/src_demo/components/_sidebar.scss @@ -1,6 +1,6 @@ -@use 'iro-sass/src/iro-sass' as iro; +@use 'iro-sass/src/bem' as bem; -@include iro.bem-component('sidebar') { +@include bem.component('sidebar') { grid-area: sidebar; min-inline-size: 15em; min-block-size: 0; diff --git a/src_demo/components/_view.scss b/src_demo/components/_view.scss index 9516b12..446de7e 100644 --- a/src_demo/components/_view.scss +++ b/src_demo/components/_view.scss @@ -1,6 +1,6 @@ -@use 'iro-sass/src/iro-sass' as iro; +@use 'iro-sass/src/bem' as bem; -@include iro.bem-component('view') { +@include bem.component('view') { display: none; &:target { -- cgit v1.2.3-70-g09d2