Dark Is The Sun is a science fiction novel by American writer Philip José Farmer, first published in 1979.
It tells the story of the people and creatures left on Earth when the Sun is dead and the universe is heading towards the Big Crunch.
Pairing of sentient beings, including humans, is controlled by the use of "Soul Eggs" which are given shortly after birth, worn from the neck and when held up to another belonging to a potential mate will sync in pattern and color to approve marriage.
Their search brings them to the Jewelled Wasteland, home of the Shemibob, an ancient female being from another star who knows Earth's demise is near and holds the only key to escape.
Thomas M. Disch found himself unable to finish reading the novel, describing it as "meant for speed readers whose high-speed attention will construct from the asphalt of the prose a world of low resolution and high escapist involvement; not a novel but a daydream in remedial-reading.