Yellow legs and dark legs are both caused by recessive genes--so it is quite possible to breed two chickens with white legs and get chicks with yellow legs, slate legs, or green legs. (Yellow + slate = green, when dealing with chicken leg colors.)
But it also works to breed a yellow-legged rooster to a slate-legged hen and get some white-legged chicks
If half of your chickens have the wrong leg color, the others are likely to carry the same genes, but it is something you could breed out if you're willing to work on it.
If the chickens are otherwise good quality, and all the parents have white legs, then the breeder is probably working on the issue--but it takes time to breed out two different recessive genes for wrong-color legs. Using only white-legged birds, which you say the breeder did, is a good start.
White legs require two different genes to be right. Yellow legs have one gene wrong, slate legs have the other one wrong, and green legs would be wrong both ways. Do not breed from green-legged birds
Choosing birds for breeding:
White legged hens are best, slate legged hens almost as good (keep only daughters, not sons, from hens with slate legs.)
White-legged roosters are best, but yellow-legged roosters would be the second choice here.
The slate leg color should be caused by a sex-linked gene, located on the Z chromosome. In chickens, the males have two Z chromosomes (ZZ) and the females have ZW.
So a hen will have slate legs if she has only one copy of the gene, but roosters need two copies to show it. That means your slate-legged birds are likely to be females. It also means that slate-legged hens pass that gene to their sons but NOT to their daughters. So breed slate-legged hens to white or yellow leg roosters, and keep only daughters, and you will be making good progress at getting rid of the dark-leg gene.
If you like to play with genetics calculators, this one includes the leg color genes:
http://kippenjungle.nl/breeds/crossbreeds.html
White vs. yellow is W+ (white) or w (yellow)
Dark vs. light is Id (light) or id+ (dark)
They're in the list of genes at the bottom.
(That calculator is either a fun toy, or very frustrating--depends on the person using it. I don't know which it'll be for you.)