Replace style in repository

The replace table function in the repository is great :slight_smile:

It would be nice to do the same with styles. I know the styles can be overridden, but it would be cleaner to replace unused styles.