Apply styles to layers and objects