Pug Interpolation not working with a class name

Pug Interpolation not working with a class name
0

#1

I am having an issue with this mixin. My terminals throws this error: Unexpected token interpolation expected text, interpolated-code, code, :, slash, newline or eos. How can I fix this?

mixin card(blend)
   .demo__card
	.demo__img.demo__img--#{blend}
	h2.demo__text=blend