summaryrefslogtreecommitdiffstats
path: root/src/objects/_text-field.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/objects/_text-field.scss')
-rw-r--r--src/objects/_text-field.scss3
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));