diff options
author | Volpeon <git@volpeon.ink> | 2025-07-27 11:51:37 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2025-07-27 11:51:37 +0200 |
commit | fe8b951c39a13e6bb83c7b46b4761c71761ff0d9 (patch) | |
tree | a3995d3a61338bba9799cb0cb26bc6e685d36b34 /src/_core.scss | |
parent | Add explicit dark theme (diff) | |
download | iro-design-fe8b951c39a13e6bb83c7b46b4761c71761ff0d9.tar.gz iro-design-fe8b951c39a13e6bb83c7b46b4761c71761ff0d9.tar.bz2 iro-design-fe8b951c39a13e6bb83c7b46b4761c71761ff0d9.zip |
Add option for explicit dark theme
Diffstat (limited to 'src/_core.scss')
-rw-r--r-- | src/_core.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_core.scss b/src/_core.scss index 7c37518..2eb04fc 100644 --- a/src/_core.scss +++ b/src/_core.scss | |||
@@ -21,7 +21,7 @@ | |||
21 | } | 21 | } |
22 | } | 22 | } |
23 | 23 | ||
24 | @if map.has-key($theme, 'dark') { | 24 | @if map.has-key($theme, 'dark') and config.$explicit-dark-theme { |
25 | @include bem.theme('dark') { | 25 | @include bem.theme('dark') { |
26 | @include props.materialize(map.values(meta.module-variables('vars'))); | 26 | @include props.materialize(map.values(meta.module-variables('vars'))); |
27 | @include props.materialize(map.get($theme, 'dark')); | 27 | @include props.materialize(map.get($theme, 'dark')); |