My thesis before the election was that people primarily voted based on their intuition according to their virtues and vices, but then looked for logical rationales to justify that vote. This seems vindicated by the results.
Fortunately, the electorate's better angel by and large prevailed. It helped that Trump was not on the ballot, but that Democrats were running against him.