From 76fffe8d268ff1aa5532f65bb4102d55b302f1a0 Mon Sep 17 00:00:00 2001 From: ahalekelly Date: Mon, 29 Aug 2022 20:22:30 -0700 Subject: [PATCH] Revert color change --- web/components/answers/answers-graph.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/web/components/answers/answers-graph.tsx b/web/components/answers/answers-graph.tsx index 9465064d..5d2a12d1 100644 --- a/web/components/answers/answers-graph.tsx +++ b/web/components/answers/answers-graph.tsx @@ -107,7 +107,14 @@ export const AnswersGraph = memo(function AnswersGraph(props: { format: (time) => formatTime(+time, multiYear, lessThanAWeek, includeMinute), }} - colors={{ scheme: 'category10' }} + colors={[ + '#fca5a5', // red-300 + '#a5b4fc', // indigo-300 + '#86efac', // green-300 + '#fef08a', // yellow-200 + '#fdba74', // orange-300 + '#c084fc', // purple-400 + ]} pointSize={0} curve="stepAfter" enableSlices="x"