regression: red and green color backgrounds (#8456)

This commit is contained in:
Aaryan Khandelwal 2025-12-26 19:17:03 +05:30 committed by GitHub
parent 2980c2d76b
commit 6cc5c1946a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 86 additions and 177 deletions

View file

@ -29,7 +29,7 @@ export const CYCLE_STATUS: {
i18n_title: "project_cycles.status.completed",
color: "#16A34A",
textColor: "text-success-primary",
bgColor: "bg-green-50",
bgColor: "bg-success-subtle",
},
{
i18n_label: "project_cycles.status.draft",

View file

@ -44,8 +44,8 @@ export const DURATION_FILTER_OPTIONS: {
// random background colors for project cards
export const PROJECT_BACKGROUND_COLORS = [
"bg-gray-500/20",
"bg-success-primary",
"bg-danger-primary",
"bg-success-subtle",
"bg-danger-subtle",
"bg-orange-500/20",
"bg-blue-500/20",
"bg-yellow-500/20",

View file

@ -52,14 +52,14 @@ export const MODULE_STATUS: {
value: "completed",
color: MODULE_STATUS_COLORS.completed,
textColor: "text-success-primary",
bgColor: "bg-green-100",
bgColor: "bg-success-subtle",
},
{
i18n_label: "project_modules.status.cancelled",
value: "cancelled",
color: MODULE_STATUS_COLORS.cancelled,
textColor: "text-danger-primary",
bgColor: "bg-red-50",
bgColor: "bg-danger-subtle",
},
];