From 7a3ca5b13bd348da565c87088cd7fc97650fce29 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 20 Oct 2024 11:37:08 +0200 Subject: Fix materialization --- src/scopes/_blockquotes.scss | 3 ++- src/scopes/_code.scss | 3 ++- src/scopes/_implicit.scss | 3 ++- src/scopes/_links.scss | 3 ++- src/scopes/_lists.scss | 3 ++- src/scopes/_tables.scss | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) (limited to 'src/scopes') diff --git a/src/scopes/_blockquotes.scss b/src/scopes/_blockquotes.scss index d29ab84..7406c89 100644 --- a/src/scopes/_blockquotes.scss +++ b/src/scopes/_blockquotes.scss @@ -1,12 +1,13 @@ @use 'sass:meta'; @use 'iro-sass/src/iro-sass' as iro; @use 'iro-sass/src/props'; +@use '../props' as *; @forward 'blockquotes.vars'; @use 'blockquotes.vars' as vars; @mixin styles { - @include props.materialize(meta.module-variables('vars')); + @include materialize-at-root(meta.module-variables('vars')); @include iro.bem-scope('blockquotes') { blockquote { diff --git a/src/scopes/_code.scss b/src/scopes/_code.scss index 989f8a2..5035879 100644 --- a/src/scopes/_code.scss +++ b/src/scopes/_code.scss @@ -1,12 +1,13 @@ @use 'sass:meta'; @use 'iro-sass/src/iro-sass' as iro; @use 'iro-sass/src/props'; +@use '../props' as *; @forward 'code.vars'; @use 'code.vars' as vars; @mixin styles { - @include props.materialize(meta.module-variables('vars')); + @include materialize-at-root(meta.module-variables('vars')); @include iro.bem-scope('code') { code { diff --git a/src/scopes/_implicit.scss b/src/scopes/_implicit.scss index 7f8185d..57c8099 100644 --- a/src/scopes/_implicit.scss +++ b/src/scopes/_implicit.scss @@ -2,13 +2,14 @@ @use 'sass:meta'; @use 'iro-sass/src/iro-sass' as iro; @use 'iro-sass/src/props'; +@use '../props' as *; @use '../core.vars' as core; @forward 'implicit.vars'; @use 'implicit.vars' as vars; @mixin styles { - @include props.materialize(meta.module-variables('vars')); + @include materialize-at-root(meta.module-variables('vars')); html { accent-color: props.get(core.$theme, --accent, --600); diff --git a/src/scopes/_links.scss b/src/scopes/_links.scss index 835bb7a..41472c7 100644 --- a/src/scopes/_links.scss +++ b/src/scopes/_links.scss @@ -3,12 +3,13 @@ @use 'sass:string'; @use 'iro-sass/src/iro-sass' as iro; @use 'iro-sass/src/props'; +@use '../props' as *; @forward 'links.vars'; @use 'links.vars' as vars; @mixin styles { - @include props.materialize(meta.module-variables('vars')); + @include materialize-at-root(meta.module-variables('vars')); @include iro.bem-scope('links') { :link, diff --git a/src/scopes/_lists.scss b/src/scopes/_lists.scss index 52e5bd9..7f18df0 100644 --- a/src/scopes/_lists.scss +++ b/src/scopes/_lists.scss @@ -1,13 +1,14 @@ @use 'sass:meta'; @use 'iro-sass/src/iro-sass' as iro; @use 'iro-sass/src/props'; +@use '../props' as *; @use '../core.vars' as core; @forward 'lists.vars'; @use 'lists.vars' as vars; @mixin styles { - @include props.materialize(meta.module-variables('vars')); + @include materialize-at-root(meta.module-variables('vars')); @include iro.bem-scope('lists') { ul, diff --git a/src/scopes/_tables.scss b/src/scopes/_tables.scss index 54e3a12..08df871 100644 --- a/src/scopes/_tables.scss +++ b/src/scopes/_tables.scss @@ -1,13 +1,14 @@ @use 'sass:meta'; @use 'iro-sass/src/iro-sass' as iro; @use 'iro-sass/src/props'; +@use '../props' as *; @use '../objects/table.vars' as table; @forward 'tables.vars'; @use 'tables.vars' as vars; @mixin styles { - @include props.materialize(meta.module-variables('vars')); + @include materialize-at-root(meta.module-variables('vars')); @include iro.bem-scope('tables') { table { -- cgit v1.2.3-70-g09d2