From e0815613914e16d73a30efe709a74b994cc31963 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 25 Oct 2024 19:37:52 +0200 Subject: More efficient theming --- src/_props.scss | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/_props.scss') 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 @@ @each $theme-name in map.keys(config.$themes) { @if $theme-name != config.$theme-default { @include bem.theme(string.slice($theme-name, 3)) { - @include props.materialize($ref, null); + @include props.materialize($ref, 'color'); - @each $breakpoint in map.keys(media.$breakpoints) { - @include media.media('<=#{$breakpoint}') { - @include props.materialize($ref, $breakpoint); - } - } - @media (prefers-color-scheme: dark) { - @include props.materialize($ref, 'dark'); + @include props.materialize($ref, 'color' 'dark'); } } } -- cgit v1.2.3-70-g09d2