diff options
author | Volpeon <git@volpeon.ink> | 2024-10-25 19:37:52 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-25 19:37:52 +0200 |
commit | e0815613914e16d73a30efe709a74b994cc31963 (patch) | |
tree | 9876cb3b6937173fd4dd62958d5c9d1ba6feea87 /src/_core.vars.scss | |
parent | New palette generation (diff) | |
download | iro-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.scss | 4 |
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 )); |