From 02bf71a8c93c18b1b305d55db02cd3acbe80912b Mon Sep 17 00:00:00 2001 From: Jordan Dialpuri <44945647+Dialpuri@users.noreply.github.com> Date: Wed, 13 Mar 2024 10:17:26 +0000 Subject: [PATCH] Update color logic in getColour function The color logic within the `getColour` function in Constants.tsx has been modified. The color for the 'yes' diagnostic is updated from "text-red-400" to "text-red-600" in order to provide more optic distinction in the application's UI. --- webapp/src/data/Constants.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/data/Constants.tsx b/webapp/src/data/Constants.tsx index a1edd93b..7bb50d3f 100644 --- a/webapp/src/data/Constants.tsx +++ b/webapp/src/data/Constants.tsx @@ -141,7 +141,7 @@ export const DatabaseColumns = [ function getColour(diagnostic) { - return diagnostic !== "yes" ? "text-red-400" : (diagnostic === "check" ? "text-yellow-600" : "") + return diagnostic !== "yes" ? "text-red-600" : (diagnostic === "check" ? "text-yellow-600" : "") }