summaryrefslogtreecommitdiffstats
path: root/src/_props.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/_props.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/_props.scss')
-rw-r--r--src/_props.scss10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/_props.scss b/src/_props.scss
index c18bf76..8b17af0 100644
--- a/src/_props.scss
+++ b/src/_props.scss
@@ -29,16 +29,10 @@
29 @each $theme-name in map.keys(config.$themes) { 29 @each $theme-name in map.keys(config.$themes) {
30 @if $theme-name != config.$theme-default { 30 @if $theme-name != config.$theme-default {
31 @include bem.theme(string.slice($theme-name, 3)) { 31 @include bem.theme(string.slice($theme-name, 3)) {
32 @include props.materialize($ref, null); 32 @include props.materialize($ref, 'color');
33 33
34 @each $breakpoint in map.keys(media.$breakpoints) {
35 @include media.media('<=#{$breakpoint}') {
36 @include props.materialize($ref, $breakpoint);
37 }
38 }
39
40 @media (prefers-color-scheme: dark) { 34 @media (prefers-color-scheme: dark) {
41 @include props.materialize($ref, 'dark'); 35 @include props.materialize($ref, 'color' 'dark');
42 } 36 }
43 } 37 }
44 } 38 }