Team Dark in Sonic Heroes consists of Shadow the Hedgehog, Rouge the Bat, and E-123 Omega—not Sonic (who leads Team Sonic).
While occasionally antagonistic toward Sonic's team (rivalry, conflicting methods), they consistently oppose greater threats (Eggman, Black Doom, Mephiles). Their "dark" designation refers to aesthetics and edgier methods, not evil alignment. They are canonical anti-heroes.