aboutsummaryrefslogtreecommitdiff
path: root/src/components/menu_item.style.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2024-02-12 17:26:08 +0200
committerHenry Jameson <me@hjkos.com>2024-02-12 17:26:08 +0200
commitae345d2c458bd0952d9b85c2e03060b2d286d320 (patch)
treecc0055345936b37b8431e4d2b9bded6f77714231 /src/components/menu_item.style.js
parent1c5f156af04b6df4cbce8fcf999d752e2500089c (diff)
buttons look great now, including unstyled ones menu items work too
Diffstat (limited to 'src/components/menu_item.style.js')
-rw-r--r--src/components/menu_item.style.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/components/menu_item.style.js b/src/components/menu_item.style.js
index 43b5c35a..72164d30 100644
--- a/src/components/menu_item.style.js
+++ b/src/components/menu_item.style.js
@@ -14,7 +14,15 @@ export default {
defaultRules: [
{
directives: {
- background: '--fg'
+ background: '--bg',
+ opacity: 0
+ }
+ },
+ {
+ state: ['hover'],
+ directives: {
+ background: '$mod(--bg, 5)',
+ opacity: 1
}
},
{