Moved style constants to style class and turned them into global constants.