From daf3ed35a5d526133340cea302dd01ce272ca50a Mon Sep 17 00:00:00 2001 From: gnezim Date: Mon, 20 Apr 2026 14:24:04 +0300 Subject: [PATCH] FlightStatus label colors: match icon palette (green for in-flight/arrived, orange for delayed) --- src/ui/flights/FlightStatus.scss | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/ui/flights/FlightStatus.scss b/src/ui/flights/FlightStatus.scss index 3fecdea2..9b2bb151 100644 --- a/src/ui/flights/FlightStatus.scss +++ b/src/ui/flights/FlightStatus.scss @@ -24,14 +24,16 @@ white-space: nowrap; } - // Mirror the icon colour on the label so "Отменен"/"Прибыл"/"В полете" - // read at a glance (Angular does the same). + // Mirror the icon colour on the label (Angular's flight-status-colors + // maps Sent/InFlight/Landed/Arrived/Unknown all to $green, Cancelled + // to $red, Delayed to $orange, Scheduled to $blue). &--cancelled &__label { color: colors.$red; } &--arrived &__label, - &--landed &__label { color: colors.$green; } + &--landed &__label, &--in-flight &__label, - &--departed &__label { color: colors.$blue; } - &--delayed &__label { color: #f29f3a; } + &--departed &__label { color: colors.$green; } + &--delayed &__label { color: colors.$orange; } + &--scheduled &__label { color: colors.$blue; } &__content { display: flex;