Skip to content

Commit

Permalink
Update color logic in getColour function
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Dialpuri committed Mar 13, 2024
1 parent 19de3b7 commit 02bf71a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/data/Constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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" : "")
}


Expand Down

0 comments on commit 02bf71a

Please sign in to comment.