summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-11-29 23:26:12 +0100
committerVolpeon <git@volpeon.ink>2024-11-29 23:26:12 +0100
commit604e5b7645546480dc8fffea4b9ecb5c1c85e74b (patch)
tree99064bc8665dfe1cb7e30dd8b004e6115e752c04 /src
parentHeading offset (diff)
downloadiro-design-604e5b7645546480dc8fffea4b9ecb5c1c85e74b.tar.gz
iro-design-604e5b7645546480dc8fffea4b9ecb5c1c85e74b.tar.bz2
iro-design-604e5b7645546480dc8fffea4b9ecb5c1c85e74b.zip
Static themes
Diffstat (limited to 'src')
-rw-r--r--src/_themes.scss9
-rw-r--r--src/scopes/_implicit.scss19
2 files changed, 28 insertions, 0 deletions
diff --git a/src/_themes.scss b/src/_themes.scss
index 32b617b..1a4f36a 100644
--- a/src/_themes.scss
+++ b/src/_themes.scss
@@ -70,4 +70,13 @@
70 } 70 }
71 } 71 }
72 } 72 }
73
74 @each $theme in map.keys(props.get(vars.$transparent-colors)) {
75 $theme-name: static-#{string.slice($theme, 3)};
76
77 @include bem.theme($theme-name) {
78 color: props.get(vars.$transparent-colors, $theme, --text);
79 background-color: props.get(vars.$transparent-colors, $theme, --900);
80 }
81 }
73} 82}
diff --git a/src/scopes/_implicit.scss b/src/scopes/_implicit.scss
index 020e311..2c3411a 100644
--- a/src/scopes/_implicit.scss
+++ b/src/scopes/_implicit.scss
@@ -155,5 +155,24 @@
155 padding: 0; 155 padding: 0;
156 margin: 0; 156 margin: 0;
157 } 157 }
158
159 @each $theme in map.keys(props.get(core.$transparent-colors)) {
160 $theme-name: static-#{string.slice($theme, 3)};
161
162 @include bem.at-theme($theme-name) {
163 h1,
164 h2,
165 h3,
166 h4,
167 h5,
168 h6 {
169 color: props.get(core.$transparent-colors, $theme, --text);
170 }
171
172 hr {
173 color: props.get(core.$transparent-colors, $theme, --400);
174 }
175 }
176 }
158 } 177 }
159} 178}