From ae345d2c458bd0952d9b85c2e03060b2d286d320 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 12 Feb 2024 17:26:08 +0200 Subject: buttons look great now, including unstyled ones menu items work too --- src/components/menu_item.style.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/components/menu_item.style.js') 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 } }, { -- cgit v1.2.3-70-g09d2