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/_props.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/_props.scss')
-rw-r--r-- | src/_props.scss | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/_props.scss b/src/_props.scss index 138b564..5590aed 100644 --- a/src/_props.scss +++ b/src/_props.scss | |||
@@ -27,9 +27,11 @@ | |||
27 | } | 27 | } |
28 | } | 28 | } |
29 | 29 | ||
30 | @include bem.theme('dark') { | 30 | @if config.$explicit-dark-theme { |
31 | @include props.materialize($ref, 'color'); | 31 | @include bem.theme('dark') { |
32 | @include props.materialize($ref, 'dark'); | 32 | @include props.materialize($ref, 'color'); |
33 | @include props.materialize($ref, 'dark'); | ||
34 | } | ||
33 | } | 35 | } |
34 | 36 | ||
35 | @each $theme-name in map.keys(config.$themes) { | 37 | @each $theme-name in map.keys(config.$themes) { |