FLOE-108: Improved the indicator component by using states for naming styles rather than colours as well as getting rid of duplication in unit tests.