diff options
author | Volpeon <git@volpeon.ink> | 2024-10-22 08:23:33 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-22 08:23:33 +0200 |
commit | 5855a6821cf5585378a70f9bee13563bdbfe2d86 (patch) | |
tree | 0ee25906c9e73912137a56b7d6214c89bf43e8a6 /src_demo/components | |
parent | Update (diff) | |
download | iro-design-5855a6821cf5585378a70f9bee13563bdbfe2d86.tar.gz iro-design-5855a6821cf5585378a70f9bee13563bdbfe2d86.tar.bz2 iro-design-5855a6821cf5585378a70f9bee13563bdbfe2d86.zip |
Less broad imports
Diffstat (limited to 'src_demo/components')
-rw-r--r-- | src_demo/components/_box.scss | 4 | ||||
-rw-r--r-- | src_demo/components/_content.scss | 4 | ||||
-rw-r--r-- | src_demo/components/_sidebar.scss | 4 | ||||
-rw-r--r-- | src_demo/components/_view.scss | 4 |
4 files changed, 8 insertions, 8 deletions
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 @@ | |||
1 | @use 'iro-sass/src/iro-sass' as iro; | 1 | @use 'iro-sass/src/bem' as bem; |
2 | @use 'iro-sass/src/props'; | 2 | @use 'iro-sass/src/props'; |
3 | @use '../../src/core.vars'; | 3 | @use '../../src/core.vars'; |
4 | 4 | ||
5 | @include iro.bem-component('box') { | 5 | @include bem.component('box') { |
6 | padding: 2em; | 6 | padding: 2em; |
7 | margin-block: 2em; | 7 | margin-block: 2em; |
8 | border: 1px solid props.get(core.$theme, --border); | 8 | 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 @@ | |||
1 | @use 'iro-sass/src/iro-sass' as iro; | 1 | @use 'iro-sass/src/bem' as bem; |
2 | 2 | ||
3 | @include iro.bem-component('content') { | 3 | @include bem.component('content') { |
4 | grid-area: content; | 4 | grid-area: content; |
5 | overflow: auto; | 5 | overflow: auto; |
6 | } | 6 | } |
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 @@ | |||
1 | @use 'iro-sass/src/iro-sass' as iro; | 1 | @use 'iro-sass/src/bem' as bem; |
2 | 2 | ||
3 | @include iro.bem-component('sidebar') { | 3 | @include bem.component('sidebar') { |
4 | grid-area: sidebar; | 4 | grid-area: sidebar; |
5 | min-inline-size: 15em; | 5 | min-inline-size: 15em; |
6 | min-block-size: 0; | 6 | 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 @@ | |||
1 | @use 'iro-sass/src/iro-sass' as iro; | 1 | @use 'iro-sass/src/bem' as bem; |
2 | 2 | ||
3 | @include iro.bem-component('view') { | 3 | @include bem.component('view') { |
4 | display: none; | 4 | display: none; |
5 | 5 | ||
6 | &:target { | 6 | &:target { |