It is only speculation from some scholars that think the svartalfar and dvergar were the same thing. Other scholars disagree and speculate that they are two distinct peoples and even others think svartalfar, dokkalfr, and dvergar were all distinct.
Also, 'svart' doesn't mean literally dark...