import { ColorType } from "@/context/themes/color"

export const getThemeColor = (time: any) => {
    if (time.scenario == 'FAST') {
        return ColorType.fast
    }
    else if (time.scenario == 'SLEEP') {
        return ColorType.sleep
    }
    else {
        if (time.status == 'WAIT_FOR_START' || time.status == 'ONGOING3') {
            return ColorType.fast
        }
        return ColorType.sleep
    }
}