Skip to content

Commit

Permalink
Change structure partially sprayed status color
Browse files Browse the repository at this point in the history
  • Loading branch information
cKellyDesign committed Sep 20, 2019
1 parent 26dbcf2 commit 05bc4f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/colors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
4 changes: 2 additions & 2 deletions src/configs/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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],
];
Expand Down

0 comments on commit 05bc4f6

Please sign in to comment.