diff options
Diffstat (limited to 'typing-stubs/colored/foreground.pyi')
-rw-r--r-- | typing-stubs/colored/foreground.pyi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/typing-stubs/colored/foreground.pyi b/typing-stubs/colored/foreground.pyi new file mode 100644 index 0000000..1bca2ed --- /dev/null +++ b/typing-stubs/colored/foreground.pyi @@ -0,0 +1,14 @@ +from .exceptions import InvalidColor as InvalidColor +from .library import Library as Library +from .utilities import Utilities as Utilities + +class MetaFore(type): + def __getattr__(cls, color: str): ... + +class Fore(metaclass=MetaFore): + @classmethod + def rgb(cls, r: int | str, g: int | str, b: int | str) -> str: ... + @classmethod + def RGB(cls, r: int | str, g: int | str, b: int | str) -> str: ... + +class fore(Fore): ... |