summaryrefslogtreecommitdiffstats
path: root/src/_core.vars.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-10-25 19:37:52 +0200
committerVolpeon <git@volpeon.ink>2024-10-25 19:37:52 +0200
commite0815613914e16d73a30efe709a74b994cc31963 (patch)
tree9876cb3b6937173fd4dd62958d5c9d1ba6feea87 /src/_core.vars.scss
parentNew palette generation (diff)
downloadiro-design-e0815613914e16d73a30efe709a74b994cc31963.tar.gz
iro-design-e0815613914e16d73a30efe709a74b994cc31963.tar.bz2
iro-design-e0815613914e16d73a30efe709a74b994cc31963.zip
More efficient theming
Diffstat (limited to 'src/_core.vars.scss')
-rw-r--r--src/_core.vars.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/_core.vars.scss b/src/_core.vars.scss
index 60565c7..53c7067 100644
--- a/src/_core.vars.scss
+++ b/src/_core.vars.scss
@@ -113,7 +113,7 @@ $-static-colors: ();
113 113
114// 114//
115 115
116$transparent-colors: props.def(--transparent-colors); 116$transparent-colors: props.def(--transparent-colors, (), 'color');
117 117
118@each $palette-name, $palette in (--black: #000 #fff, --white: #fff #000) { 118@each $palette-name, $palette in (--black: #000 #fff, --white: #fff #000) {
119 $color: list.nth($palette, 1); 119 $color: list.nth($palette, 1);
@@ -130,7 +130,7 @@ $themes: ();
130@each $theme-name, $theme in config.$themes { 130@each $theme-name, $theme in config.$themes {
131 @each $variant-name, $variant in $theme { 131 @each $variant-name, $variant in $theme {
132 @if $variant != null { 132 @if $variant != null {
133 $compiled: props.def(--colors); 133 $compiled: props.def(--colors, (), 'color');
134 134
135 @each $palette-name, $palette in $-static-colors { 135 @each $palette-name, $palette in $-static-colors {
136 $compiled: props.merge($compiled, ( #{$palette-name}-static: $palette )); 136 $compiled: props.merge($compiled, ( #{$palette-name}-static: $palette ));