Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zigai committed Oct 2, 2024
1 parent f745c56 commit 036a249
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stdl/st.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ def _get_ansi_value(value: str | None, handler) -> str:

def colored(
text: str,
color: ForegroundColor | None = None,
background: BackgroundColor | None = None,
style: Style | None = None,
color: ForegroundColor | str | None = None,
background: BackgroundColor | str | None = None,
style: Style | str | None = None,
):
"""
Returns the text with ansi color, background color and text style codes.
Expand Down

0 comments on commit 036a249

Please sign in to comment.