Customize Dashboard Tracker - Add visible/invisible field

Hi all,

How can I add a field in the Dashboard tracker that is visible with a coloured background when the yes/no value is true, and is invisible when the yes/no value is false?

looks like this one below where if the part is MRP then the text appears as well as has a green background, and similarly if kanban = true.

image

any help would be much appreciated.

Thanks
hymal7