[WEB-5154] chore: nav button text colour updated #7970

This commit is contained in:
Anmol Singh Bhatia
2025-10-15 19:27:10 +05:30
committed by GitHub
parent 2b106cbd66
commit a8c253acfe
3 changed files with 3 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ export const NavItemChildren = observer((props: { projectId: string }) => {
"cursor-pointer relative group w-full flex items-center justify-between gap-1.5 rounded p-1 px-1.5 outline-none",
{
"text-custom-text-200 bg-custom-background-80/75": isActive,
"text-custom-sidebar-text-300 hover:bg-custom-sidebar-background-90 active:bg-custom-sidebar-background-90":
"text-custom-sidebar-text-200 hover:bg-custom-sidebar-background-90 active:bg-custom-sidebar-background-90":
!isActive,
},
"text-xs font-medium"

View File

@@ -42,7 +42,7 @@ const SettingsSidebarNavItem = observer((props: TSettingsSidebarNavItemProps) =>
"hover:bg-custom-primary-100/10",
{
"text-custom-text-200 bg-custom-background-80/75": typeof isActive === "function" ? isActive(setting) : isActive,
"text-custom-sidebar-text-300 hover:bg-custom-sidebar-background-90 active:bg-custom-sidebar-background-90":
"text-custom-sidebar-text-200 hover:bg-custom-sidebar-background-90 active:bg-custom-sidebar-background-90":
typeof isActive === "function" ? !isActive(setting) : !isActive,
}
);

View File

@@ -18,7 +18,7 @@ export const SidebarNavItem: FC<TSidebarNavItem> = (props) => {
"cursor-pointer relative group w-full flex items-center justify-between gap-1.5 rounded px-2 py-1 outline-none",
{
"text-custom-text-200 bg-custom-background-80/75": isActive,
"text-custom-sidebar-text-300 hover:bg-custom-sidebar-background-90 active:bg-custom-sidebar-background-90":
"text-custom-sidebar-text-200 hover:bg-custom-sidebar-background-90 active:bg-custom-sidebar-background-90":
!isActive,
},
className