diff options
| author | Volpeon <git@volpeon.ink> | 2025-07-27 10:29:26 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2025-07-27 10:29:26 +0200 |
| commit | 890019c46bf9ae6bdd4d179c729a3ef6df929987 (patch) | |
| tree | 4652ee25ae9b3a4b55c07232d7c057e6f73b6d55 /src/_core.scss | |
| parent | Update (diff) | |
| download | iro-design-890019c46bf9ae6bdd4d179c729a3ef6df929987.tar.gz iro-design-890019c46bf9ae6bdd4d179c729a3ef6df929987.tar.bz2 iro-design-890019c46bf9ae6bdd4d179c729a3ef6df929987.zip | |
Add explicit dark theme
Diffstat (limited to 'src/_core.scss')
| -rw-r--r-- | src/_core.scss | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/_core.scss b/src/_core.scss index 7b7a384..7c37518 100644 --- a/src/_core.scss +++ b/src/_core.scss | |||
| @@ -20,6 +20,13 @@ | |||
| 20 | } | 20 | } |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | |||
| 24 | @if map.has-key($theme, 'dark') { | ||
| 25 | @include bem.theme('dark') { | ||
| 26 | @include props.materialize(map.values(meta.module-variables('vars'))); | ||
| 27 | @include props.materialize(map.get($theme, 'dark')); | ||
| 28 | } | ||
| 29 | } | ||
| 23 | } @else { | 30 | } @else { |
| 24 | @include bem.theme(string.slice($theme-name, 3)) { | 31 | @include bem.theme(string.slice($theme-name, 3)) { |
| 25 | @include props.materialize(map.get($theme, 'light')); | 32 | @include props.materialize(map.get($theme, 'light')); |
