Skip to content

Commit eaa1e45

Browse files
authored
Move iterable doctring from Flavor to FlavorColors (#73)
1 parent 6699255 commit eaa1e45

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

catppuccin/models.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ class Color:
3737

3838
@dataclass(frozen=True)
3939
class FlavorColors:
40-
"""All of the colors for a particular flavor of Catppuccin."""
40+
"""All of the colors for a particular flavor of Catppuccin.
41+
42+
Can be iterated over, in which case the colors are yielded in order.
43+
"""
4144

4245
rosewater: Color
4346
flamingo: Color
@@ -103,7 +106,6 @@ class Flavor:
103106
"""A flavor is a collection of colors.
104107
105108
Catppuccin has four flavors; Latte, Frappé, Macchiato, and Mocha.
106-
Can be iterated over, in which case the colors are yielded in order.
107109
"""
108110

109111
name: str

0 commit comments

Comments
 (0)