summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-10-25 13:01:11 +0200
committerVolpeon <git@volpeon.ink>2024-10-25 13:01:11 +0200
commit758fc432761520912b1cd6e04fa9b05e968915c2 (patch)
tree7acf30d6ab004be71838c0bf1517002e58aad536 /src
parentAdd emoji licenses (diff)
downloadiro-design-758fc432761520912b1cd6e04fa9b05e968915c2.tar.gz
iro-design-758fc432761520912b1cd6e04fa9b05e968915c2.tar.bz2
iro-design-758fc432761520912b1cd6e04fa9b05e968915c2.zip
Declare color + background-color for full themes
Diffstat (limited to 'src')
-rw-r--r--src/_core.scss5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/_core.scss b/src/_core.scss
index 76beb2d..7b7a384 100644
--- a/src/_core.scss
+++ b/src/_core.scss
@@ -23,7 +23,10 @@
23 } @else { 23 } @else {
24 @include bem.theme(string.slice($theme-name, 3)) { 24 @include bem.theme(string.slice($theme-name, 3)) {
25 @include props.materialize(map.get($theme, 'light')); 25 @include props.materialize(map.get($theme, 'light'));
26 26
27 color: props.get(vars.$theme, --text);
28 background-color: props.get(vars.$theme, --bg-base);
29
27 @if map.has-key($theme, 'dark') { 30 @if map.has-key($theme, 'dark') {
28 @media (prefers-color-scheme: dark) { 31 @media (prefers-color-scheme: dark) {
29 @include props.materialize(map.get($theme, 'dark')); 32 @include props.materialize(map.get($theme, 'dark'));