In reply to Francesco Guilliani.

You don't have to hardcode colors for this issue. You just need a lack of a standardized class-naming system. It has far less to do with the editor itself than convention.

Hardcoded colors would have actually prevented this situation because the blue background would've still been there. But, using them would create other design problems.