fix colors in dashboard (#206)

This commit is contained in:
KM Koushik
2025-08-30 15:59:23 +10:00
committed by GitHub
parent f18a6b514b
commit 1869bf427c
24 changed files with 133 additions and 107 deletions

View File

@@ -36,7 +36,7 @@ export const DeleteTeamInvite: React.FC<{
onError: async (error) => {
toast.error(error.message);
},
}
},
);
}
@@ -47,7 +47,7 @@ export const DeleteTeamInvite: React.FC<{
>
<DialogTrigger asChild>
<Button variant="ghost" size="sm">
<Trash2 className="h-4 w-4 text-red-600/80" />
<Trash2 className="h-4 w-4 text-red/80" />
</Button>
</DialogTrigger>
<DialogContent>

View File

@@ -38,7 +38,7 @@ export const DeleteTeamMember: React.FC<{
onError: async (error) => {
toast.error(error.message);
},
}
},
);
}
@@ -50,9 +50,9 @@ export const DeleteTeamMember: React.FC<{
<DialogTrigger asChild>
<Button variant="ghost" size="sm">
{self ? (
<LogOut className="h-4 w-4 text-red-600/80" />
<LogOut className="h-4 w-4 text-red/80" />
) : (
<Trash2 className="h-4 w-4 text-red-600/80" />
<Trash2 className="h-4 w-4 text-red/80" />
)}
</Button>
</DialogTrigger>

View File

@@ -67,7 +67,7 @@ export default function TeamMembersList() {
</div>
</TableCell>
<TableCell>
<div className="text-center w-[100px] rounded capitalize py-1 text-xs bg-green-500/15 dark:bg-green-600/10 text-green-700 dark:text-green-600/90 border border-green-500/25 dark:border-green-700/25">
<div className="text-center w-[100px] rounded capitalize py-1 text-xs bg-green/15 text-green border border-green/25">
Active
</div>
</TableCell>
@@ -122,7 +122,7 @@ export default function TeamMembersList() {
</div>
</TableCell>
<TableCell>
<div className="text-center w-[100px] rounded capitalize py-1 text-xs bg-yellow-500/15 dark:bg-yellow-600/10 text-yellow-700 dark:text-yellow-600/90 border border-yellow-500/25 dark:border-yellow-700/25">
<div className="text-center w-[100px] rounded capitalize py-1 text-xs bg-yellow/15 text-yellow border border-yellow/25">
Pending
</div>
</TableCell>