style attributes given enum types for size and type