diff options
author | Volpeon <git@volpeon.ink> | 2024-10-20 11:27:12 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-20 11:27:12 +0200 |
commit | 6a332a1def2eb2a27de63462ffc1c62c794dedf8 (patch) | |
tree | b8e2c13f18ee26e3a56666d9c204657732281afb /src | |
parent | Allow removing of theme variants in config (diff) | |
download | iro-design-6a332a1def2eb2a27de63462ffc1c62c794dedf8.tar.gz iro-design-6a332a1def2eb2a27de63462ffc1c62c794dedf8.tar.bz2 iro-design-6a332a1def2eb2a27de63462ffc1c62c794dedf8.zip |
Fix props imports
Diffstat (limited to 'src')
73 files changed, 143 insertions, 145 deletions
diff --git a/src/_core.vars.scss b/src/_core.vars.scss index 85aec23..61dabe8 100644 --- a/src/_core.vars.scss +++ b/src/_core.vars.scss | |||
@@ -3,59 +3,59 @@ | |||
3 | @use 'sass:map'; | 3 | @use 'sass:map'; |
4 | @use 'sass:meta'; | 4 | @use 'sass:meta'; |
5 | @use 'sass:list'; | 5 | @use 'sass:list'; |
6 | @use 'iro-sass/src/iro-sass' as iro; | ||
7 | @use 'functions' as fn; | 6 | @use 'functions' as fn; |
8 | @use 'config'; | 7 | @use 'config'; |
9 | @use 'props'; | 8 | @use 'iro-sass/src/functions'; |
9 | @use 'iro-sass/src/props'; | ||
10 | 10 | ||
11 | $size--0: props.def(--size--0, 0) !default; | 11 | $size--0: props.def(--size--0, 0) !default; |
12 | $size--10: props.def(--size--10, iro.fn-px-to-rem(1px)) !default; | 12 | $size--10: props.def(--size--10, functions.px-to-rem(1px)) !default; |
13 | $size--25: props.def(--size--25, iro.fn-px-to-rem(2px)) !default; | 13 | $size--25: props.def(--size--25, functions.px-to-rem(2px)) !default; |
14 | $size--40: props.def(--size--40, iro.fn-px-to-rem(3px)) !default; | 14 | $size--40: props.def(--size--40, functions.px-to-rem(3px)) !default; |
15 | $size--50: props.def(--size--50, iro.fn-px-to-rem(4px)) !default; | 15 | $size--50: props.def(--size--50, functions.px-to-rem(4px)) !default; |
16 | $size--65: props.def(--size--65, iro.fn-px-to-rem(5px)) !default; | 16 | $size--65: props.def(--size--65, functions.px-to-rem(5px)) !default; |
17 | $size--75: props.def(--size--75, iro.fn-px-to-rem(6px)) !default; | 17 | $size--75: props.def(--size--75, functions.px-to-rem(6px)) !default; |
18 | $size--85: props.def(--size--85, iro.fn-px-to-rem(7px)) !default; | 18 | $size--85: props.def(--size--85, functions.px-to-rem(7px)) !default; |
19 | $size--100: props.def(--size--100, iro.fn-px-to-rem(8px)) !default; | 19 | $size--100: props.def(--size--100, functions.px-to-rem(8px)) !default; |
20 | $size--115: props.def(--size--115, iro.fn-px-to-rem(9px)) !default; | 20 | $size--115: props.def(--size--115, functions.px-to-rem(9px)) !default; |
21 | $size--125: props.def(--size--125, iro.fn-px-to-rem(10px)) !default; | 21 | $size--125: props.def(--size--125, functions.px-to-rem(10px)) !default; |
22 | $size--130: props.def(--size--130, iro.fn-px-to-rem(11px)) !default; | 22 | $size--130: props.def(--size--130, functions.px-to-rem(11px)) !default; |
23 | $size--150: props.def(--size--150, iro.fn-px-to-rem(12px)) !default; | 23 | $size--150: props.def(--size--150, functions.px-to-rem(12px)) !default; |
24 | $size--160: props.def(--size--160, iro.fn-px-to-rem(13px)) !default; | 24 | $size--160: props.def(--size--160, functions.px-to-rem(13px)) !default; |
25 | $size--175: props.def(--size--175, iro.fn-px-to-rem(14px)) !default; | 25 | $size--175: props.def(--size--175, functions.px-to-rem(14px)) !default; |
26 | $size--200: props.def(--size--200, iro.fn-px-to-rem(16px)) !default; | 26 | $size--200: props.def(--size--200, functions.px-to-rem(16px)) !default; |
27 | $size--225: props.def(--size--225, iro.fn-px-to-rem(18px)) !default; | 27 | $size--225: props.def(--size--225, functions.px-to-rem(18px)) !default; |
28 | $size--250: props.def(--size--250, iro.fn-px-to-rem(20px)) !default; | 28 | $size--250: props.def(--size--250, functions.px-to-rem(20px)) !default; |
29 | $size--275: props.def(--size--275, iro.fn-px-to-rem(22px)) !default; | 29 | $size--275: props.def(--size--275, functions.px-to-rem(22px)) !default; |
30 | $size--300: props.def(--size--300, iro.fn-px-to-rem(24px)) !default; | 30 | $size--300: props.def(--size--300, functions.px-to-rem(24px)) !default; |
31 | $size--325: props.def(--size--325, iro.fn-px-to-rem(26px)) !default; | 31 | $size--325: props.def(--size--325, functions.px-to-rem(26px)) !default; |
32 | $size--350: props.def(--size--350, iro.fn-px-to-rem(28px)) !default; | 32 | $size--350: props.def(--size--350, functions.px-to-rem(28px)) !default; |
33 | $size--375: props.def(--size--375, iro.fn-px-to-rem(30px)) !default; | 33 | $size--375: props.def(--size--375, functions.px-to-rem(30px)) !default; |
34 | $size--400: props.def(--size--400, iro.fn-px-to-rem(32px)) !default; | 34 | $size--400: props.def(--size--400, functions.px-to-rem(32px)) !default; |
35 | $size--450: props.def(--size--450, iro.fn-px-to-rem(36px)) !default; | 35 | $size--450: props.def(--size--450, functions.px-to-rem(36px)) !default; |
36 | $size--500: props.def(--size--500, iro.fn-px-to-rem(40px)) !default; | 36 | $size--500: props.def(--size--500, functions.px-to-rem(40px)) !default; |
37 | $size--550: props.def(--size--550, iro.fn-px-to-rem(44px)) !default; | 37 | $size--550: props.def(--size--550, functions.px-to-rem(44px)) !default; |
38 | $size--600: props.def(--size--600, iro.fn-px-to-rem(48px)) !default; | 38 | $size--600: props.def(--size--600, functions.px-to-rem(48px)) !default; |
39 | $size--650: props.def(--size--650, iro.fn-px-to-rem(52px)) !default; | 39 | $size--650: props.def(--size--650, functions.px-to-rem(52px)) !default; |
40 | $size--700: props.def(--size--700, iro.fn-px-to-rem(56px)) !default; | 40 | $size--700: props.def(--size--700, functions.px-to-rem(56px)) !default; |
41 | $size--800: props.def(--size--800, iro.fn-px-to-rem(64px)) !default; | 41 | $size--800: props.def(--size--800, functions.px-to-rem(64px)) !default; |
42 | $size--900: props.def(--size--900, iro.fn-px-to-rem(72px)) !default; | 42 | $size--900: props.def(--size--900, functions.px-to-rem(72px)) !default; |
43 | $size--1000: props.def(--size--1000, iro.fn-px-to-rem(80px)) !default; | 43 | $size--1000: props.def(--size--1000, functions.px-to-rem(80px)) !default; |
44 | $size--1200: props.def(--size--1200, iro.fn-px-to-rem(96px)) !default; | 44 | $size--1200: props.def(--size--1200, functions.px-to-rem(96px)) !default; |
45 | $size--1600: props.def(--size--1600, iro.fn-px-to-rem(128px)) !default; | 45 | $size--1600: props.def(--size--1600, functions.px-to-rem(128px)) !default; |
46 | $size--2000: props.def(--size--2000, iro.fn-px-to-rem(160px)) !default; | 46 | $size--2000: props.def(--size--2000, functions.px-to-rem(160px)) !default; |
47 | $size--2400: props.def(--size--2400, iro.fn-px-to-rem(192px)) !default; | 47 | $size--2400: props.def(--size--2400, functions.px-to-rem(192px)) !default; |
48 | $size--2500: props.def(--size--2500, iro.fn-px-to-rem(200px)) !default; | 48 | $size--2500: props.def(--size--2500, functions.px-to-rem(200px)) !default; |
49 | $size--2600: props.def(--size--2600, iro.fn-px-to-rem(208px)) !default; | 49 | $size--2600: props.def(--size--2600, functions.px-to-rem(208px)) !default; |
50 | $size--2800: props.def(--size--2800, iro.fn-px-to-rem(224px)) !default; | 50 | $size--2800: props.def(--size--2800, functions.px-to-rem(224px)) !default; |
51 | $size--3200: props.def(--size--3200, iro.fn-px-to-rem(256px)) !default; | 51 | $size--3200: props.def(--size--3200, functions.px-to-rem(256px)) !default; |
52 | $size--3400: props.def(--size--3400, iro.fn-px-to-rem(272px)) !default; | 52 | $size--3400: props.def(--size--3400, functions.px-to-rem(272px)) !default; |
53 | $size--3500: props.def(--size--3500, iro.fn-px-to-rem(280px)) !default; | 53 | $size--3500: props.def(--size--3500, functions.px-to-rem(280px)) !default; |
54 | $size--3600: props.def(--size--3600, iro.fn-px-to-rem(288px)) !default; | 54 | $size--3600: props.def(--size--3600, functions.px-to-rem(288px)) !default; |
55 | $size--3800: props.def(--size--3800, iro.fn-px-to-rem(304px)) !default; | 55 | $size--3800: props.def(--size--3800, functions.px-to-rem(304px)) !default; |
56 | $size--4600: props.def(--size--4600, iro.fn-px-to-rem(368px)) !default; | 56 | $size--4600: props.def(--size--4600, functions.px-to-rem(368px)) !default; |
57 | $size--5000: props.def(--size--5000, iro.fn-px-to-rem(400px)) !default; | 57 | $size--5000: props.def(--size--5000, functions.px-to-rem(400px)) !default; |
58 | $size--6000: props.def(--size--6000, iro.fn-px-to-rem(480px)) !default; | 58 | $size--6000: props.def(--size--6000, functions.px-to-rem(480px)) !default; |
59 | 59 | ||
60 | $font--standard--family: props.def(--font--standard--family, ('Inter', 'Open Sans', 'Segoe UI', 'Droid Sans', Roboto, Oxygen, 'Helvetica Neue', Helvetica, Tahoma, Arial, sans-serif)) !default; | 60 | $font--standard--family: props.def(--font--standard--family, ('Inter', 'Open Sans', 'Segoe UI', 'Droid Sans', Roboto, Oxygen, 'Helvetica Neue', Helvetica, Tahoma, Arial, sans-serif)) !default; |
61 | $font--standard--line-height: props.def(--font--standard--line-height, 1.5) !default; | 61 | $font--standard--line-height: props.def(--font--standard--line-height, 1.5) !default; |
@@ -70,20 +70,20 @@ $font--mono--family: props.def(--font--mono--family, ('Iosevka Ter | |||
70 | $font--mono--line-height: props.def(--font--mono--line-height, 1.4) !default; | 70 | $font--mono--line-height: props.def(--font--mono--line-height, 1.4) !default; |
71 | $font--mono--feature-settings: props.def(--font--mono--feature-settings, ('\'calt\'' 0, '\'dlig\' 1', '\'ss09\' 1')) !default; | 71 | $font--mono--feature-settings: props.def(--font--mono--feature-settings, ('\'calt\'' 0, '\'dlig\' 1', '\'ss09\' 1')) !default; |
72 | 72 | ||
73 | $font-size--50: props.def(--font-size--50, iro.fn-px-to-rem(12px)) !default; | 73 | $font-size--50: props.def(--font-size--50, functions.px-to-rem(12px)) !default; |
74 | $font-size--75: props.def(--font-size--75 , iro.fn-px-to-rem(13px)) !default; | 74 | $font-size--75: props.def(--font-size--75 , functions.px-to-rem(13px)) !default; |
75 | $font-size--100: props.def(--font-size--100, iro.fn-px-to-rem(14px)) !default; | 75 | $font-size--100: props.def(--font-size--100, functions.px-to-rem(14px)) !default; |
76 | $font-size--150: props.def(--font-size--150, iro.fn-px-to-rem(16px)) !default; | 76 | $font-size--150: props.def(--font-size--150, functions.px-to-rem(16px)) !default; |
77 | $font-size--200: props.def(--font-size--200, iro.fn-px-to-rem(18px)) !default; | 77 | $font-size--200: props.def(--font-size--200, functions.px-to-rem(18px)) !default; |
78 | $font-size--300: props.def(--font-size--300, iro.fn-px-to-rem(20px)) !default; | 78 | $font-size--300: props.def(--font-size--300, functions.px-to-rem(20px)) !default; |
79 | $font-size--400: props.def(--font-size--400, iro.fn-px-to-rem(24px)) !default; | 79 | $font-size--400: props.def(--font-size--400, functions.px-to-rem(24px)) !default; |
80 | $font-size--500: props.def(--font-size--500, iro.fn-px-to-rem(28px)) !default; | 80 | $font-size--500: props.def(--font-size--500, functions.px-to-rem(28px)) !default; |
81 | $font-size--600: props.def(--font-size--600, iro.fn-px-to-rem(32px)) !default; | 81 | $font-size--600: props.def(--font-size--600, functions.px-to-rem(32px)) !default; |
82 | $font-size--700: props.def(--font-size--700, iro.fn-px-to-rem(36px)) !default; | 82 | $font-size--700: props.def(--font-size--700, functions.px-to-rem(36px)) !default; |
83 | $font-size--800: props.def(--font-size--800, iro.fn-px-to-rem(40px)) !default; | 83 | $font-size--800: props.def(--font-size--800, functions.px-to-rem(40px)) !default; |
84 | $font-size--900: props.def(--font-size--900, iro.fn-px-to-rem(45px)) !default; | 84 | $font-size--900: props.def(--font-size--900, functions.px-to-rem(45px)) !default; |
85 | $font-size--1000: props.def(--font-size--1000, iro.fn-px-to-rem(50px)) !default; | 85 | $font-size--1000: props.def(--font-size--1000, functions.px-to-rem(50px)) !default; |
86 | $font-size--1100: props.def(--font-size--1100, iro.fn-px-to-rem(60px)) !default; | 86 | $font-size--1100: props.def(--font-size--1100, functions.px-to-rem(60px)) !default; |
87 | 87 | ||
88 | $border-width--thick: props.def(--border-width--thick, 4px) !default; | 88 | $border-width--thick: props.def(--border-width--thick, 4px) !default; |
89 | $border-width--medium: props.def(--border-width--medium, 2px) !default; | 89 | $border-width--medium: props.def(--border-width--medium, 2px) !default; |
@@ -155,12 +155,12 @@ $themes: (); | |||
155 | @if meta.type-of($ref) == 'map' { | 155 | @if meta.type-of($ref) == 'map' { |
156 | @each $key, $r in $ref { | 156 | @each $key, $r in $ref { |
157 | $re1: list.nth($r, 1); | 157 | $re1: list.nth($r, 1); |
158 | $re2: iro.fn-list-slice($r, 2); | 158 | $re2: functions.list-slice($r, 2); |
159 | $res: map.merge($res, ($key: props.get($compiled, $re1, $re2...))); | 159 | $res: map.merge($res, ($key: props.get($compiled, $re1, $re2...))); |
160 | } | 160 | } |
161 | } @else { | 161 | } @else { |
162 | $ref1: list.nth($ref, 1); | 162 | $ref1: list.nth($ref, 1); |
163 | $ref2: iro.fn-list-slice($ref, 2); | 163 | $ref2: functions.list-slice($ref, 2); |
164 | $res: props.get($compiled, $ref1, $ref2...); | 164 | $res: props.get($compiled, $ref1, $ref2...); |
165 | } | 165 | } |
166 | 166 | ||
diff --git a/src/_props.scss b/src/_props.scss index 09082a3..8529cd8 100644 --- a/src/_props.scss +++ b/src/_props.scss | |||
@@ -3,9 +3,7 @@ | |||
3 | @use 'sass:meta'; | 3 | @use 'sass:meta'; |
4 | @use 'config'; | 4 | @use 'config'; |
5 | @use 'include-media/dist/include-media' as media; | 5 | @use 'include-media/dist/include-media' as media; |
6 | @use 'iro-sass/src/iro-sass' as iro; | 6 | @use 'iro-sass/src/props' as props; |
7 | |||
8 | @forward 'iro-sass/src/props'; | ||
9 | 7 | ||
10 | @mixin materialize($ref) { | 8 | @mixin materialize($ref) { |
11 | @if meta.type-of($ref) == 'map' { | 9 | @if meta.type-of($ref) == 'map' { |
@@ -13,32 +11,32 @@ | |||
13 | } | 11 | } |
14 | 12 | ||
15 | :root { | 13 | :root { |
16 | @include iro.props-materialize($ref, null); | 14 | @include props.materialize($ref, null); |
17 | 15 | ||
18 | @each $breakpoint in map.keys(media.$breakpoints) { | 16 | @each $breakpoint in map.keys(media.$breakpoints) { |
19 | @include media.media('<=#{$breakpoint}') { | 17 | @include media.media('<=#{$breakpoint}') { |
20 | @include iro.props-materialize($ref, $breakpoint); | 18 | @include props.materialize($ref, $breakpoint); |
21 | } | 19 | } |
22 | } | 20 | } |
23 | 21 | ||
24 | @media (prefers-color-scheme: dark) { | 22 | @media (prefers-color-scheme: dark) { |
25 | @include iro.props-materialize($ref, 'dark'); | 23 | @include props.materialize($ref, 'dark'); |
26 | } | 24 | } |
27 | } | 25 | } |
28 | 26 | ||
29 | @each $theme-name in map.keys(config.$themes) { | 27 | @each $theme-name in map.keys(config.$themes) { |
30 | @if $theme-name != config.$theme-default { | 28 | @if $theme-name != config.$theme-default { |
31 | @include iro.bem-theme($theme-name) { | 29 | @include iro.bem-theme($theme-name) { |
32 | @include iro.props-materialize($ref, null); | 30 | @include props.materialize($ref, null); |
33 | 31 | ||
34 | @each $breakpoint in map.keys(media.$breakpoints) { | 32 | @each $breakpoint in map.keys(media.$breakpoints) { |
35 | @include media.media('<=#{$breakpoint}') { | 33 | @include media.media('<=#{$breakpoint}') { |
36 | @include iro.props-materialize($ref, $breakpoint); | 34 | @include props.materialize($ref, $breakpoint); |
37 | } | 35 | } |
38 | } | 36 | } |
39 | 37 | ||
40 | @media (prefers-color-scheme: dark) { | 38 | @media (prefers-color-scheme: dark) { |
41 | @include iro.props-materialize($ref, 'dark'); | 39 | @include props.materialize($ref, 'dark'); |
42 | } | 40 | } |
43 | } | 41 | } |
44 | } | 42 | } |
diff --git a/src/_themes.scss b/src/_themes.scss index bfce7d9..f246465 100644 --- a/src/_themes.scss +++ b/src/_themes.scss | |||
@@ -1,7 +1,7 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
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 'include-media/dist/include-media' as media; | 4 | @use 'include-media/dist/include-media' as media; |
4 | @use 'props'; | ||
5 | 5 | ||
6 | @use 'core.vars' as vars; | 6 | @use 'core.vars' as vars; |
7 | @forward 'core.vars'; | 7 | @forward 'core.vars'; |
diff --git a/src/_utils.scss b/src/_utils.scss index fdec622..3560888 100644 --- a/src/_utils.scss +++ b/src/_utils.scss | |||
@@ -1,7 +1,7 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
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 'include-media/dist/include-media' as media; | 4 | @use 'include-media/dist/include-media' as media; |
4 | @use 'props'; | ||
5 | 5 | ||
6 | @use 'core.vars' as vars; | 6 | @use 'core.vars' as vars; |
7 | @forward 'core.vars'; | 7 | @forward 'core.vars'; |
diff --git a/src/layouts/_button-group.scss b/src/layouts/_button-group.scss index 95b63c9..3901cae 100644 --- a/src/layouts/_button-group.scss +++ b/src/layouts/_button-group.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | 4 | ||
5 | @forward 'button-group.vars'; | 5 | @forward 'button-group.vars'; |
6 | @use 'button-group.vars' as vars; | 6 | @use 'button-group.vars' as vars; |
diff --git a/src/layouts/_button-group.vars.scss b/src/layouts/_button-group.vars.scss index f42f2d4..95ac8f8 100644 --- a/src/layouts/_button-group.vars.scss +++ b/src/layouts/_button-group.vars.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | @use '../props'; | 1 | @use 'iro-sass/src/props'; |
2 | @use '../core.vars' as core; | 2 | @use '../core.vars' as core; |
3 | 3 | ||
4 | $spacing: props.def(--l-button-group--spacing, props.get(core.$size--150)) !default; | 4 | $spacing: props.def(--l-button-group--spacing, props.get(core.$size--150)) !default; |
diff --git a/src/layouts/_card-list.scss b/src/layouts/_card-list.scss index 1aea7bc..b5d76a6 100644 --- a/src/layouts/_card-list.scss +++ b/src/layouts/_card-list.scss | |||
@@ -1,7 +1,7 @@ | |||
1 | @use 'sass:meta'; | 1 | @use 'sass:meta'; |
2 | @use 'include-media/dist/include-media' as media; | 2 | @use 'include-media/dist/include-media' as media; |
3 | @use 'iro-sass/src/iro-sass' as iro; | 3 | @use 'iro-sass/src/iro-sass' as iro; |
4 | @use '../props'; | 4 | @use 'iro-sass/src/props'; |
5 | 5 | ||
6 | @forward 'card-list.vars'; | 6 | @forward 'card-list.vars'; |
7 | @use 'card-list.vars' as vars; | 7 | @use 'card-list.vars' as vars; |
diff --git a/src/layouts/_card-list.vars.scss b/src/layouts/_card-list.vars.scss index 05204d0..c2df3ef 100644 --- a/src/layouts/_card-list.vars.scss +++ b/src/layouts/_card-list.vars.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | @use '../props'; | 1 | @use 'iro-sass/src/props'; |
2 | @use '../core.vars' as core; | 2 | @use '../core.vars' as core; |
3 | 3 | ||
4 | $row-gap: props.def(--l-card-list--row-gap, props.get(core.$size--800)) !default; | 4 | $row-gap: props.def(--l-card-list--row-gap, props.get(core.$size--800)) !default; |
diff --git a/src/layouts/_container.scss b/src/layouts/_container.scss index 34c4bf0..7c43bad 100644 --- a/src/layouts/_container.scss +++ b/src/layouts/_container.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | 4 | ||
5 | @forward 'container.vars'; | 5 | @forward 'container.vars'; |
6 | @use 'container.vars' as vars; | 6 | @use 'container.vars' as vars; |
diff --git a/src/layouts/_container.vars.scss b/src/layouts/_container.vars.scss index 74114b2..f5343a6 100644 --- a/src/layouts/_container.vars.scss +++ b/src/layouts/_container.vars.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use 'iro-sass/src/iro-sass' as iro; | 1 | @use 'iro-sass/src/iro-sass' as iro; |
2 | @use '../props'; | 2 | @use 'iro-sass/src/props'; |
3 | @use '../core.vars' as core; | 3 | @use '../core.vars' as core; |
4 | 4 | ||
5 | $fixed-125: props.def(--l-container--fixed-125, iro.fn-px-to-rem(720px)) !default; | 5 | $fixed-125: props.def(--l-container--fixed-125, iro.fn-px-to-rem(720px)) !default; |
diff --git a/src/layouts/_form.scss b/src/layouts/_form.scss index 824d7ca..2626722 100644 --- a/src/layouts/_form.scss +++ b/src/layouts/_form.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | 4 | ||
5 | @forward 'form.vars'; | 5 | @forward 'form.vars'; |
6 | @use 'form.vars' as vars; | 6 | @use 'form.vars' as vars; |
diff --git a/src/layouts/_form.vars.scss b/src/layouts/_form.vars.scss index e2cd1a9..c533e6b 100644 --- a/src/layouts/_form.vars.scss +++ b/src/layouts/_form.vars.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | @use '../props'; | 1 | @use 'iro-sass/src/props'; |
2 | @use '../core.vars' as core; | 2 | @use '../core.vars' as core; |
3 | 3 | ||
4 | $item-spacing-b: props.def(--l-form--item-spacing-b, props.get(core.$size--325)) !default; | 4 | $item-spacing-b: props.def(--l-form--item-spacing-b, props.get(core.$size--325)) !default; |
diff --git a/src/layouts/_media.scss b/src/layouts/_media.scss index 7483f12..8b8acd4 100644 --- a/src/layouts/_media.scss +++ b/src/layouts/_media.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | 4 | ||
5 | @forward 'media.vars'; | 5 | @forward 'media.vars'; |
6 | @use 'media.vars' as vars; | 6 | @use 'media.vars' as vars; |
diff --git a/src/layouts/_media.vars.scss b/src/layouts/_media.vars.scss index e082d0c..fd6d986 100644 --- a/src/layouts/_media.vars.scss +++ b/src/layouts/_media.vars.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | @use '../props'; | 1 | @use 'iro-sass/src/props'; |
2 | @use '../core.vars' as core; | 2 | @use '../core.vars' as core; |
3 | 3 | ||
4 | $gap: props.def(--l-media--gap, props.get(core.$size--150)) !default; | 4 | $gap: props.def(--l-media--gap, props.get(core.$size--150)) !default; |
diff --git a/src/layouts/_overflow.scss b/src/layouts/_overflow.scss index d9f028f..3489ed7 100644 --- a/src/layouts/_overflow.scss +++ b/src/layouts/_overflow.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use 'iro-sass/src/iro-sass' as iro; | 1 | @use 'iro-sass/src/iro-sass' as iro; |
2 | @use '../props'; | 2 | @use 'iro-sass/src/props'; |
3 | @use '../core.vars' as core; | 3 | @use '../core.vars' as core; |
4 | 4 | ||
5 | @mixin styles { | 5 | @mixin styles { |
diff --git a/src/objects/_action-button.scss b/src/objects/_action-button.scss index 8efdad9..30b3dee 100644 --- a/src/objects/_action-button.scss +++ b/src/objects/_action-button.scss | |||
@@ -3,7 +3,7 @@ | |||
3 | @use 'sass:meta'; | 3 | @use 'sass:meta'; |
4 | @use 'sass:string'; | 4 | @use 'sass:string'; |
5 | @use 'iro-sass/src/iro-sass' as iro; | 5 | @use 'iro-sass/src/iro-sass' as iro; |
6 | @use '../props'; | 6 | @use 'iro-sass/src/props'; |
7 | 7 | ||
8 | @forward 'action-button.vars'; | 8 | @forward 'action-button.vars'; |
9 | @use 'action-button.vars' as vars; | 9 | @use 'action-button.vars' as vars; |
diff --git a/src/objects/_action-button.vars.scss b/src/objects/_action-button.vars.scss index ec312b4..80ef9c8 100644 --- a/src/objects/_action-button.vars.scss +++ b/src/objects/_action-button.vars.scss | |||
@@ -1,6 +1,6 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
2 | @use 'sass:string'; | 2 | @use 'sass:string'; |
3 | @use '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | @use '../core.vars' as core; | 4 | @use '../core.vars' as core; |
5 | 5 | ||
6 | $line-height: props.def(--o-action-button--line-height, 1.4) !default; | 6 | $line-height: props.def(--o-action-button--line-height, 1.4) !default; |
diff --git a/src/objects/_alert.scss b/src/objects/_alert.scss index 4efacab..cb23d25 100644 --- a/src/objects/_alert.scss +++ b/src/objects/_alert.scss | |||
@@ -1,7 +1,7 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
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 '../props'; | 4 | @use 'iro-sass/src/props'; |
5 | 5 | ||
6 | @forward 'alert.vars'; | 6 | @forward 'alert.vars'; |
7 | @use 'alert.vars' as vars; | 7 | @use 'alert.vars' as vars; |
diff --git a/src/objects/_alert.vars.scss b/src/objects/_alert.vars.scss index 7290699..0c140b1 100644 --- a/src/objects/_alert.vars.scss +++ b/src/objects/_alert.vars.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | @use '../props'; | 1 | @use 'iro-sass/src/props'; |
2 | @use '../core.vars' as core; | 2 | @use '../core.vars' as core; |
3 | 3 | ||
4 | $border-width: props.def(--o-alert--border-width, props.get(core.$border-width--medium)) !default; | 4 | $border-width: props.def(--o-alert--border-width, props.get(core.$border-width--medium)) !default; |
diff --git a/src/objects/_avatar.scss b/src/objects/_avatar.scss index 45567b9..3fcd0f1 100644 --- a/src/objects/_avatar.scss +++ b/src/objects/_avatar.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | 4 | ||
5 | @forward 'avatar.vars'; | 5 | @forward 'avatar.vars'; |
6 | @use 'avatar.vars' as vars; | 6 | @use 'avatar.vars' as vars; |
diff --git a/src/objects/_avatar.vars.scss b/src/objects/_avatar.vars.scss index 74d9677..a9bb532 100644 --- a/src/objects/_avatar.vars.scss +++ b/src/objects/_avatar.vars.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | @use '../props'; | 1 | @use 'iro-sass/src/props'; |
2 | @use '../core.vars' as core; | 2 | @use '../core.vars' as core; |
3 | 3 | ||
4 | $size: props.def(--o-avatar--size, props.get(core.$size--500)) !default; | 4 | $size: props.def(--o-avatar--size, props.get(core.$size--500)) !default; |
diff --git a/src/objects/_backdrop.scss b/src/objects/_backdrop.scss index 82246ed..5ba46f4 100644 --- a/src/objects/_backdrop.scss +++ b/src/objects/_backdrop.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | 4 | ||
5 | @forward 'backdrop.vars'; | 5 | @forward 'backdrop.vars'; |
6 | @use 'backdrop.vars' as vars; | 6 | @use 'backdrop.vars' as vars; |
diff --git a/src/objects/_backdrop.vars.scss b/src/objects/_backdrop.vars.scss index c03c263..6e57652 100644 --- a/src/objects/_backdrop.vars.scss +++ b/src/objects/_backdrop.vars.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | @use '../props'; | 1 | @use 'iro-sass/src/props'; |
2 | @use '../core.vars' as core; | 2 | @use '../core.vars' as core; |
3 | 3 | ||
4 | $z-index: props.def(--o-backdrop--z-index, 10000) !default; | 4 | $z-index: props.def(--o-backdrop--z-index, 10000) !default; |
diff --git a/src/objects/_badge.scss b/src/objects/_badge.scss index 55a2051..8ad5607 100644 --- a/src/objects/_badge.scss +++ b/src/objects/_badge.scss | |||
@@ -3,7 +3,7 @@ | |||
3 | @use 'sass:meta'; | 3 | @use 'sass:meta'; |
4 | @use 'sass:string'; | 4 | @use 'sass:string'; |
5 | @use 'iro-sass/src/iro-sass' as iro; | 5 | @use 'iro-sass/src/iro-sass' as iro; |
6 | @use '../props'; | 6 | @use 'iro-sass/src/props'; |
7 | @use '../core.vars' as core; | 7 | @use '../core.vars' as core; |
8 | 8 | ||
9 | @forward 'badge.vars'; | 9 | @forward 'badge.vars'; |
diff --git a/src/objects/_badge.vars.scss b/src/objects/_badge.vars.scss index 5629a9c..4b9bf6d 100644 --- a/src/objects/_badge.vars.scss +++ b/src/objects/_badge.vars.scss | |||
@@ -1,6 +1,6 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
2 | @use 'sass:string'; | 2 | @use 'sass:string'; |
3 | @use '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | @use '../core.vars' as core; | 4 | @use '../core.vars' as core; |
5 | 5 | ||
6 | $pad-b: props.def(--o-badge--pad-b, props.get(core.$size--50)) !default; | 6 | $pad-b: props.def(--o-badge--pad-b, props.get(core.$size--50)) !default; |
diff --git a/src/objects/_button.scss b/src/objects/_button.scss index e4a656c..e21ad51 100644 --- a/src/objects/_button.scss +++ b/src/objects/_button.scss | |||
@@ -3,7 +3,7 @@ | |||
3 | @use 'sass:meta'; | 3 | @use 'sass:meta'; |
4 | @use 'sass:string'; | 4 | @use 'sass:string'; |
5 | @use 'iro-sass/src/iro-sass' as iro; | 5 | @use 'iro-sass/src/iro-sass' as iro; |
6 | @use '../props'; | 6 | @use 'iro-sass/src/props'; |
7 | @use '../core.vars' as core; | 7 | @use '../core.vars' as core; |
8 | 8 | ||
9 | @forward 'button.vars'; | 9 | @forward 'button.vars'; |
diff --git a/src/objects/_button.vars.scss b/src/objects/_button.vars.scss index b3eb2b5..b5e55d9 100644 --- a/src/objects/_button.vars.scss +++ b/src/objects/_button.vars.scss | |||
@@ -1,6 +1,6 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
2 | @use 'sass:string'; | 2 | @use 'sass:string'; |
3 | @use '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | @use '../core.vars' as core; | 4 | @use '../core.vars' as core; |
5 | 5 | ||
6 | $line-height: props.def(--o-button--line-height, 1.4) !default; | 6 | $line-height: props.def(--o-button--line-height, 1.4) !default; |
diff --git a/src/objects/_card.scss b/src/objects/_card.scss index 205bb33..0f86a60 100644 --- a/src/objects/_card.scss +++ b/src/objects/_card.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | @use 'avatar.vars' as avatar; | 4 | @use 'avatar.vars' as avatar; |
5 | 5 | ||
6 | @forward 'card.vars'; | 6 | @forward 'card.vars'; |
diff --git a/src/objects/_card.vars.scss b/src/objects/_card.vars.scss index c0f10b7..256938e 100644 --- a/src/objects/_card.vars.scss +++ b/src/objects/_card.vars.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
2 | @use '../props'; | 2 | @use 'iro-sass/src/props'; |
3 | @use '../core.vars' as core; | 3 | @use '../core.vars' as core; |
4 | 4 | ||
5 | $divider-width: props.def(--o-card--divider-width, props.get(core.$border-width--thin)) !default; | 5 | $divider-width: props.def(--o-card--divider-width, props.get(core.$border-width--thin)) !default; |
diff --git a/src/objects/_checkbox.scss b/src/objects/_checkbox.scss index c6385bc..78a9b1f 100644 --- a/src/objects/_checkbox.scss +++ b/src/objects/_checkbox.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | @use '../core.vars' as core; | 4 | @use '../core.vars' as core; |
5 | 5 | ||
6 | @forward 'checkbox.vars'; | 6 | @forward 'checkbox.vars'; |
diff --git a/src/objects/_checkbox.vars.scss b/src/objects/_checkbox.vars.scss index cba736e..faad2ba 100644 --- a/src/objects/_checkbox.vars.scss +++ b/src/objects/_checkbox.vars.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
2 | @use '../props'; | 2 | @use 'iro-sass/src/props'; |
3 | @use '../core.vars' as core; | 3 | @use '../core.vars' as core; |
4 | 4 | ||
5 | $size: props.def(--o-checkbox--size, props.get(core.$size--175)) !default; | 5 | $size: props.def(--o-checkbox--size, props.get(core.$size--175)) !default; |
diff --git a/src/objects/_divider.scss b/src/objects/_divider.scss index 122da78..bcc4c90 100644 --- a/src/objects/_divider.scss +++ b/src/objects/_divider.scss | |||
@@ -2,7 +2,7 @@ | |||
2 | @use 'sass:meta'; | 2 | @use 'sass:meta'; |
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 '../props'; | 5 | @use 'iro-sass/src/props'; |
6 | @use '../core.vars' as core; | 6 | @use '../core.vars' as core; |
7 | 7 | ||
8 | @forward 'divider.vars'; | 8 | @forward 'divider.vars'; |
diff --git a/src/objects/_divider.vars.scss b/src/objects/_divider.vars.scss index 9927a41..66656cd 100644 --- a/src/objects/_divider.vars.scss +++ b/src/objects/_divider.vars.scss | |||
@@ -1,6 +1,6 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
2 | @use 'sass:string'; | 2 | @use 'sass:string'; |
3 | @use '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | @use '../core.vars' as core; | 4 | @use '../core.vars' as core; |
5 | 5 | ||
6 | $margin-b: props.def(--o-divider--size, props.get(core.$size--85)) !default; | 6 | $margin-b: props.def(--o-divider--size, props.get(core.$size--85)) !default; |
diff --git a/src/objects/_emoji.scss b/src/objects/_emoji.scss index 7747bbf..ab03578 100644 --- a/src/objects/_emoji.scss +++ b/src/objects/_emoji.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | @use 'icon.vars' as icon; | 4 | @use 'icon.vars' as icon; |
5 | 5 | ||
6 | @forward 'emoji.vars'; | 6 | @forward 'emoji.vars'; |
diff --git a/src/objects/_emoji.vars.scss b/src/objects/_emoji.vars.scss index 458ea9a..70f838a 100644 --- a/src/objects/_emoji.vars.scss +++ b/src/objects/_emoji.vars.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
2 | @use '../props'; | 2 | @use 'iro-sass/src/props'; |
3 | @use '../core.vars' as core; | 3 | @use '../core.vars' as core; |
4 | 4 | ||
5 | $size: props.def(--o-emoji--size, calc(1 / 14 * 18em)) !default; | 5 | $size: props.def(--o-emoji--size, calc(1 / 14 * 18em)) !default; |
diff --git a/src/objects/_field-label.scss b/src/objects/_field-label.scss index 4ffe8f0..58d8b13 100644 --- a/src/objects/_field-label.scss +++ b/src/objects/_field-label.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | 4 | ||
5 | @forward 'field-label.vars'; | 5 | @forward 'field-label.vars'; |
6 | @use 'field-label.vars' as vars; | 6 | @use 'field-label.vars' as vars; |
diff --git a/src/objects/_field-label.vars.scss b/src/objects/_field-label.vars.scss index d39aa2d..1e420c3 100644 --- a/src/objects/_field-label.vars.scss +++ b/src/objects/_field-label.vars.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | @use '../props'; | 1 | @use 'iro-sass/src/props'; |
2 | @use '../core.vars' as core; | 2 | @use '../core.vars' as core; |
3 | 3 | ||
4 | $spacing-i: props.def(--o-field-label--spacing-i, props.get(core.$size--150)) !default; | 4 | $spacing-i: props.def(--o-field-label--spacing-i, props.get(core.$size--150)) !default; |
diff --git a/src/objects/_heading.scss b/src/objects/_heading.scss index b1abdf5..6ed0879 100644 --- a/src/objects/_heading.scss +++ b/src/objects/_heading.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | 4 | ||
5 | @forward 'heading.vars'; | 5 | @forward 'heading.vars'; |
6 | @use 'heading.vars' as vars; | 6 | @use 'heading.vars' as vars; |
diff --git a/src/objects/_heading.vars.scss b/src/objects/_heading.vars.scss index 58b4d74..d15e0b8 100644 --- a/src/objects/_heading.vars.scss +++ b/src/objects/_heading.vars.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | @use '../props'; | 1 | @use 'iro-sass/src/props'; |
2 | @use '../core.vars' as core; | 2 | @use '../core.vars' as core; |
3 | 3 | ||
4 | $offset: props.def(--o-heading--offset, -.02em) !default; | 4 | $offset: props.def(--o-heading--offset, -.02em) !default; |
diff --git a/src/objects/_icon.scss b/src/objects/_icon.scss index 23a606d..4a14d44 100644 --- a/src/objects/_icon.scss +++ b/src/objects/_icon.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | 4 | ||
5 | @forward 'icon.vars'; | 5 | @forward 'icon.vars'; |
6 | @use 'icon.vars' as vars; | 6 | @use 'icon.vars' as vars; |
diff --git a/src/objects/_icon.vars.scss b/src/objects/_icon.vars.scss index dedd23a..218f311 100644 --- a/src/objects/_icon.vars.scss +++ b/src/objects/_icon.vars.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | @use '../props'; | 1 | @use 'iro-sass/src/props'; |
2 | 2 | ||
3 | $stroke-width: props.def(--o-icon--stroke-width, 1.5px) !default; | 3 | $stroke-width: props.def(--o-icon--stroke-width, 1.5px) !default; |
4 | $size: props.def(--o-icon--size, calc(1 / 14 * 16em)) !default; | 4 | $size: props.def(--o-icon--size, calc(1 / 14 * 16em)) !default; |
diff --git a/src/objects/_lightbox.scss b/src/objects/_lightbox.scss index 66faab5..5bf3504 100644 --- a/src/objects/_lightbox.scss +++ b/src/objects/_lightbox.scss | |||
@@ -2,7 +2,7 @@ | |||
2 | @use 'sass:meta'; | 2 | @use 'sass:meta'; |
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 '../props'; | 5 | @use 'iro-sass/src/props'; |
6 | 6 | ||
7 | @forward 'lightbox.vars'; | 7 | @forward 'lightbox.vars'; |
8 | @use 'lightbox.vars' as vars; | 8 | @use 'lightbox.vars' as vars; |
diff --git a/src/objects/_lightbox.vars.scss b/src/objects/_lightbox.vars.scss index 3906716..d30068b 100644 --- a/src/objects/_lightbox.vars.scss +++ b/src/objects/_lightbox.vars.scss | |||
@@ -1,6 +1,6 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
2 | @use 'sass:string'; | 2 | @use 'sass:string'; |
3 | @use '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | @use '../core.vars' as core; | 4 | @use '../core.vars' as core; |
5 | 5 | ||
6 | $pad: props.def(--o-lightbox--pad, props.get(core.$size--150)) !default; | 6 | $pad: props.def(--o-lightbox--pad, props.get(core.$size--150)) !default; |
diff --git a/src/objects/_menu.scss b/src/objects/_menu.scss index f9453ce..0d651e3 100644 --- a/src/objects/_menu.scss +++ b/src/objects/_menu.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | @use 'icon.vars' as icon; | 4 | @use 'icon.vars' as icon; |
5 | 5 | ||
6 | @forward 'menu.vars'; | 6 | @forward 'menu.vars'; |
diff --git a/src/objects/_menu.vars.scss b/src/objects/_menu.vars.scss index 95cf4f3..999f2d3 100644 --- a/src/objects/_menu.vars.scss +++ b/src/objects/_menu.vars.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
2 | @use '../props'; | 2 | @use 'iro-sass/src/props'; |
3 | @use '../core.vars' as core; | 3 | @use '../core.vars' as core; |
4 | 4 | ||
5 | $spacing: props.def(--o-menu--spacing, 0em) !default; | 5 | $spacing: props.def(--o-menu--spacing, 0em) !default; |
diff --git a/src/objects/_palette.scss b/src/objects/_palette.scss index 00c0881..88ce9b5 100644 --- a/src/objects/_palette.scss +++ b/src/objects/_palette.scss | |||
@@ -3,7 +3,7 @@ | |||
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 '../config'; | 5 | @use '../config'; |
6 | @use '../props'; | 6 | @use 'iro-sass/src/props'; |
7 | @use '../core.vars' as core; | 7 | @use '../core.vars' as core; |
8 | 8 | ||
9 | @mixin styles { | 9 | @mixin styles { |
diff --git a/src/objects/_popover.scss b/src/objects/_popover.scss index f539da5..bb58b69 100644 --- a/src/objects/_popover.scss +++ b/src/objects/_popover.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | 4 | ||
5 | @forward 'popover.vars'; | 5 | @forward 'popover.vars'; |
6 | @use 'popover.vars' as vars; | 6 | @use 'popover.vars' as vars; |
diff --git a/src/objects/_popover.vars.scss b/src/objects/_popover.vars.scss index 0d776ed..d0d0ab3 100644 --- a/src/objects/_popover.vars.scss +++ b/src/objects/_popover.vars.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
2 | @use '../props'; | 2 | @use 'iro-sass/src/props'; |
3 | @use '../core.vars' as core; | 3 | @use '../core.vars' as core; |
4 | 4 | ||
5 | $z-index: props.def(--o-popover--z-index, 11000) !default; | 5 | $z-index: props.def(--o-popover--z-index, 11000) !default; |
diff --git a/src/objects/_radio.scss b/src/objects/_radio.scss index c1182d0..bb04cae 100644 --- a/src/objects/_radio.scss +++ b/src/objects/_radio.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | @use '../core.vars' as core; | 4 | @use '../core.vars' as core; |
5 | 5 | ||
6 | @forward 'radio.vars'; | 6 | @forward 'radio.vars'; |
diff --git a/src/objects/_radio.vars.scss b/src/objects/_radio.vars.scss index b776dd4..d4e4905 100644 --- a/src/objects/_radio.vars.scss +++ b/src/objects/_radio.vars.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
2 | @use '../props'; | 2 | @use 'iro-sass/src/props'; |
3 | @use '../core.vars' as core; | 3 | @use '../core.vars' as core; |
4 | 4 | ||
5 | $diameter: props.def(--o-radio--diameter, props.get(core.$size--200)) !default; | 5 | $diameter: props.def(--o-radio--diameter, props.get(core.$size--200)) !default; |
diff --git a/src/objects/_side-nav.scss b/src/objects/_side-nav.scss index 3a85560..c3baf12 100644 --- a/src/objects/_side-nav.scss +++ b/src/objects/_side-nav.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | @use 'icon.vars' as icon; | 4 | @use 'icon.vars' as icon; |
5 | 5 | ||
6 | @forward 'side-nav.vars'; | 6 | @forward 'side-nav.vars'; |
diff --git a/src/objects/_side-nav.vars.scss b/src/objects/_side-nav.vars.scss index f7dda4c..649fec7 100644 --- a/src/objects/_side-nav.vars.scss +++ b/src/objects/_side-nav.vars.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
2 | @use '../props'; | 2 | @use 'iro-sass/src/props'; |
3 | @use '../core.vars' as core; | 3 | @use '../core.vars' as core; |
4 | 4 | ||
5 | $spacing: props.def(--o-side-nav--spacing, props.get(core.$size--50)) !default; | 5 | $spacing: props.def(--o-side-nav--spacing, props.get(core.$size--50)) !default; |
diff --git a/src/objects/_status-indicator.scss b/src/objects/_status-indicator.scss index 2555894..14e3571 100644 --- a/src/objects/_status-indicator.scss +++ b/src/objects/_status-indicator.scss | |||
@@ -2,7 +2,7 @@ | |||
2 | @use 'sass:meta'; | 2 | @use 'sass:meta'; |
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 '../props'; | 5 | @use 'iro-sass/src/props'; |
6 | 6 | ||
7 | @forward 'status-indicator.vars'; | 7 | @forward 'status-indicator.vars'; |
8 | @use 'status-indicator.vars' as vars; | 8 | @use 'status-indicator.vars' as vars; |
diff --git a/src/objects/_status-indicator.vars.scss b/src/objects/_status-indicator.vars.scss index 9f828b4..d8465d7 100644 --- a/src/objects/_status-indicator.vars.scss +++ b/src/objects/_status-indicator.vars.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
2 | @use '../props'; | 2 | @use 'iro-sass/src/props'; |
3 | @use '../config'; | 3 | @use '../config'; |
4 | @use '../core.vars' as core; | 4 | @use '../core.vars' as core; |
5 | 5 | ||
diff --git a/src/objects/_switch.scss b/src/objects/_switch.scss index 5383432..4aaba98 100644 --- a/src/objects/_switch.scss +++ b/src/objects/_switch.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | @use '../core.vars' as core; | 4 | @use '../core.vars' as core; |
5 | 5 | ||
6 | @forward 'switch.vars'; | 6 | @forward 'switch.vars'; |
diff --git a/src/objects/_switch.vars.scss b/src/objects/_switch.vars.scss index 118291d..6f9a23f 100644 --- a/src/objects/_switch.vars.scss +++ b/src/objects/_switch.vars.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
2 | @use '../props'; | 2 | @use 'iro-sass/src/props'; |
3 | @use '../core.vars' as core; | 3 | @use '../core.vars' as core; |
4 | 4 | ||
5 | $inline-size: props.def(--o-switch--inline-size, props.get(core.$size--350)) !default; | 5 | $inline-size: props.def(--o-switch--inline-size, props.get(core.$size--350)) !default; |
diff --git a/src/objects/_table.scss b/src/objects/_table.scss index d5b5545..e3965ff 100644 --- a/src/objects/_table.scss +++ b/src/objects/_table.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | 4 | ||
5 | @forward 'table.vars'; | 5 | @forward 'table.vars'; |
6 | @use 'table.vars' as vars; | 6 | @use 'table.vars' as vars; |
diff --git a/src/objects/_table.vars.scss b/src/objects/_table.vars.scss index df97e17..6acbe88 100644 --- a/src/objects/_table.vars.scss +++ b/src/objects/_table.vars.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
2 | @use '../props'; | 2 | @use 'iro-sass/src/props'; |
3 | @use '../core.vars' as core; | 3 | @use '../core.vars' as core; |
4 | 4 | ||
5 | $pad-i: props.def(--o-table--pad-i, props.get(core.$size--175)) !default; | 5 | $pad-i: props.def(--o-table--pad-i, props.get(core.$size--175)) !default; |
diff --git a/src/objects/_text-field.scss b/src/objects/_text-field.scss index 793d23a..07997c3 100644 --- a/src/objects/_text-field.scss +++ b/src/objects/_text-field.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | 4 | ||
5 | @forward 'text-field.vars'; | 5 | @forward 'text-field.vars'; |
6 | @use 'text-field.vars' as vars; | 6 | @use 'text-field.vars' as vars; |
diff --git a/src/objects/_text-field.vars.scss b/src/objects/_text-field.vars.scss index 6d8abdd..d119629 100644 --- a/src/objects/_text-field.vars.scss +++ b/src/objects/_text-field.vars.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
2 | @use '../props'; | 2 | @use 'iro-sass/src/props'; |
3 | @use '../core.vars' as core; | 3 | @use '../core.vars' as core; |
4 | 4 | ||
5 | $line-height: props.def(--o-text-field--line-height, 1.4) !default; | 5 | $line-height: props.def(--o-text-field--line-height, 1.4) !default; |
diff --git a/src/scopes/_blockquotes.scss b/src/scopes/_blockquotes.scss index 7f93e42..d29ab84 100644 --- a/src/scopes/_blockquotes.scss +++ b/src/scopes/_blockquotes.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | 4 | ||
5 | @forward 'blockquotes.vars'; | 5 | @forward 'blockquotes.vars'; |
6 | @use 'blockquotes.vars' as vars; | 6 | @use 'blockquotes.vars' as vars; |
diff --git a/src/scopes/_blockquotes.vars.scss b/src/scopes/_blockquotes.vars.scss index f2cf935..f0b0484 100644 --- a/src/scopes/_blockquotes.vars.scss +++ b/src/scopes/_blockquotes.vars.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | @use '../props'; | 1 | @use 'iro-sass/src/props'; |
2 | @use '../core.vars' as core; | 2 | @use '../core.vars' as core; |
3 | @use './implicit' as implicit; | 3 | @use './implicit' as implicit; |
4 | 4 | ||
diff --git a/src/scopes/_code.scss b/src/scopes/_code.scss index 0d8cdd0..989f8a2 100644 --- a/src/scopes/_code.scss +++ b/src/scopes/_code.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | 4 | ||
5 | @forward 'code.vars'; | 5 | @forward 'code.vars'; |
6 | @use 'code.vars' as vars; | 6 | @use 'code.vars' as vars; |
diff --git a/src/scopes/_code.vars.scss b/src/scopes/_code.vars.scss index ee7463d..581347c 100644 --- a/src/scopes/_code.vars.scss +++ b/src/scopes/_code.vars.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | @use '../props'; | 1 | @use 'iro-sass/src/props'; |
2 | @use '../core.vars' as core; | 2 | @use '../core.vars' as core; |
3 | @use './implicit' as implicit; | 3 | @use './implicit' as implicit; |
4 | 4 | ||
diff --git a/src/scopes/_headings.scss b/src/scopes/_headings.scss index f6f62c3..c786a75 100644 --- a/src/scopes/_headings.scss +++ b/src/scopes/_headings.scss | |||
@@ -1,6 +1,6 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
2 | @use 'iro-sass/src/iro-sass' as iro; | 2 | @use 'iro-sass/src/iro-sass' as iro; |
3 | @use '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | @use '../objects/heading.vars' as heading; | 4 | @use '../objects/heading.vars' as heading; |
5 | 5 | ||
6 | @mixin styles { | 6 | @mixin styles { |
diff --git a/src/scopes/_implicit.scss b/src/scopes/_implicit.scss index d66950a..7f8185d 100644 --- a/src/scopes/_implicit.scss +++ b/src/scopes/_implicit.scss | |||
@@ -1,7 +1,7 @@ | |||
1 | @use 'sass:math'; | 1 | @use 'sass:math'; |
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 '../props'; | 4 | @use 'iro-sass/src/props'; |
5 | @use '../core.vars' as core; | 5 | @use '../core.vars' as core; |
6 | 6 | ||
7 | @forward 'implicit.vars'; | 7 | @forward 'implicit.vars'; |
diff --git a/src/scopes/_implicit.vars.scss b/src/scopes/_implicit.vars.scss index c3d0120..0b0f326 100644 --- a/src/scopes/_implicit.vars.scss +++ b/src/scopes/_implicit.vars.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | @use '../props'; | 1 | @use 'iro-sass/src/props'; |
2 | @use '../core.vars' as core; | 2 | @use '../core.vars' as core; |
3 | 3 | ||
4 | $paragraph--margin-bs: props.def(--s-implicit--paragraph--margin-bs, props.get(core.$size--300)) !default; | 4 | $paragraph--margin-bs: props.def(--s-implicit--paragraph--margin-bs, props.get(core.$size--300)) !default; |
diff --git a/src/scopes/_links.scss b/src/scopes/_links.scss index 81412aa..835bb7a 100644 --- a/src/scopes/_links.scss +++ b/src/scopes/_links.scss | |||
@@ -2,7 +2,7 @@ | |||
2 | @use 'sass:meta'; | 2 | @use 'sass:meta'; |
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 '../props'; | 5 | @use 'iro-sass/src/props'; |
6 | 6 | ||
7 | @forward 'links.vars'; | 7 | @forward 'links.vars'; |
8 | @use 'links.vars' as vars; | 8 | @use 'links.vars' as vars; |
diff --git a/src/scopes/_links.vars.scss b/src/scopes/_links.vars.scss index 4c6cc5d..7fae0c9 100644 --- a/src/scopes/_links.vars.scss +++ b/src/scopes/_links.vars.scss | |||
@@ -1,6 +1,6 @@ | |||
1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
2 | @use 'sass:string'; | 2 | @use 'sass:string'; |
3 | @use '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | @use '../core.vars' as core; | 4 | @use '../core.vars' as core; |
5 | 5 | ||
6 | $rounding: props.def(--s-links--rounding, props.get(core.$rounding)) !default; | 6 | $rounding: props.def(--s-links--rounding, props.get(core.$rounding)) !default; |
diff --git a/src/scopes/_lists.scss b/src/scopes/_lists.scss index 1cfe085..52e5bd9 100644 --- a/src/scopes/_lists.scss +++ b/src/scopes/_lists.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | @use '../core.vars' as core; | 4 | @use '../core.vars' as core; |
5 | 5 | ||
6 | @forward 'lists.vars'; | 6 | @forward 'lists.vars'; |
diff --git a/src/scopes/_lists.vars.scss b/src/scopes/_lists.vars.scss index 8a7852d..c4a0f22 100644 --- a/src/scopes/_lists.vars.scss +++ b/src/scopes/_lists.vars.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | @use '../props'; | 1 | @use 'iro-sass/src/props'; |
2 | @use '../core.vars' as core; | 2 | @use '../core.vars' as core; |
3 | @use './implicit' as implicit; | 3 | @use './implicit' as implicit; |
4 | 4 | ||
diff --git a/src/scopes/_tables.scss b/src/scopes/_tables.scss index b76baa3..54e3a12 100644 --- a/src/scopes/_tables.scss +++ b/src/scopes/_tables.scss | |||
@@ -1,6 +1,6 @@ | |||
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 '../props'; | 3 | @use 'iro-sass/src/props'; |
4 | @use '../objects/table.vars' as table; | 4 | @use '../objects/table.vars' as table; |
5 | 5 | ||
6 | @forward 'tables.vars'; | 6 | @forward 'tables.vars'; |
diff --git a/src/scopes/_tables.vars.scss b/src/scopes/_tables.vars.scss index 17c9eb4..362b70f 100644 --- a/src/scopes/_tables.vars.scss +++ b/src/scopes/_tables.vars.scss | |||
@@ -1,4 +1,4 @@ | |||
1 | @use '../props'; | 1 | @use 'iro-sass/src/props'; |
2 | @use 'implicit.vars' as implicit; | 2 | @use 'implicit.vars' as implicit; |
3 | 3 | ||
4 | $margin-bs: props.def(--s-tables--margin-bs, props.get(implicit.$paragraph--margin-bs)) !default; | 4 | $margin-bs: props.def(--s-tables--margin-bs, props.get(implicit.$paragraph--margin-bs)) !default; |