The cake itself was yellow cake with buttercream frosting.
If your dog has eaten vanilla cake, she's probably just fine, depending on how much she's eaten.
There's nothing toxic in vanilla cake, but it is loaded with sugar, which dogs simply don't need in their diet.