Open [WEB-6739] fix: color inside of active projects of analytics overview tab #8803

This commit is contained in:
b-saikrishnakanth 2026-03-26 18:13:30 +05:30 committed by GitHub
parent 942d2b98ef
commit 5396d438a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ type Props = {
function CompletionPercentage({ percentage }: { percentage: number }) {
const percentageColor =
percentage > 50 ? "bg-success-primary text-success-primary" : "bg-danger-primary text-danger-primary";
percentage > 50 ? "bg-success-subtle text-success-primary" : "bg-danger-subtle text-danger-primary";
return (
<div className={cn("flex items-center gap-2 rounded-sm p-1 text-11", percentageColor)}>
<span>{percentage}%</span>