From f70a923342c92b56539e66a9d319f3b96d6d843d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 23 Oct 2024 22:32:54 +0200 Subject: Update --- src/_utils.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src') diff --git a/src/_utils.scss b/src/_utils.scss index 1d4bbd3..cdb2a32 100644 --- a/src/_utils.scss +++ b/src/_utils.scss @@ -247,6 +247,22 @@ $-sizes: ( } } } + + @include bem.utility('b#{$dir}-1-mute') { + border#{$suffix}: props.get(vars.$border-width--thin) solid props.get(vars.$theme, --border-mute); + + @include bem.suffix('light') { + @media (prefers-color-scheme: light) { + border#{$suffix}: props.get(vars.$border-width--thin) solid props.get(vars.$theme, --border-mute); + } + } + + @include bem.suffix('dark') { + @media (prefers-color-scheme: dark) { + border#{$suffix}: props.get(vars.$border-width--thin) solid props.get(vars.$theme, --border-mute); + } + } + } } @include bem.utility('mbs-neutralize') { -- cgit v1.2.3-70-g09d2