Specify ManimColor type

This commit is contained in:
Grant Sanderson 2022-12-15 15:40:46 -08:00
parent da90c5e297
commit a78e2b6ad2

View file

@ -65,12 +65,12 @@ if TYPE_CHECKING:
class Checkmark(TexTextFromPresetString):
tex: str = R"\ding{51}"
default_color: str = GREEN
default_color: ManimColor = GREEN
class Exmark(TexTextFromPresetString):
tex: str = R"\ding{55}"
default_color: str = RED
default_color: ManimColor = RED
class Lightbulb(SVGMobject):