Return a dict mapping {ui_style_name -> style_dict}.
()
| 22 | |
| 23 | |
| 24 | def 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 | |
| 34 | def generate_style(python_style: BaseStyle, ui_style: BaseStyle) -> BaseStyle: |