From 036a249077848839ede7866b7e8b2fdf4cff534a Mon Sep 17 00:00:00 2001 From: zigai Date: Wed, 2 Oct 2024 22:57:09 +0200 Subject: [PATCH] update --- stdl/st.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stdl/st.py b/stdl/st.py index e9cb5af..c4c92d3 100644 --- a/stdl/st.py +++ b/stdl/st.py @@ -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.