You must have missed the part where Democrats did just that and passed the Civil Rights Act.  See the GOP used the southern strategy to lure southern democrats who didn't support civil rights, now they are the GOP.  Sorry your history teachers failed you, you should read a book!