diff options
-rw-r--r-- | src/_themes.scss | 9 | ||||
-rw-r--r-- | src/scopes/_implicit.scss | 19 |
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 | } |