diff --git a/apps/client/src/features/operator/operator-event/OperatorEvent.module.scss b/apps/client/src/features/operator/operator-event/OperatorEvent.module.scss index a8b63ccb3..8fd62b845 100644 --- a/apps/client/src/features/operator/operator-event/OperatorEvent.module.scss +++ b/apps/client/src/features/operator/operator-event/OperatorEvent.module.scss @@ -120,6 +120,21 @@ letter-spacing: 1px; } +.live { + color: $ui-black; + background-color: $ui-white; +} + +.due { + color: $ui-black; + background-color: $orange-500; +} + +.done { + color: $white-60; + background-color: $white-7; +} + .runningTime { grid-area: running; font-size: 1.25rem; diff --git a/apps/client/src/features/operator/operator-event/OperatorEvent.tsx b/apps/client/src/features/operator/operator-event/OperatorEvent.tsx index fea7068b6..eef545e94 100644 --- a/apps/client/src/features/operator/operator-event/OperatorEvent.tsx +++ b/apps/client/src/features/operator/operator-event/OperatorEvent.tsx @@ -162,11 +162,11 @@ function OperatorEventSchedule({ isLinkedToLoaded, }: OperatorEventScheduleProps) { if (isPast) { - return DONE; + return DONE; } if (isSelected) { - return LIVE; + return LIVE; } return ( @@ -195,7 +195,7 @@ function TimeUntil({ timeStart, delay, dayOffset, totalGap, isLinkedToLoaded }: const timeUntilString = isDue ? 'DUE' : `${formatDuration(Math.abs(timeUntil), timeUntil > 2 * MILLIS_PER_MINUTE)}`; return ( - + {timeUntilString} ); diff --git a/apps/client/src/features/operator/operator-group/OperatorGroup.module.scss b/apps/client/src/features/operator/operator-group/OperatorGroup.module.scss index 0f93f425e..b545380a2 100644 --- a/apps/client/src/features/operator/operator-group/OperatorGroup.module.scss +++ b/apps/client/src/features/operator/operator-group/OperatorGroup.module.scss @@ -27,7 +27,7 @@ flex: 0 0 auto; align-items: center; gap: 0.5rem; - color: rgba($ui-white, 0.55); + color: color-mix(in srgb, currentColor 60%, transparent); font-size: 0.875rem; font-weight: 500; }