summaryrefslogtreecommitdiffstats
path: root/src/scopes
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-10-20 11:37:08 +0200
committerVolpeon <git@volpeon.ink>2024-10-20 11:37:08 +0200
commit7a3ca5b13bd348da565c87088cd7fc97650fce29 (patch)
treee3a98008e02abcf7428d61f856c5e1a9dd962eb8 /src/scopes
parentFix props imports (diff)
downloadiro-design-7a3ca5b13bd348da565c87088cd7fc97650fce29.tar.gz
iro-design-7a3ca5b13bd348da565c87088cd7fc97650fce29.tar.bz2
iro-design-7a3ca5b13bd348da565c87088cd7fc97650fce29.zip
Fix materialization
Diffstat (limited to 'src/scopes')
-rw-r--r--src/scopes/_blockquotes.scss3
-rw-r--r--src/scopes/_code.scss3
-rw-r--r--src/scopes/_implicit.scss3
-rw-r--r--src/scopes/_links.scss3
-rw-r--r--src/scopes/_lists.scss3
-rw-r--r--src/scopes/_tables.scss3
6 files changed, 12 insertions, 6 deletions
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 @@
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 'blockquotes.vars'; 6@forward 'blockquotes.vars';
6@use 'blockquotes.vars' as vars; 7@use 'blockquotes.vars' as vars;
7 8
8@mixin styles { 9@mixin styles {
9 @include props.materialize(meta.module-variables('vars')); 10 @include materialize-at-root(meta.module-variables('vars'));
10 11
11 @include iro.bem-scope('blockquotes') { 12 @include iro.bem-scope('blockquotes') {
12 blockquote { 13 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 @@
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 'code.vars'; 6@forward 'code.vars';
6@use 'code.vars' as vars; 7@use 'code.vars' as vars;
7 8
8@mixin styles { 9@mixin styles {
9 @include props.materialize(meta.module-variables('vars')); 10 @include materialize-at-root(meta.module-variables('vars'));
10 11
11 @include iro.bem-scope('code') { 12 @include iro.bem-scope('code') {
12 code { 13 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 @@
2@use 'sass:meta'; 2@use 'sass:meta';
3@use 'iro-sass/src/iro-sass' as iro; 3@use 'iro-sass/src/iro-sass' as iro;
4@use 'iro-sass/src/props'; 4@use 'iro-sass/src/props';
5@use '../props' as *;
5@use '../core.vars' as core; 6@use '../core.vars' as core;
6 7
7@forward 'implicit.vars'; 8@forward 'implicit.vars';
8@use 'implicit.vars' as vars; 9@use 'implicit.vars' as vars;
9 10
10@mixin styles { 11@mixin styles {
11 @include props.materialize(meta.module-variables('vars')); 12 @include materialize-at-root(meta.module-variables('vars'));
12 13
13 html { 14 html {
14 accent-color: props.get(core.$theme, --accent, --600); 15 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 @@
3@use 'sass:string'; 3@use 'sass:string';
4@use 'iro-sass/src/iro-sass' as iro; 4@use 'iro-sass/src/iro-sass' as iro;
5@use 'iro-sass/src/props'; 5@use 'iro-sass/src/props';
6@use '../props' as *;
6 7
7@forward 'links.vars'; 8@forward 'links.vars';
8@use 'links.vars' as vars; 9@use 'links.vars' as vars;
9 10
10@mixin styles { 11@mixin styles {
11 @include props.materialize(meta.module-variables('vars')); 12 @include materialize-at-root(meta.module-variables('vars'));
12 13
13 @include iro.bem-scope('links') { 14 @include iro.bem-scope('links') {
14 :link, 15 :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 @@
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@use '../core.vars' as core; 5@use '../core.vars' as core;
5 6
6@forward 'lists.vars'; 7@forward 'lists.vars';
7@use 'lists.vars' as vars; 8@use 'lists.vars' as vars;
8 9
9@mixin styles { 10@mixin styles {
10 @include props.materialize(meta.module-variables('vars')); 11 @include materialize-at-root(meta.module-variables('vars'));
11 12
12 @include iro.bem-scope('lists') { 13 @include iro.bem-scope('lists') {
13 ul, 14 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 @@
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@use '../objects/table.vars' as table; 5@use '../objects/table.vars' as table;
5 6
6@forward 'tables.vars'; 7@forward 'tables.vars';
7@use 'tables.vars' as vars; 8@use 'tables.vars' as vars;
8 9
9@mixin styles { 10@mixin styles {
10 @include props.materialize(meta.module-variables('vars')); 11 @include materialize-at-root(meta.module-variables('vars'));
11 12
12 @include iro.bem-scope('tables') { 13 @include iro.bem-scope('tables') {
13 table { 14 table {