simplify function-based styles, consolidate parsing for distances & colors and expand to the other style properties