Skip to content

Commit 51a3a8a

Browse files
committed
task color
1 parent d422337 commit 51a3a8a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/frontend/src/utils/gantt.utils.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export const NO_TEAM = 'No Team';
3838

3939
export const GANTT_CHART_GAP_SIZE = '0.75rem';
4040
export const GANTT_CHART_CELL_SIZE = '2.25rem';
41+
export const GANTT_TASK_COLOR = '#1976d2';
4142

4243
export interface GanttCollection<E, T> {
4344
id: string;
@@ -377,7 +378,7 @@ export const transformTaskToGanttTask = <T extends Task>(task: T, end: Date): Ga
377378
},
378379
styles: {
379380
color: GanttWorkPackageTextColor,
380-
backgroundColor: '#FFFFFF'
381+
backgroundColor: GANTT_TASK_COLOR
381382
},
382383
onClick: () => window.open(`/projects`, '_blank'),
383384
root: false

0 commit comments

Comments
 (0)