summaryrefslogtreecommitdiffstats
path: root/src/_themes.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-06-29 10:01:02 +0200
committerVolpeon <git@volpeon.ink>2024-06-29 10:01:02 +0200
commit6376f1a5225b2fa45f6c861d4a265bf13b56d038 (patch)
tree7c2ec8bea63df05b6a533fdfa6dab4b2f17f7a1f /src/_themes.scss
parentUpdate (diff)
downloadiro-design-6376f1a5225b2fa45f6c861d4a265bf13b56d038.tar.gz
iro-design-6376f1a5225b2fa45f6c861d4a265bf13b56d038.tar.bz2
iro-design-6376f1a5225b2fa45f6c861d4a265bf13b56d038.zip
Update
Diffstat (limited to 'src/_themes.scss')
-rw-r--r--src/_themes.scss8
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}