diff options
author | Volpeon <git@volpeon.ink> | 2024-10-20 11:37:08 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-20 11:37:08 +0200 |
commit | 7a3ca5b13bd348da565c87088cd7fc97650fce29 (patch) | |
tree | e3a98008e02abcf7428d61f856c5e1a9dd962eb8 /src/objects/_text-field.scss | |
parent | Fix props imports (diff) | |
download | iro-design-7a3ca5b13bd348da565c87088cd7fc97650fce29.tar.gz iro-design-7a3ca5b13bd348da565c87088cd7fc97650fce29.tar.bz2 iro-design-7a3ca5b13bd348da565c87088cd7fc97650fce29.zip |
Fix materialization
Diffstat (limited to 'src/objects/_text-field.scss')
-rw-r--r-- | src/objects/_text-field.scss | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/objects/_text-field.scss b/src/objects/_text-field.scss index 07997c3..b945866 100644 --- a/src/objects/_text-field.scss +++ b/src/objects/_text-field.scss | |||
@@ -1,6 +1,7 @@ | |||
1 | @use 'sass:meta'; | 1 | @use 'sass:meta'; |
2 | @use 'iro-sass/src/iro-sass' as iro; | 2 | @use 'iro-sass/src/iro-sass' as iro; |
3 | @use 'iro-sass/src/props'; | 3 | @use 'iro-sass/src/props'; |
4 | @use '../props' as *; | ||
4 | 5 | ||
5 | @forward 'text-field.vars'; | 6 | @forward 'text-field.vars'; |
6 | @use 'text-field.vars' as vars; | 7 | @use 'text-field.vars' as vars; |
@@ -37,7 +38,7 @@ | |||
37 | } | 38 | } |
38 | 39 | ||
39 | @mixin styles { | 40 | @mixin styles { |
40 | @include props.materialize(meta.module-variables('vars')); | 41 | @include materialize-at-root(meta.module-variables('vars')); |
41 | 42 | ||
42 | @include iro.bem-object('text-field') { | 43 | @include iro.bem-object('text-field') { |
43 | $focus-border-offset: calc(props.get(vars.$border-width) - props.get(vars.$focus--border-width)); | 44 | $focus-border-offset: calc(props.get(vars.$border-width) - props.get(vars.$focus--border-width)); |