I have a number of detail tabs. I'd like to give the tab a background colour depending on a condition. (So basically the functionality of the conditional layout, but now for tabs.)
In this way I can indicate the status of the information in that detail tab and help the user guide towards the tab of interest.
Something similar could also be of interest to a form. If a form has multiple fields divided over multiple tabs, and some of these fields are invalid (and have a red background colour), then by colouring those tabs that have an invalid field would help the user in finding these erroneous fields.