diff options
| author | Volpeon <git@volpeon.ink> | 2024-10-14 16:15:34 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2024-10-14 16:15:34 +0200 |
| commit | ef117e73dec37973b366722a56b2b5a17b9f0a2b (patch) | |
| tree | e87dd64728ae8808e850e99319242333c5b4ce6e /src/_themes.scss | |
| parent | More (diff) | |
| download | iro-design-ef117e73dec37973b366722a56b2b5a17b9f0a2b.tar.gz iro-design-ef117e73dec37973b366722a56b2b5a17b9f0a2b.tar.bz2 iro-design-ef117e73dec37973b366722a56b2b5a17b9f0a2b.zip | |
Color adjustments, borderless cards
Diffstat (limited to 'src/_themes.scss')
| -rw-r--r-- | src/_themes.scss | 12 |
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 | } |
