create_style function

Creates a style object