feat: improve side nav item style and fix some UI issues

This commit is contained in:
Sonny
2024-05-22 23:23:12 +02:00
committed by Sonny
parent 3ff7619e94
commit 31b4f22772
6 changed files with 62 additions and 19 deletions

View File

@@ -1,5 +1,6 @@
import styled from '@emotion/styled';
import { Link } from '@inertiajs/react';
import { rgba } from '~/lib/color';
export const Item = styled.div(({ theme }) => ({
userSelect: 'none',
@@ -21,9 +22,7 @@ export const Item = styled.div(({ theme }) => ({
// Disable hover effect for UserCard
'&:hover:not(.disable-hover)': {
cursor: 'pointer',
backgroundColor: theme.colors.secondary,
outlineWidth: '1px',
outlineStyle: 'solid',
backgroundColor: rgba(theme.colors.font, 0.1),
},
}));