diff options
author | Volpeon <git@volpeon.ink> | 2023-10-17 12:37:17 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2023-10-17 12:37:17 +0200 |
commit | 80f4c3d9a521321fff9d9ec495172b2a8318b0a4 (patch) | |
tree | 61c73f60b010a570df2ef75e4888b32df946b526 /src/objects | |
parent | Added primary badge (diff) | |
download | iro-design-80f4c3d9a521321fff9d9ec495172b2a8318b0a4.tar.gz iro-design-80f4c3d9a521321fff9d9ec495172b2a8318b0a4.tar.bz2 iro-design-80f4c3d9a521321fff9d9ec495172b2a8318b0a4.zip |
Fix badge in menu item
Diffstat (limited to 'src/objects')
-rw-r--r-- | src/objects/_menu.scss | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/objects/_menu.scss b/src/objects/_menu.scss index cbd4194..b8bbb02 100644 --- a/src/objects/_menu.scss +++ b/src/objects/_menu.scss | |||
@@ -36,6 +36,10 @@ | |||
36 | --border: fn.global-color(--focus --fill), | 36 | --border: fn.global-color(--focus --fill), |
37 | --shadow: fn.global-color(--focus --shadow), | 37 | --shadow: fn.global-color(--focus --shadow), |
38 | ), | 38 | ), |
39 | --badge: ( | ||
40 | --bg: fn.global-color(--bg), | ||
41 | --label: fn.global-color(--fg-lo), | ||
42 | ) | ||
39 | ), | 43 | ), |
40 | ), | 44 | ), |
41 | ), 'colors'); | 45 | ), 'colors'); |
@@ -72,6 +76,11 @@ | |||
72 | @include iro.bem-multi('&:hover, &:active', 'is' 'selected') { | 76 | @include iro.bem-multi('&:hover, &:active', 'is' 'selected') { |
73 | background-color: fn.color(--item --hover --bg); | 77 | background-color: fn.color(--item --hover --bg); |
74 | color: fn.color(--item --hover --label); | 78 | color: fn.color(--item --hover --label); |
79 | |||
80 | @include iro.bem-elem('badge') { | ||
81 | background-color: fn.color(--item --badge --bg); | ||
82 | color: fn.color(--item --badge --label); | ||
83 | } | ||
75 | } | 84 | } |
76 | 85 | ||
77 | @include iro.bem-at-theme('keyboard') { | 86 | @include iro.bem-at-theme('keyboard') { |