From 0654db980a6e94be198af54005f6eb0a816dedff Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Tue, 28 Nov 2023 14:50:57 +0000 Subject: [PATCH] update --- taxonium_component/src/hooks/useColor.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/taxonium_component/src/hooks/useColor.jsx b/taxonium_component/src/hooks/useColor.jsx index d5fcb755..4d4a59d0 100644 --- a/taxonium_component/src/hooks/useColor.jsx +++ b/taxonium_component/src/hooks/useColor.jsx @@ -83,9 +83,13 @@ const useColor = (colorMapping) => { if (string === "B.1.2") { return [95, 158, 245]; //This is near B.1.617.2 } + if (string === "South_Africa") { + return [9, 191, 255]; // otherwise collides with Kenya + } if (string === "England") { return [214, 58, 15]; // UK all brick } + if (string === "Scotland") { return [255, 130, 82]; // UK all brick }