From 05bc4f66d68f74f53922455c7a8c136054a147f4 Mon Sep 17 00:00:00 2001 From: cKellyDesign Date: Fri, 20 Sep 2019 13:42:30 -0700 Subject: [PATCH] Change structure partially sprayed status color --- src/colors.tsx | 2 ++ src/configs/settings.ts | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/colors.tsx b/src/colors.tsx index 3a0def84ae..a00a555e44 100644 --- a/src/colors.tsx +++ b/src/colors.tsx @@ -41,3 +41,5 @@ export const TASK_RED = '#F12525'; export type TASK_RED = typeof TASK_RED; export const TASK_YELLOW = '#FFCA16'; export type TASK_YELLOW = typeof TASK_YELLOW; +export const TASK_ORANGE = '#FF851B'; +export type TASK_ORANGE = typeof TASK_ORANGE; diff --git a/src/configs/settings.ts b/src/configs/settings.ts index 4425a7a18f..5d76dd0417 100644 --- a/src/configs/settings.ts +++ b/src/configs/settings.ts @@ -2,7 +2,7 @@ import { Providers } from '@onaio/gatekeeper'; import { Expression, LngLatBoundsLike } from 'mapbox-gl'; import { CellInfo } from 'react-table'; -import { BLACK, GREY, TASK_BLUE, TASK_GREEN, TASK_RED, TASK_YELLOW } from '../colors'; +import { BLACK, GREY, TASK_GREEN, TASK_ORANGE, TASK_RED, TASK_YELLOW } from '../colors'; import { STRUCTURE_LAYER } from '../constants'; import { getThresholdAdherenceIndicator } from '../helpers/indicators'; import { FeatureCollection, FlexObject } from '../helpers/utils'; @@ -849,7 +849,7 @@ const indicatorThresholdsNA: IndicatorThresholds = { const indicatorStopsNA: Array<[string, string]> = [ ['Sprayed', TASK_GREEN], ['Not Sprayed', TASK_RED], - ['Partially Sprayed', TASK_BLUE], + ['Partially Sprayed', TASK_ORANGE], ['Not Visited', TASK_YELLOW], ['Not Eligible', BLACK], ];