Adding styles to pattern indexes