It's not "from a party", it's nominated "by the Senate".
For example, Amy Barrett was confirmed by a vote of 55-43, including 3 Democrats.
I'm not sure why you mention "a national majority". It was never a popularity contest. States elect senators, senators confirm Supreme Court justices.