diff options
Diffstat (limited to 'src/objects/_emoji.scss')
-rw-r--r-- | src/objects/_emoji.scss | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/objects/_emoji.scss b/src/objects/_emoji.scss index 114c867..56d4e66 100644 --- a/src/objects/_emoji.scss +++ b/src/objects/_emoji.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 | @use 'icon.vars' as icon; | 5 | @use 'icon.vars' as icon; |
@@ -10,7 +10,7 @@ | |||
10 | @mixin styles { | 10 | @mixin styles { |
11 | @include materialize-at-root(meta.module-variables('vars')); | 11 | @include materialize-at-root(meta.module-variables('vars')); |
12 | 12 | ||
13 | @include iro.bem-object('emoji') { | 13 | @include bem.object('emoji') { |
14 | position: relative; | 14 | position: relative; |
15 | display: inline-block; | 15 | display: inline-block; |
16 | inline-size: calc(props.get(vars.$size)); | 16 | inline-size: calc(props.get(vars.$size)); |
@@ -20,24 +20,24 @@ | |||
20 | vertical-align: props.get(vars.$valign); | 20 | vertical-align: props.get(vars.$valign); |
21 | object-fit: contain; | 21 | object-fit: contain; |
22 | 22 | ||
23 | @include iro.bem-modifier('icon') { | 23 | @include bem.modifier('icon') { |
24 | margin: calc(-1 * props.get(vars.$pad) - .5 * (props.get(vars.$size) - props.get(icon.$size))); | 24 | margin: calc(-1 * props.get(vars.$pad) - .5 * (props.get(vars.$size) - props.get(icon.$size))); |
25 | vertical-align: props.get(icon.$valign); | 25 | vertical-align: props.get(icon.$valign); |
26 | } | 26 | } |
27 | 27 | ||
28 | @each $mod, $size, $valign in vars.$sizes { | 28 | @each $mod, $size, $valign in vars.$sizes { |
29 | @include iro.bem-modifier($mod) { | 29 | @include bem.modifier($mod) { |
30 | inline-size: props.get($size); | 30 | inline-size: props.get($size); |
31 | block-size: props.get($size); | 31 | block-size: props.get($size); |
32 | vertical-align: props.get($valign); | 32 | vertical-align: props.get($valign); |
33 | 33 | ||
34 | @include iro.bem-modifier('icon') { | 34 | @include bem.modifier('icon') { |
35 | margin: calc(-1 * props.get(vars.$pad) - .5 * (props.get($size) - props.get(icon.$size))); | 35 | margin: calc(-1 * props.get(vars.$pad) - .5 * (props.get($size) - props.get(icon.$size))); |
36 | } | 36 | } |
37 | } | 37 | } |
38 | } | 38 | } |
39 | 39 | ||
40 | @include iro.bem-modifier('zoomable') { | 40 | @include bem.modifier('zoomable') { |
41 | border-radius: calc(props.get(vars.$rounding) / props.get(vars.$zoom)); | 41 | border-radius: calc(props.get(vars.$rounding) / props.get(vars.$zoom)); |
42 | transition: transform .2s ease, background-color .2s ease; | 42 | transition: transform .2s ease, background-color .2s ease; |
43 | 43 | ||