From 26a2eb2391ba119afab15f3fc0122f1d8d396dac Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Thu, 25 Aug 2022 22:31:03 -0700 Subject: [PATCH] Switch to a different color scheme --- 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 cf70fc02..5bd928e8 100644 --- a/web/components/answers/answers-graph.tsx +++ b/web/components/answers/answers-graph.tsx @@ -105,7 +105,14 @@ export const AnswersGraph = memo(function AnswersGraph(props: { tickValues: numXTickValues, format: (time) => formatTime(+time, multiYear, lessThanAWeek, false), }} - colors={{ scheme: 'pastel1' }} + colors={[ + '#fca5a5', // red-300 + '#93c5fd', // blue-300 + '#86efac', // green-300 + '#f9a8d4', // pink-300 + '#a5b4fc', // indigo-300 + '#fcd34d', // amber-300 + ]} pointSize={0} curve="stepAfter" enableSlices="x"