color sidebar
This commit is contained in:
parent
2405032705
commit
7b16aba680
File diff suppressed because one or more lines are too long
@ -78,7 +78,7 @@ const AsideMenuItem = ({ item, isDropdownList = false }: Props) => {
|
|||||||
isDropdownList ? 'px-6 text-sm' : '',
|
isDropdownList ? 'px-6 text-sm' : '',
|
||||||
item.color
|
item.color
|
||||||
? getButtonColor(item.color, false, true)
|
? getButtonColor(item.color, false, true)
|
||||||
: `${asideMenuItemStyle}`,
|
: `${asideMenuItemStyle} text-white dark:text-white`,
|
||||||
isLinkActive
|
isLinkActive
|
||||||
? `text-black ${activeLinkColor} dark:text-white dark:bg-dark-800`
|
? `text-black ${activeLinkColor} dark:text-white dark:bg-dark-800`
|
||||||
: '',
|
: '',
|
||||||
|
|||||||
@ -68,7 +68,7 @@ export default function AsideMenuLayer({
|
|||||||
className={`${className} zzz lg:py-2 lg:pl-2 w-60 fixed flex z-40 top-0 h-screen transition-position overflow-hidden`}
|
className={`${className} zzz lg:py-2 lg:pl-2 w-60 fixed flex z-40 top-0 h-screen transition-position overflow-hidden`}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className={`flex-1 flex flex-col overflow-hidden dark:bg-dark-900 ${asideStyle}`}
|
className={`flex-1 flex flex-col overflow-hidden !bg-blue-600 dark:!bg-blue-800 ${asideStyle}`}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className={`flex flex-row h-14 items-center justify-between ${asideBrandStyle}`}
|
className={`flex flex-row h-14 items-center justify-between ${asideBrandStyle}`}
|
||||||
|
|||||||
@ -67,7 +67,7 @@ const menuAside: MenuAsideItem[] = [
|
|||||||
label: 'Websites',
|
label: 'Websites',
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
icon: icon.mdiTable ?? icon.mdiTable,
|
icon: icon.mdiWeb ?? icon.mdiTable,
|
||||||
permissions: 'READ_WEBSITES',
|
permissions: 'READ_WEBSITES',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user