summaryrefslogtreecommitdiffstats
path: root/src/_themes.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/_themes.scss')
-rw-r--r--src/_themes.scss12
1 files changed, 12 insertions, 0 deletions
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;
70@each $theme in $static-themes { 70@each $theme in $static-themes {
71 @include iro.bem-theme(static-#{$theme}) { 71 @include iro.bem-theme(static-#{$theme}) {
72 color: fn.global-color(--#{$theme}-transparent --800); 72 color: fn.global-color(--#{$theme}-transparent --800);
73
74 @include iro.bem-suffix('light') {
75 @media (prefers-color-scheme: light) {
76 background-color: fn.global-color(--base --50);
77 }
78 }
79
80 @include iro.bem-suffix('dark') {
81 @media (prefers-color-scheme: dark) {
82 background-color: fn.global-color(--base --50);
83 }
84 }
73 } 85 }
74} 86}