File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
materialyoucolor/dynamiccolor Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ def primary(self) -> "DynamicColor":
129129 pass
130130
131131 @abstractmethod
132- def primaryDim (self ) -> "DynamicColor | None " :
132+ def primaryDim (self ) -> "DynamicColor" :
133133 pass
134134
135135 @abstractmethod
@@ -154,7 +154,7 @@ def secondary(self) -> "DynamicColor":
154154 pass
155155
156156 @abstractmethod
157- def secondaryDim (self ) -> "DynamicColor | None " :
157+ def secondaryDim (self ) -> "DynamicColor" :
158158 pass
159159
160160 @abstractmethod
@@ -175,7 +175,7 @@ def tertiary(self) -> "DynamicColor":
175175 pass
176176
177177 @abstractmethod
178- def tertiaryDim (self ) -> "DynamicColor | None " :
178+ def tertiaryDim (self ) -> "DynamicColor" :
179179 pass
180180
181181 @abstractmethod
@@ -196,7 +196,7 @@ def error(self) -> "DynamicColor":
196196 pass
197197
198198 @abstractmethod
199- def errorDim (self ) -> "DynamicColor | None " :
199+ def errorDim (self ) -> "DynamicColor" :
200200 pass
201201
202202 @abstractmethod
Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ def primary(self) -> DynamicColor:
272272 ),
273273 )
274274
275- def primaryDim (self ) -> DynamicColor | None :
275+ def primaryDim (self ) -> DynamicColor :
276276 return None
277277
278278 def onPrimary (self ) -> DynamicColor :
@@ -336,7 +336,7 @@ def secondary(self) -> DynamicColor:
336336 ),
337337 )
338338
339- def secondaryDim (self ) -> DynamicColor | None :
339+ def secondaryDim (self ) -> DynamicColor :
340340 return None
341341
342342 def onSecondary (self ) -> DynamicColor :
@@ -408,7 +408,7 @@ def tertiary(self) -> DynamicColor:
408408 ),
409409 )
410410
411- def tertiaryDim (self ) -> DynamicColor | None :
411+ def tertiaryDim (self ) -> DynamicColor :
412412 return None
413413
414414 def onTertiary (self ) -> DynamicColor :
@@ -475,7 +475,7 @@ def error(self) -> DynamicColor:
475475 ),
476476 )
477477
478- def errorDim (self ) -> DynamicColor | None :
478+ def errorDim (self ) -> DynamicColor :
479479 return None
480480
481481 def onError (self ) -> DynamicColor :
You can’t perform that action at this time.
0 commit comments