Viacom made a cartoon in the 80s/90s set in space. The goodies and baddies had big ships with smaller ships attached via magnets. The goodies ships were white and the baddies ships were black. I seem to remember the goodies base was built into an asteroid but may be wrong on that point.