chore: update module status icons and colors (#2011)

* chore: update module status icons and colors

* refactor: import statements

* fix: add default alue to module status
This commit is contained in:
Aaryan Khandelwal 2023-08-30 11:43:47 +05:30 committed by GitHub
parent 168e79d6df
commit 2e5ade05fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 321 additions and 21 deletions

View file

@ -1,8 +1,15 @@
export const MODULE_STATUS = [
{ label: "Backlog", value: "backlog", color: "#5e6ad2" },
{ label: "Planned", value: "planned", color: "#26b5ce" },
{ label: "In Progress", value: "in-progress", color: "#f2c94c" },
{ label: "Paused", value: "paused", color: "#ff6900" },
{ label: "Completed", value: "completed", color: "#4cb782" },
{ label: "Cancelled", value: "cancelled", color: "#cc1d10" },
// types
import { TModuleStatus } from "types";
export const MODULE_STATUS: {
label: string;
value: TModuleStatus;
color: string;
}[] = [
{ label: "Backlog", value: "backlog", color: "#a3a3a2" },
{ label: "Planned", value: "planned", color: "#3f76ff" },
{ label: "In Progress", value: "in-progress", color: "#f39e1f" },
{ label: "Paused", value: "paused", color: "#525252" },
{ label: "Completed", value: "completed", color: "#16a34a" },
{ label: "Cancelled", value: "cancelled", color: "#ef4444" },
];