Directional selection shifts the overall makeup of the population by favoring variants at one extreme of the distribution.
In this case, darker mice are favored because they live among dark rocks and a darker fur color conceals them from predators.