github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/styles/components/status-text.scss (about)

     1  .status-text {
     2    font-weight: $weight-semibold;
     3  
     4    &.node-ready {
     5      color: $nomad-green-dark;
     6    }
     7  
     8    &.node-disconnected {
     9      color: $yellow;
    10    }
    11  
    12    &.node-down {
    13      color: $danger;
    14    }
    15  
    16    &.node-initializing {
    17      color: $grey;
    18    }
    19  
    20    @each $name, $pair in $colors {
    21      $color: nth($pair, 1);
    22      $color-invert: nth($pair, 2);
    23  
    24      &.is-#{$name} {
    25        color: $color;
    26      }
    27    }
    28  }