|
5 | 5 | import numpy as np
|
6 | 6 |
|
7 | 7 | from manimlib.constants import DL, DOWN, DR, LEFT, ORIGIN, OUT, RIGHT, UL, UP, UR
|
8 |
| -from manimlib.constants import GREY_A, RED, WHITE, BLACK |
| 8 | +from manimlib.constants import RED, BLACK, DEFAULT_MOBJECT_COLOR, DEFAULT_LIGHT_COLOR |
9 | 9 | from manimlib.constants import MED_SMALL_BUFF, SMALL_BUFF
|
10 | 10 | from manimlib.constants import DEG, PI, TAU
|
11 | 11 | from manimlib.mobject.mobject import Mobject
|
@@ -330,7 +330,7 @@ def __init__(
|
330 | 330 | stroke_color: ManimColor = BLACK,
|
331 | 331 | stroke_width: float = 0.0,
|
332 | 332 | fill_opacity: float = 1.0,
|
333 |
| - fill_color: ManimColor = WHITE, |
| 333 | + fill_color: ManimColor = DEFAULT_MOBJECT_COLOR, |
334 | 334 | **kwargs
|
335 | 335 | ):
|
336 | 336 | super().__init__(
|
@@ -374,7 +374,7 @@ def __init__(
|
374 | 374 | inner_radius: float = 1.0,
|
375 | 375 | outer_radius: float = 2.0,
|
376 | 376 | arc_center: Vect3 = ORIGIN,
|
377 |
| - fill_color: ManimColor = GREY_A, |
| 377 | + fill_color: ManimColor = DEFAULT_LIGHT_COLOR, |
378 | 378 | fill_opacity: float = 1.0,
|
379 | 379 | stroke_width: float = 0.0,
|
380 | 380 | **kwargs,
|
@@ -424,7 +424,7 @@ def __init__(
|
424 | 424 | outer_radius: float = 2.0,
|
425 | 425 | fill_opacity: float = 1.0,
|
426 | 426 | stroke_width: float = 0.0,
|
427 |
| - fill_color: ManimColor = GREY_A, |
| 427 | + fill_color: ManimColor = DEFAULT_LIGHT_COLOR, |
428 | 428 | center: Vect3 = ORIGIN,
|
429 | 429 | **kwargs,
|
430 | 430 | ):
|
@@ -644,7 +644,7 @@ def __init__(
|
644 | 644 | self,
|
645 | 645 | start: Vect3 | Mobject,
|
646 | 646 | end: Vect3 | Mobject,
|
647 |
| - stroke_color: ManimColor = GREY_A, |
| 647 | + stroke_color: ManimColor = DEFAULT_LIGHT_COLOR, |
648 | 648 | stroke_width: float = 5,
|
649 | 649 | buff: float = 0.25,
|
650 | 650 | tip_width_ratio: float = 5,
|
@@ -744,7 +744,7 @@ def __init__(
|
744 | 744 | end: Vect3 | Mobject = LEFT,
|
745 | 745 | buff: float = MED_SMALL_BUFF,
|
746 | 746 | path_arc: float = 0,
|
747 |
| - fill_color: ManimColor = GREY_A, |
| 747 | + fill_color: ManimColor = DEFAULT_LIGHT_COLOR, |
748 | 748 | fill_opacity: float = 1.0,
|
749 | 749 | stroke_width: float = 0.0,
|
750 | 750 | thickness: float = 3.0,
|
@@ -1008,7 +1008,7 @@ def __init__(
|
1008 | 1008 | width: float = DEFAULT_ARROW_TIP_WIDTH,
|
1009 | 1009 | length: float = DEFAULT_ARROW_TIP_LENGTH,
|
1010 | 1010 | fill_opacity: float = 1.0,
|
1011 |
| - fill_color: ManimColor = WHITE, |
| 1011 | + fill_color: ManimColor = DEFAULT_MOBJECT_COLOR, |
1012 | 1012 | stroke_width: float = 0.0,
|
1013 | 1013 | tip_style: int = 0, # triangle=0, inner_smooth=1, dot=2
|
1014 | 1014 | **kwargs
|
|
0 commit comments