Skip to content

Commit

Permalink
Add comments to main enum classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakob-bagterp committed Feb 1, 2022
1 parent 27b7e81 commit b3ce421
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/colorist/model/background_bright_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

@unique
class BgBrightColor(Enum):
"""Options for bright background colors."""

GREEN = "\033[102m"
YELLOW = "\033[103m"
RED = "\033[101m"
Expand Down
2 changes: 2 additions & 0 deletions src/colorist/model/background_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

@unique
class BgColor(Enum):
"""Options for standard background colors."""

GREEN = "\033[42m"
YELLOW = "\033[43m"
RED = "\033[41m"
Expand Down
2 changes: 2 additions & 0 deletions src/colorist/model/bright_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

@unique
class BrightColor(Enum):
"""Options for bright colors."""

GREEN = "\033[92m"
YELLOW = "\033[93m"
RED = "\033[91m"
Expand Down
2 changes: 2 additions & 0 deletions src/colorist/model/color.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

@unique
class Color(Enum):
"""Options for standard colors."""

GREEN = "\033[32m"
YELLOW = "\033[33m"
RED = "\033[31m"
Expand Down
2 changes: 2 additions & 0 deletions src/colorist/model/effect.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

@unique
class Effect(Enum):
"""Options for effects and formatting."""

BOLD = "\033[1m"
DIM = "\033[2m"
UNDERLINE = "\033[4m"
Expand Down

0 comments on commit b3ce421

Please sign in to comment.