mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-08 13:04:47 +08:00
23 lines
527 B
Python
23 lines
527 B
Python
from typing import Any, Callable, Dict, Optional, Tuple, Union
|
|
|
|
color_names: Any
|
|
foreground: Any
|
|
background: Any
|
|
RESET: str
|
|
opt_dict: Any
|
|
|
|
def colorize(
|
|
text: Optional[str] = ..., opts: Union[Tuple, str] = ..., **kwargs: Any
|
|
) -> str: ...
|
|
def make_style(opts: Tuple = ..., **kwargs: Any) -> Callable: ...
|
|
|
|
NOCOLOR_PALETTE: str
|
|
DARK_PALETTE: str
|
|
LIGHT_PALETTE: str
|
|
PALETTES: Any
|
|
DEFAULT_PALETTE = DARK_PALETTE
|
|
|
|
def parse_color_setting(
|
|
config_string: str
|
|
) -> Optional[Dict[str, Dict[str, Union[Tuple[str], str]]]]: ...
|