summaryrefslogtreecommitdiffstats
path: root/src/_core.vars.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/_core.vars.scss')
-rw-r--r--src/_core.vars.scss12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/_core.vars.scss b/src/_core.vars.scss
index abaf879..3b23c32 100644
--- a/src/_core.vars.scss
+++ b/src/_core.vars.scss
@@ -3,7 +3,7 @@
3@use 'sass:list'; 3@use 'sass:list';
4@use 'iro-sass/src/iro-sass' as iro; 4@use 'iro-sass/src/iro-sass' as iro;
5@use 'functions' as fn; 5@use 'functions' as fn;
6@use 'themes'; 6@use 'config';
7@use 'props'; 7@use 'props';
8 8
9$size--0: props.def(--size--0, 0) !default; 9$size--0: props.def(--size--0, 0) !default;
@@ -104,8 +104,8 @@ $list--compact-indent: props.def(--list--indent, props.get($size--250)) !default
104 104
105$static-colors: props.def(--static-colors); 105$static-colors: props.def(--static-colors);
106 106
107@each $palette-name, $palette in map.get(themes.$static-colors, --palettes) { 107@each $palette-name, $palette in map.get(config.$static-colors, --palettes) {
108 $palette: fn.palette($palette, map.get(themes.$static-colors, --contrasts), 1, map.get(themes.$static-colors, --base)); 108 $palette: fn.palette($palette, map.get(config.$static-colors, --contrasts), 1, map.get(config.$static-colors, --base));
109 $static-colors: props.merge($static-colors, ( $palette-name: $palette )); 109 $static-colors: props.merge($static-colors, ( $palette-name: $palette ));
110} 110}
111 111
@@ -117,7 +117,7 @@ $transparent-colors: props.def(--transparent-colors);
117 $color: list.nth($palette, 1); 117 $color: list.nth($palette, 1);
118 $text: list.nth($palette, 2); 118 $text: list.nth($palette, 2);
119 119
120 $palette: fn.transparent-palette($color, $text, map.get(themes.$static-colors, --transparents)); 120 $palette: fn.transparent-palette($color, $text, map.get(config.$static-colors, --transparents));
121 $transparent-colors: props.merge($transparent-colors, ( $palette-name: $palette )); 121 $transparent-colors: props.merge($transparent-colors, ( $palette-name: $palette ));
122} 122}
123 123
@@ -125,7 +125,7 @@ $transparent-colors: props.def(--transparent-colors);
125 125
126$themes: (); 126$themes: ();
127 127
128@each $theme-name, $theme in themes.$themes { 128@each $theme-name, $theme in config.$themes {
129 @each $variant-name, $variant in $theme { 129 @each $variant-name, $variant in $theme {
130 $compiled: props.def(--colors); 130 $compiled: props.def(--colors);
131 131
@@ -182,4 +182,4 @@ $themes: ();
182 } 182 }
183} 183}
184 184
185$theme: map.get($themes, themes.$theme-default, light) !default; 185$theme: map.get($themes, config.$theme-default, light) !default;