That is revisionist history. Republicans are very proud of their opposition to slavery, and the Democrats were the ones opposing civil rights.
There have been some changes in alignment over the years, but every Republican I've every talked to remains proud of their historic roles above.