diff options
author | Volpeon <git@volpeon.ink> | 2023-10-27 13:58:17 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2023-10-27 13:58:17 +0200 |
commit | c8b7e1475ed10168080bff0c1c7274fa28997ec7 (patch) | |
tree | da5274c6aac84cb77bf25953b77ee8572d7646f1 /src | |
parent | Update (diff) | |
download | iro-design-c8b7e1475ed10168080bff0c1c7274fa28997ec7.tar.gz iro-design-c8b7e1475ed10168080bff0c1c7274fa28997ec7.tar.bz2 iro-design-c8b7e1475ed10168080bff0c1c7274fa28997ec7.zip |
Add primary static indicator
Diffstat (limited to 'src')
-rw-r--r-- | src/objects/_status-indicator.scss | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/objects/_status-indicator.scss b/src/objects/_status-indicator.scss index 0849d82..eb3990b 100644 --- a/src/objects/_status-indicator.scss +++ b/src/objects/_status-indicator.scss | |||
@@ -11,6 +11,7 @@ | |||
11 | @include iro.props-store(( | 11 | @include iro.props-store(( |
12 | --colors: ( | 12 | --colors: ( |
13 | --default: fn.global-color(--obj-lo), | 13 | --default: fn.global-color(--obj-lo), |
14 | --primary: fn.global-color(--fg), | ||
14 | --green: fn.global-color(--green --solid --bg-hi), | 15 | --green: fn.global-color(--green --solid --bg-hi), |
15 | --yellow: fn.global-color(--yellow --solid --bg-hi), | 16 | --yellow: fn.global-color(--yellow --solid --bg-hi), |
16 | --red: fn.global-color(--red --solid --bg-hi), | 17 | --red: fn.global-color(--red --solid --bg-hi), |
@@ -24,7 +25,7 @@ | |||
24 | border-radius: 10em; | 25 | border-radius: 10em; |
25 | background-color: fn.color(--default); | 26 | background-color: fn.color(--default); |
26 | 27 | ||
27 | @each $color in 'green' 'yellow' 'red' { | 28 | @each $color in 'primary' 'green' 'yellow' 'red' { |
28 | @include iro.bem-is($color) { | 29 | @include iro.bem-is($color) { |
29 | background-color: fn.color(--#{$color}); | 30 | background-color: fn.color(--#{$color}); |
30 | } | 31 | } |