mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 20:54:29 +08:00
19 lines
515 B
Python
19 lines
515 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]]]]: ...
|