From 41b0d0497988274057fc2512c822a6bc9d2d3ebd Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 6 Aug 2025 16:40:56 +0200 Subject: Switch to tab indentation --- src/_core.scss | 58 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'src/_core.scss') diff --git a/src/_core.scss b/src/_core.scss index 2eb04fc..7be4b0d 100644 --- a/src/_core.scss +++ b/src/_core.scss @@ -9,37 +9,37 @@ @forward 'core.vars'; @mixin styles { - @each $theme-name, $theme in vars.$themes { - @if $theme-name == config.$theme-default { - :root { - @include props.materialize(map.values(meta.module-variables('vars'))); + @each $theme-name, $theme in vars.$themes { + @if $theme-name == config.$theme-default { + :root { + @include props.materialize(map.values(meta.module-variables('vars'))); - @if map.has-key($theme, 'dark') { - @media (prefers-color-scheme: dark) { - @include props.materialize(map.get($theme, 'dark')); - } - } - } + @if map.has-key($theme, 'dark') { + @media (prefers-color-scheme: dark) { + @include props.materialize(map.get($theme, 'dark')); + } + } + } - @if map.has-key($theme, 'dark') and config.$explicit-dark-theme { - @include bem.theme('dark') { - @include props.materialize(map.values(meta.module-variables('vars'))); - @include props.materialize(map.get($theme, 'dark')); - } - } - } @else { - @include bem.theme(string.slice($theme-name, 3)) { - @include props.materialize(map.get($theme, 'light')); + @if map.has-key($theme, 'dark') and config.$explicit-dark-theme { + @include bem.theme('dark') { + @include props.materialize(map.values(meta.module-variables('vars'))); + @include props.materialize(map.get($theme, 'dark')); + } + } + } @else { + @include bem.theme(string.slice($theme-name, 3)) { + @include props.materialize(map.get($theme, 'light')); - color: props.get(vars.$theme, --text); - background-color: props.get(vars.$theme, --bg-base); + color: props.get(vars.$theme, --text); + background-color: props.get(vars.$theme, --bg-base); - @if map.has-key($theme, 'dark') { - @media (prefers-color-scheme: dark) { - @include props.materialize(map.get($theme, 'dark')); - } - } - } - } - } + @if map.has-key($theme, 'dark') { + @media (prefers-color-scheme: dark) { + @include props.materialize(map.get($theme, 'dark')); + } + } + } + } + } } -- cgit v1.2.3-70-g09d2