Adjust config menu styles

This commit is contained in:
Sam Becker 2025-07-13 23:06:16 -05:00
parent ac7506a1bc
commit 2b2bbeb5a5
3 changed files with 8 additions and 7 deletions

View File

@ -27,7 +27,7 @@ export default function AdminAppConfigurationSidebar({
'block', 'block',
parameterize(title) === hash parameterize(title) === hash
? 'text-main hover:text-main font-medium' ? 'text-main hover:text-main font-medium'
: 'text-dim', : 'text-dim hover:text-main',
)} )}
> >
{title} {title}

View File

@ -18,7 +18,7 @@ const ADMIN_CONFIG_SECTIONS = [
{ {
title: 'Storage', title: 'Storage',
required: true, required: true,
icon: <BiData size={16} className="translate-y-[0.5px]" />, icon: <BiData size={16} className="translate-y-[1px]" />,
}, { }, {
title: 'Authentication', title: 'Authentication',
required: true, required: true,
@ -35,7 +35,7 @@ const ADMIN_CONFIG_SECTIONS = [
}, { }, {
title: 'Performance', title: 'Performance',
required: false, required: false,
icon: <RiSpeedMiniLine size={19} />, icon: <RiSpeedMiniLine size={19} className="translate-y-[1px]" />,
}, { }, {
title: 'Categories', title: 'Categories',
required: false, required: false,
@ -43,15 +43,15 @@ const ADMIN_CONFIG_SECTIONS = [
}, { }, {
title: 'Sorting', title: 'Sorting',
required: false, required: false,
icon: <IconSort size={18} className="translate-y-[1px]" />, icon: <IconSort size={18} className="translate-y-[2px]" />,
}, { }, {
title: 'Display', title: 'Display',
required: false, required: false,
icon: <BiHide size={18} />, icon: <BiHide size={18} className="translate-y-[1px]" />,
}, { }, {
title: 'Grid', title: 'Grid',
required: false, required: false,
icon: <IoMdGrid size={17} />, icon: <IoMdGrid size={17} className="translate-y-[1px]" />,
}, { }, {
title: 'Design', title: 'Design',
required: false, required: false,
@ -63,7 +63,7 @@ const ADMIN_CONFIG_SECTIONS = [
}, { }, {
title: 'Internal', title: 'Internal',
required: false, required: false,
icon: <CgDebug size={18} />, icon: <CgDebug size={18} className="translate-y-[1px]" />,
}, },
] as const satisfies AdminConfigSection[]; ] as const satisfies AdminConfigSection[];

View File

@ -44,6 +44,7 @@ export default function ChecklistGroup({
'text-gray-600 dark:text-gray-300', 'text-gray-600 dark:text-gray-300',
'pt-2', 'pt-2',
'sm:pl-1.5', 'sm:pl-1.5',
'outline-none',
)} )}
> >
<span className="w-8 sm:w-9 shrink-0 translate-y-[-1px]">{icon}</span> <span className="w-8 sm:w-9 shrink-0 translate-y-[-1px]">{icon}</span>