forked from github/plane
fc82d6fc23
* chore: module constant and helper function added * style: module card ui revamp * chore: custom media query added * chore: circular progress indicator added * chore: module card item ui improvement * chore: module list view added * chore: module sidebar added in list and card view * chore: module list and card ui improvement * chore: module sidebar select, avatar and link list component improvement * chore: sidebar improvement and refactor * style: module sidebar revamp * style: module sidebar ui improvement * chore: module sidebar lead and member select improvement * style: module sidebar progress section empty state added * chore: module card issue count validation added * style: module card and list item ui improvement
54 lines
1.0 KiB
TypeScript
54 lines
1.0 KiB
TypeScript
// types
|
|
import { TModuleStatus } from "types";
|
|
|
|
export const MODULE_STATUS: {
|
|
label: string;
|
|
value: TModuleStatus;
|
|
color: string;
|
|
textColor: string;
|
|
bgColor: string;
|
|
}[] = [
|
|
{
|
|
label: "Backlog",
|
|
value: "backlog",
|
|
color: "#a3a3a2",
|
|
textColor: "text-custom-text-400",
|
|
bgColor: "bg-custom-background-80",
|
|
},
|
|
{
|
|
label: "Planned",
|
|
value: "planned",
|
|
color: "#3f76ff",
|
|
textColor: "text-blue-500",
|
|
bgColor: "bg-indigo-50",
|
|
},
|
|
{
|
|
label: "In Progress",
|
|
value: "in-progress",
|
|
color: "#f39e1f",
|
|
textColor: "text-amber-500",
|
|
bgColor: "bg-amber-50",
|
|
},
|
|
{
|
|
label: "Paused",
|
|
value: "paused",
|
|
color: "#525252",
|
|
textColor: "text-custom-text-300",
|
|
bgColor: "bg-custom-background-90",
|
|
},
|
|
{
|
|
label: "Completed",
|
|
value: "completed",
|
|
color: "#16a34a",
|
|
textColor: "text-green-600",
|
|
bgColor: "bg-green-100",
|
|
},
|
|
{
|
|
label: "Cancelled",
|
|
value: "cancelled",
|
|
color: "#ef4444",
|
|
textColor: "text-red-500",
|
|
bgColor: "bg-red-50",
|
|
},
|
|
];
|