Define custom styles and then apply them to a pad