MCPcopy Index your code
hub / github.com/prompt-toolkit/ptpython / get_all_ui_styles

Function get_all_ui_styles

src/ptpython/style.py:24–31  ·  view source on GitHub ↗

Return a dict mapping {ui_style_name -> style_dict}.

()

Source from the content-addressed store, hash-verified

22
23
24def get_all_ui_styles() -> dict[str, BaseStyle]:
25 """
26 Return a dict mapping {ui_style_name -> style_dict}.
27 """
28 return {
29 "default": Style.from_dict(default_ui_style),
30 "blue": Style.from_dict(blue_ui_style),
31 }
32
33
34def generate_style(python_style: BaseStyle, ui_style: BaseStyle) -> BaseStyle:

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected