diff options
Diffstat (limited to 'src/_themes.scss')
| -rw-r--r-- | src/_themes.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/_themes.scss b/src/_themes.scss index 72562c0..6fcf83b 100644 --- a/src/_themes.scss +++ b/src/_themes.scss | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | @use 'iro-sass/src/index' as iro; | 1 | @use 'iro-sass/src/index' as iro; |
| 2 | @use 'functions' as fn; | 2 | @use 'functions' as fn; |
| 3 | 3 | ||
| 4 | $static-themes: 'black' 'white' !default; | ||
| 5 | |||
| 4 | @include iro.bem-theme('base') { | 6 | @include iro.bem-theme('base') { |
| 5 | background-color: fn.global-color(--bg-base); | 7 | background-color: fn.global-color(--bg-base); |
| 6 | } | 8 | } |
| @@ -12,3 +14,9 @@ | |||
| 12 | @include iro.bem-theme('l2') { | 14 | @include iro.bem-theme('l2') { |
| 13 | background-color: fn.global-color(--bg-l2); | 15 | background-color: fn.global-color(--bg-l2); |
| 14 | } | 16 | } |
| 17 | |||
| 18 | @each $theme in $static-themes { | ||
| 19 | @include iro.bem-theme($theme) { | ||
| 20 | color: fn.global-color(--#{$theme}-transparent --800), | ||
| 21 | } | ||
| 22 | } | ||
