From c41e16f6044548e27fbf8e4ef65ed3067278c80b Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 19 Oct 2024 17:14:45 +0200 Subject: Update --- src/_core.vars.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/_core.vars.scss') 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 @@ @use 'sass:list'; @use 'iro-sass/src/iro-sass' as iro; @use 'functions' as fn; -@use 'themes'; +@use 'config'; @use 'props'; $size--0: props.def(--size--0, 0) !default; @@ -104,8 +104,8 @@ $list--compact-indent: props.def(--list--indent, props.get($size--250)) !default $static-colors: props.def(--static-colors); -@each $palette-name, $palette in map.get(themes.$static-colors, --palettes) { - $palette: fn.palette($palette, map.get(themes.$static-colors, --contrasts), 1, map.get(themes.$static-colors, --base)); +@each $palette-name, $palette in map.get(config.$static-colors, --palettes) { + $palette: fn.palette($palette, map.get(config.$static-colors, --contrasts), 1, map.get(config.$static-colors, --base)); $static-colors: props.merge($static-colors, ( $palette-name: $palette )); } @@ -117,7 +117,7 @@ $transparent-colors: props.def(--transparent-colors); $color: list.nth($palette, 1); $text: list.nth($palette, 2); - $palette: fn.transparent-palette($color, $text, map.get(themes.$static-colors, --transparents)); + $palette: fn.transparent-palette($color, $text, map.get(config.$static-colors, --transparents)); $transparent-colors: props.merge($transparent-colors, ( $palette-name: $palette )); } @@ -125,7 +125,7 @@ $transparent-colors: props.def(--transparent-colors); $themes: (); -@each $theme-name, $theme in themes.$themes { +@each $theme-name, $theme in config.$themes { @each $variant-name, $variant in $theme { $compiled: props.def(--colors); @@ -182,4 +182,4 @@ $themes: (); } } -$theme: map.get($themes, themes.$theme-default, light) !default; +$theme: map.get($themes, config.$theme-default, light) !default; -- cgit v1.2.3-70-g09d2