ImGui target widget for styling

How to target specific widgets by a tag or type? Not sure if the “HowTo Use Custom Fonts” example should demonstrate that but it is not working:

“Build a Custom Editor” example is your friend here.
You can create your own editor by Type using this method.

Something related here