From ef117e73dec37973b366722a56b2b5a17b9f0a2b Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 14 Oct 2024 16:15:34 +0200 Subject: Color adjustments, borderless cards --- src/_themes.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/_themes.scss') diff --git a/src/_themes.scss b/src/_themes.scss index 7b9554e..2ca89cb 100644 --- a/src/_themes.scss +++ b/src/_themes.scss @@ -70,5 +70,17 @@ $static-themes: 'black' 'white' !default; @each $theme in $static-themes { @include iro.bem-theme(static-#{$theme}) { color: fn.global-color(--#{$theme}-transparent --800); + + @include iro.bem-suffix('light') { + @media (prefers-color-scheme: light) { + background-color: fn.global-color(--base --50); + } + } + + @include iro.bem-suffix('dark') { + @media (prefers-color-scheme: dark) { + background-color: fn.global-color(--base --50); + } + } } } -- cgit v1.2.3-70-g09d2