add state to generateStyleParams() function for <Require> (ALOY-476)
whitespace cleanup