Move iterable doctring from Flavor to FlavorColors (#73)

This commit is contained in:
Sergio 2024-09-04 18:38:01 +02:00 committed by GitHub
parent 6699255f59
commit eaa1e459f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,7 +37,10 @@ class Color:
@dataclass(frozen=True)
class FlavorColors:
"""All of the colors for a particular flavor of Catppuccin."""
"""All of the colors for a particular flavor of Catppuccin.
Can be iterated over, in which case the colors are yielded in order.
"""
rosewater: Color
flamingo: Color
@ -103,7 +106,6 @@ class Flavor:
"""A flavor is a collection of colors.
Catppuccin has four flavors; Latte, Frappé, Macchiato, and Mocha.
Can be iterated over, in which case the colors are yielded in order.
"""
name: str