From f05cdf2435bf548c710e58a09c1d0ea1ffaf73d2 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 13 Oct 2024 11:16:21 +0200 Subject: More --- src/_utils.scss | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/_utils.scss b/src/_utils.scss index d5a3478..c0ce7a3 100644 --- a/src/_utils.scss +++ b/src/_utils.scss @@ -193,10 +193,34 @@ $sizes: 0 10 50 75 100 125 200 400 700 800 !default; @include iro.bem-utility('b#{$dir}-0') { border#{$suffix}: 0; + + @include iro.bem-suffix('light') { + @media (prefers-color-scheme: light) { + border#{$suffix}: 0; + } + } + + @include iro.bem-suffix('dark') { + @media (prefers-color-scheme: dark) { + border#{$suffix}: 0; + } + } } @include iro.bem-utility('b#{$dir}-1') { border#{$suffix}: fn.global-dim(--border --thin) solid fn.global-color(--border); + + @include iro.bem-suffix('light') { + @media (prefers-color-scheme: light) { + border#{$suffix}: fn.global-dim(--border --thin) solid fn.global-color(--border); + } + } + + @include iro.bem-suffix('dark') { + @media (prefers-color-scheme: dark) { + border#{$suffix}: fn.global-dim(--border --thin) solid fn.global-color(--border); + } + } } } -- cgit v1.2.3-70-g09d2