styles to styles-index