diff --git a/frontend/src/app/attendance/page.tsx b/frontend/src/app/attendance/page.tsx index 0ae352dd..b87d2db8 100644 --- a/frontend/src/app/attendance/page.tsx +++ b/frontend/src/app/attendance/page.tsx @@ -433,19 +433,19 @@ function getMonthKeysBetween(start: string, end: string) { } function matrixCellTone(status: string) { - if (status === "technical") return "bg-red-500/15 text-red-200 hover:bg-red-500/20"; + if (status === "technical") return "attendance-matrix-cell--technical"; if ( status === "personnel_issue" || status === "underwork" || status === "late" || status === "absent" ) { - return "bg-amber-500/15 text-amber-100 hover:bg-amber-500/20"; + return "attendance-matrix-cell--issue"; } - if (status === "overtime") return "bg-emerald-500/15 text-emerald-100 hover:bg-emerald-500/20"; - if (status === "non_working") return "bg-slate-500/15 text-slate-300 hover:bg-slate-500/20"; - if (status === "normal") return "bg-[var(--surface-primary)] text-[var(--foreground)] hover:bg-[var(--surface-tertiary)]"; - return "bg-transparent text-[var(--muted-foreground)] hover:bg-[var(--surface-secondary)]"; + if (status === "overtime") return "attendance-matrix-cell--overtime"; + if (status === "non_working") return "attendance-matrix-cell--non-working"; + if (status === "normal") return "attendance-matrix-cell--normal"; + return "attendance-matrix-cell--empty"; } function matrixCellSourceTone(cell: MonthlyAttendanceMatrixCell) { @@ -2112,7 +2112,7 @@ export default function AttendancePage() {