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.scss7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/_core.vars.scss b/src/_core.vars.scss
index a11cf42..60565c7 100644
--- a/src/_core.vars.scss
+++ b/src/_core.vars.scss
@@ -107,7 +107,7 @@ $list--compact-indent: props.def(--list--compact-indent, props.get($size--250))
107$-static-colors: (); 107$-static-colors: ();
108 108
109@each $palette-name, $palette in map.get(config.$static-colors, --palettes) { 109@each $palette-name, $palette in map.get(config.$static-colors, --palettes) {
110 $palette: fn.palette($palette, map.get(config.$static-colors, --contrasts), 1, map.get(config.$static-colors, --base), config.$palette-chroma-easing); 110 $palette: fn.palette($palette, map.get(config.$static-colors, --levels), map.get(config.$static-colors, --base));
111 $-static-colors: map.merge($-static-colors, ( $palette-name: $palette )); 111 $-static-colors: map.merge($-static-colors, ( $palette-name: $palette ));
112} 112}
113 113
@@ -138,10 +138,9 @@ $themes: ();
138 138
139 @each $palette-name, $palette in map.get($variant, --palettes) { 139 @each $palette-name, $palette in map.get($variant, --palettes) {
140 $base-color: list.nth($palette, 1); 140 $base-color: list.nth($palette, 1);
141 $contrasts: list.nth($palette, 2); 141 $levels: list.nth($palette, 2);
142 $ranges: list.nth($palette, 3);
143 142
144 $palette: fn.palette($base-color, map.get($variant, --contrasts, $contrasts), map.get($variant, --ranges, $ranges), list.nth(map.get($variant, --palettes, --base), 1), config.$palette-chroma-easing); 143 $palette: fn.palette($base-color, map.get($variant, --levels, $levels), list.nth(map.get($variant, --palettes, --base), 1));
145 $compiled: props.merge($compiled, ( $palette-name: $palette )); 144 $compiled: props.merge($compiled, ( $palette-name: $palette ));
146 } 145 }
147 146