Skip to content

Commit be10bc4

Browse files
committed
Fix type hint (#21)
1 parent 7308073 commit be10bc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

materialyoucolor/palettes/tonal_palette.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def from_hue_and_chroma(hue: float, chroma: float):
7070
key_color = KeyColor(hue, chroma).create()
7171
return TonalPalette(hue, chroma, key_color)
7272

73-
def tone(self, tone: float) -> int:
73+
def tone(self, tone: float) -> list[float]:
7474
argb = self.cache.get(tone)
7575
if argb is None:
7676
argb = Hct.from_hct(self.hue, self.chroma, tone).to_int()

0 commit comments

Comments
 (0)