Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract color determining logic to function
The color determination logic based on diagnostic values has been extracted into a separate function called `getColour`. This function is then utilized in two different places, which enhances code readability and maintainability.
- Loading branch information