Refactoring color and style with Elements