def operate_status_template(open_now: bool) -> tuple:
    """Flex Message 餐廳營業狀況

    Args:
        open_now (bool): 營業中

    Returns:
        tuple: (營業狀況, 營業文字顏色)
    """
    if open_now:
        operate_status = {
            "type": "text",
            "text": "營業中",
            "size": "xs",
            "color": "#ffffff",
            "align": "center",
            "gravity": "center",
        }
        operate_color = "#9ACD32"
    else:
        operate_status = {
            "type": "text",
            "text": "休息中",
            "size": "xs",
            "color": "#ffffff",
            "align": "center",
            "gravity": "center",
        }
        operate_color = "#FF6347"
    return (operate_status, operate_color)