def get_button_surfs(bg_color):
    """Create 2-tuple of surfaces with given background color."""

    return tuple(

        render_layered_icon(
            chars=[chr(82)],
            dimension_name="height",
            dimension_value=8,
            colors=[(255, 255, 255)],
            background_width=10,
            background_height=10,
            offset_pos_by=(-1, -1),
            rotation_degrees=rotation_degrees,
            background_color=bg_color,
        )

        for rotation_degrees in (-180, -90)

    )
Create 2-tuple of surfaces with given background color.
nodezator/graphman/callablenode/surfs.py