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/layouts/_media.scss | |
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/layouts/_media.scss')
-rw-r--r-- | src/layouts/_media.scss | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/layouts/_media.scss b/src/layouts/_media.scss index 5658222..63daaf8 100644 --- a/src/layouts/_media.scss +++ b/src/layouts/_media.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use 'sass:meta'; | 1 | @use 'sass:meta'; |
2 | @use 'iro-sass/src/iro-sass' as iro; | 2 | @use 'iro-sass/src/bem' as bem; |
3 | @use 'iro-sass/src/props'; | 3 | @use 'iro-sass/src/props'; |
4 | @use '../props' as *; | 4 | @use '../props' as *; |
5 | 5 | ||
@@ -9,31 +9,31 @@ | |||
9 | @mixin styles { | 9 | @mixin styles { |
10 | @include materialize-at-root(meta.module-variables('vars')); | 10 | @include materialize-at-root(meta.module-variables('vars')); |
11 | 11 | ||
12 | @include iro.bem-layout('media') { | 12 | @include bem.layout('media') { |
13 | display: flex; | 13 | display: flex; |
14 | gap: props.get(vars.$gap); | 14 | gap: props.get(vars.$gap); |
15 | align-items: center; | 15 | align-items: center; |
16 | line-height: 1.4; | 16 | line-height: 1.4; |
17 | 17 | ||
18 | @each $mod, $size in vars.$sizes { | 18 | @each $mod, $size in vars.$sizes { |
19 | @include iro.bem-modifier($mod) { | 19 | @include bem.modifier($mod) { |
20 | gap: props.get($size); | 20 | gap: props.get($size); |
21 | } | 21 | } |
22 | } | 22 | } |
23 | 23 | ||
24 | @include iro.bem-modifier('wrap') { | 24 | @include bem.modifier('wrap') { |
25 | flex-wrap: wrap; | 25 | flex-wrap: wrap; |
26 | } | 26 | } |
27 | 27 | ||
28 | @include iro.bem-elem('block') { | 28 | @include bem.elem('block') { |
29 | flex: 0 0 auto; | 29 | flex: 0 0 auto; |
30 | 30 | ||
31 | @include iro.bem-modifier('shrink', 'main') { | 31 | @include bem.modifier('shrink', 'main') { |
32 | flex-shrink: 1; | 32 | flex-shrink: 1; |
33 | min-inline-size: 0; | 33 | min-inline-size: 0; |
34 | } | 34 | } |
35 | 35 | ||
36 | @include iro.bem-modifier('main') { | 36 | @include bem.modifier('main') { |
37 | inline-size: 100%; | 37 | inline-size: 100%; |
38 | } | 38 | } |
39 | } | 39 | } |