Conditional styling for list items

I would like to be able to add custom styling to list items based on certain conditions (similar to the way that action buttons can now be displayed only when they meet certain conditions).

I have a list of products. I want to highlight all products that belong to the logged in user with a special color.

A quick help could also be the ability to set custom css classes per item based on certain conditions.


Def upvoting this. See also our case here.