@@ -23,7 +23,6 @@ class PrimaryText(ft.Text): # type: ignore[misc]
2323 def __init__ (self , value : str , opacity : float = 1.0 , ** kwargs : Any ) -> None :
2424 defaults = {
2525 "no_wrap" : False ,
26- "color" : Theme .Colors .TEXT_PRIMARY ,
2726 "font_family" : "Roboto" ,
2827 "size" : Theme .Typography .BODY_LARGE ,
2928 "weight" : Theme .Typography .WEIGHT_REGULAR ,
@@ -46,7 +45,6 @@ def __init__(
4645 ) -> None :
4746 defaults = {
4847 "no_wrap" : no_wrap ,
49- "color" : Theme .Colors .TEXT_SECONDARY ,
5048 "font_family" : "Roboto" ,
5149 "size" : Theme .Typography .BODY ,
5250 "weight" : Theme .Typography .WEIGHT_REGULAR ,
@@ -66,7 +64,6 @@ class TitleText(ft.Text): # type: ignore[misc]
6664 def __init__ (self , value : str , opacity : float = 1.0 , ** kwargs : Any ) -> None :
6765 # Set defaults, but allow kwargs to override
6866 defaults = {
69- "color" : Theme .Colors .TEXT_PRIMARY ,
7067 "font_family" : "Roboto" ,
7168 "size" : Theme .Typography .H2 ,
7269 "weight" : Theme .Typography .WEIGHT_BOLD ,
@@ -110,7 +107,6 @@ class MetricText(ft.Text): # type: ignore[misc]
110107
111108 def __init__ (self , value : str , opacity : float = 1.0 , ** kwargs : Any ) -> None :
112109 defaults = {
113- "color" : Theme .Colors .TEXT_PRIMARY ,
114110 "font_family" : "Roboto" ,
115111 "size" : Theme .Typography .BODY_LARGE ,
116112 "weight" : Theme .Typography .WEIGHT_BOLD ,
@@ -130,7 +126,6 @@ class LabelText(ft.Text): # type: ignore[misc]
130126 def __init__ (self , value : str , opacity : float = 1.0 , ** kwargs : Any ) -> None :
131127 # Set defaults, but allow kwargs to override
132128 defaults = {
133- "color" : Theme .Colors .TEXT_SECONDARY ,
134129 "font_family" : "Roboto" ,
135130 "size" : Theme .Typography .BODY_SMALL ,
136131 "weight" : Theme .Typography .WEIGHT_SEMIBOLD ,
@@ -162,7 +157,6 @@ def __init__(self, value: str, opacity: float = 1.0, **kwargs: Any) -> None:
162157 defaults = {
163158 "size" : Theme .Typography .DISPLAY ,
164159 "weight" : Theme .Typography .WEIGHT_BOLD ,
165- "color" : Theme .Colors .TEXT_PRIMARY ,
166160 "font_family" : "Roboto" ,
167161 "selectable" : True ,
168162 }
@@ -181,7 +175,6 @@ def __init__(self, value: str, opacity: float = 1.0, **kwargs: Any) -> None:
181175 defaults = {
182176 "size" : Theme .Typography .H1 ,
183177 "weight" : Theme .Typography .WEIGHT_BOLD ,
184- "color" : Theme .Colors .TEXT_PRIMARY ,
185178 "font_family" : "Roboto" ,
186179 "selectable" : True ,
187180 }
@@ -200,7 +193,6 @@ def __init__(self, value: str, opacity: float = 1.0, **kwargs: Any) -> None:
200193 defaults = {
201194 "size" : Theme .Typography .H2 ,
202195 "weight" : Theme .Typography .WEIGHT_BOLD ,
203- "color" : Theme .Colors .TEXT_PRIMARY ,
204196 "font_family" : "Roboto" ,
205197 "selectable" : True ,
206198 }
@@ -219,7 +211,6 @@ def __init__(self, value: str, opacity: float = 1.0, **kwargs: Any) -> None:
219211 defaults = {
220212 "size" : Theme .Typography .H3 ,
221213 "weight" : Theme .Typography .WEIGHT_SEMIBOLD ,
222- "color" : Theme .Colors .TEXT_PRIMARY ,
223214 "font_family" : "Roboto" ,
224215 "selectable" : True ,
225216 }
@@ -238,7 +229,6 @@ def __init__(self, value: str, opacity: float = 1.0, **kwargs: Any) -> None:
238229 defaults = {
239230 "size" : Theme .Typography .BODY ,
240231 "weight" : Theme .Typography .WEIGHT_REGULAR ,
241- "color" : Theme .Colors .TEXT_PRIMARY ,
242232 "font_family" : "Roboto" ,
243233 "selectable" : True ,
244234 }
@@ -338,7 +328,6 @@ def __init__(self, value: str, opacity: float = 1.0, **kwargs: Any) -> None:
338328 defaults = {
339329 "size" : Theme .Typography .BODY_LARGE ,
340330 "weight" : Theme .Typography .WEIGHT_BOLD ,
341- "color" : Theme .Colors .TEXT_PRIMARY ,
342331 "font_family" : "Roboto" ,
343332 "selectable" : True ,
344333 }
@@ -357,7 +346,6 @@ def __init__(self, value: str, opacity: float = 1.0, **kwargs: Any) -> None:
357346 defaults = {
358347 "size" : Theme .Typography .BODY ,
359348 "weight" : Theme .Typography .WEIGHT_REGULAR ,
360- "color" : Theme .Colors .TEXT_SECONDARY ,
361349 "font_family" : "Roboto" ,
362350 "selectable" : True ,
363351 }
@@ -382,7 +370,6 @@ def __init__(
382370 defaults = {
383371 "size" : Theme .Typography .BODY ,
384372 "weight" : Theme .Typography .WEIGHT_REGULAR ,
385- "color" : Theme .Colors .TEXT_SECONDARY ,
386373 "font_family" : "Roboto" ,
387374 "overflow" : ft .TextOverflow .ELLIPSIS ,
388375 "width" : width ,
@@ -403,7 +390,6 @@ def __init__(self, value: str, opacity: float = 1.0, **kwargs: Any) -> None:
403390 defaults = {
404391 "size" : Theme .Typography .BODY ,
405392 "weight" : Theme .Typography .WEIGHT_BOLD ,
406- "color" : Theme .Colors .TEXT_PRIMARY ,
407393 "font_family" : "Roboto" ,
408394 "selectable" : True ,
409395 }
0 commit comments