Even the language that the different parties use is targeted at certain sets of values; Arnold Kling wrote this short book on the subject ("The Three Languages of Politics"): https://cdn.cato.org/libertarianismdotorg/books/ThreeLanguag...
"The Righteous Mind" by Jonathan Haidt is another, more nuanced (and complicated), but extremely interesting take on the subject of how values drive political affiliation.