From e3d34a6d6ce2db04c3c898ad6a4687a0c59df996 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 18 Oct 2024 19:07:42 +0200 Subject: Update --- src/_vars.scss | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 src/_vars.scss (limited to 'src/_vars.scss') diff --git a/src/_vars.scss b/src/_vars.scss deleted file mode 100644 index 78ead7c..0000000 --- a/src/_vars.scss +++ /dev/null @@ -1,33 +0,0 @@ -@use 'sass:map'; -@use 'sass:meta'; -@use 'iro-sass/src/props'; -@use 'themes'; - -@use 'vars.vars' as vars; -@forward 'vars.vars'; - -@mixin vars { - @each $theme-name, $theme in vars.$themes { - @if $theme-name == themes.$theme-default { - :root { - @include props.materialize(map.get($theme, 'light')); - - @if map.has-key($theme, 'dark') { - @media (prefers-color-scheme: dark) { - @include props.materialize(map.get($theme, 'dark')); - } - } - } - } @else { - @include iro.bem-theme($theme-name) { - @include props.materialize(map.get($theme, 'light')); - - @if map.has-key($theme, 'dark') { - @media (prefers-color-scheme: dark) { - @include props.materialize(map.get($theme, 'dark')); - } - } - } - } - } -} -- cgit v1.2.3-70-g09d2