Conditional formatting in the side menu

I’d like to add a color bubble to an item in the menu, alerting a user that they have tasks to complete (a la the red bubble on your email or messages app). I can certainly accomplish this in the main section of the application, but haven’t been able to get that to work in the menu system. Getting the length of an array to show as a number is easy. getting that number to change colors, however, is something I can’t find in the docs. Any guidance would be appreciated, as always. JR