def get_top_corners(fill_color):
    """Create 2-tuple of top corners of given color."""

    return tuple(
        render_layered_icon(
            chars=[chr(ordinal) for ordinal in (161, 162)],
            dimension_name="height",
            dimension_value=10,
            colors=[NODE_OUTLINE, fill_color],
            background_width=8,
            background_height=8,
            flip_x=flip_x,
            flip_y=flip_y,
        )
        for flip_x, flip_y in (
            (False, False),
            (True, False),
        )
    )
Create 2-tuple of top corners of given color.
nodezator/graphman/callablenode/surfs.py