aboutsummaryrefslogtreecommitdiff
path: root/src/components/menu_item.style.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/menu_item.style.js')
-rw-r--r--src/components/menu_item.style.js35
1 files changed, 31 insertions, 4 deletions
diff --git a/src/components/menu_item.style.js b/src/components/menu_item.style.js
index 3c70bd9f..3812f894 100644
--- a/src/components/menu_item.style.js
+++ b/src/components/menu_item.style.js
@@ -30,17 +30,44 @@ export default {
{
state: ['active'],
directives: {
- background: '$mod(--bg, 5)',
+ background: '$mod(--bg, 10)',
+ opacity: 1
+ }
+ },
+ {
+ state: ['active', 'hover'],
+ directives: {
+ background: '$mod(--bg, 15)',
opacity: 1
}
},
{
component: 'Text',
- variant: 'normal',
parent: {
component: 'MenuItem',
- state: ['normal', 'hover'],
- variant: 'normal'
+ state: ['hover']
+ },
+ directives: {
+ textColor: '--link',
+ textAuto: 'no-preserve'
+ }
+ },
+ {
+ component: 'Text',
+ parent: {
+ component: 'MenuItem',
+ state: ['active']
+ },
+ directives: {
+ textColor: '--link',
+ textAuto: 'no-preserve'
+ }
+ },
+ {
+ component: 'Icon',
+ parent: {
+ component: 'MenuItem',
+ state: ['active']
},
directives: {
textColor: '--link',