u
This commit is contained in:
@@ -14,6 +14,9 @@ import { artikelQueryPath } from './article/artikelQuery';
|
||||
import { defaultCategoryPath } from './category/categoryRoute';
|
||||
import { navigationAutomat } from '../automats';
|
||||
import {
|
||||
NAV_ITEM_ACTIVE_ACCENT,
|
||||
NAV_SUB_ACTIVE,
|
||||
NAV_SUB_ACTIVE_HOVER,
|
||||
NAV_SURFACE,
|
||||
} from '../colors';
|
||||
import { ChatFab, ChatDrawer } from './chat';
|
||||
@@ -195,12 +198,16 @@ class AppSubNav extends PureComponent {
|
||||
justifyContent: 'center',
|
||||
gap: 0.5,
|
||||
color: active
|
||||
? theme.palette.primary.main
|
||||
? theme.nav?.itemActiveAccent || NAV_ITEM_ACTIVE_ACCENT
|
||||
: theme.palette.text.secondary,
|
||||
bgcolor: active ? theme.palette.action.selected : 'transparent',
|
||||
bgcolor: active ? theme.nav?.subActive || NAV_SUB_ACTIVE : 'transparent',
|
||||
'&:hover': {
|
||||
bgcolor: theme.palette.action.hover,
|
||||
color: theme.palette.primary.main,
|
||||
bgcolor: active
|
||||
? theme.nav?.subActiveHover || NAV_SUB_ACTIVE_HOVER
|
||||
: theme.palette.action.hover,
|
||||
color: active
|
||||
? theme.nav?.itemActiveAccent || NAV_ITEM_ACTIVE_ACCENT
|
||||
: theme.palette.primary.main,
|
||||
},
|
||||
})}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user