diff options
| author | Henry Jameson <me@hjkos.com> | 2024-02-13 02:09:43 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2024-02-13 02:09:43 +0200 |
| commit | bcc50844096b47c0656ed3338de222055a749fb1 (patch) | |
| tree | bf051cbc0c779438d53d60fe827732846763cef5 /src/components/menu_item.style.js | |
| parent | 17b25ef0e0eb261fbfd09be740a1cd8c0e3ad88b (diff) | |
add roundness, fix inputs
Diffstat (limited to 'src/components/menu_item.style.js')
| -rw-r--r-- | src/components/menu_item.style.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/components/menu_item.style.js b/src/components/menu_item.style.js index 72164d30..716edfa7 100644 --- a/src/components/menu_item.style.js +++ b/src/components/menu_item.style.js @@ -9,7 +9,7 @@ export default { ], states: { hover: ':hover', - active: 'active' + active: '.active' }, defaultRules: [ { @@ -26,6 +26,13 @@ export default { } }, { + state: ['active'], + directives: { + background: '$mod(--bg, 5)', + opacity: 1 + } + }, + { component: 'Text', variant: 'normal', parent: { |
