parse_color_and_pattern

parse_color_and_pattern#

penzai.treescope.handlers.builtin_structure_handler.parse_color_and_pattern(requested_color: str | tuple[str, str], typename_for_warning: str | None) tuple[str | None, str | None][source]#

Parses a background color and pattern from a user-provided color request.