import{defineStyle as o,defineStyleConfig as a}from"@chakra-ui/react";var r=o({background:"primary",color:"secondary",fontWeight:"medium",boxShadow:"base",_disabled:{opacity:"0.5"},_hover:{background:"primary",opacity:.9,_disabled:{background:"primary",opacity:"0.5"}},_active:{background:"primary"},_focusVisible:{boxShadow:"ring",_disabled:{boxShadow:"ring"}}}),d=o({background:"secondary",color:"primary",boxShadow:"base",border:"none",_disabled:{opacity:"0.5"},_hover:{background:"secondary",opacity:.8,_disabled:{background:"secondary",opacity:"0.5"}},_active:{background:"secondary"},_focusVisible:{boxShadow:"ring",_disabled:{boxShadow:"ring"}}}),i=o({background:"background",color:"foreground",borderColor:"input",boxShadow:"base",_disabled:{opacity:"0.5"},_active:{background:"background"},_hover:{background:"secondary",color:"primary",boxShadow:"base",_disabled:{background:"secondary",opacity:"0.5"}},_focusVisible:{boxShadow:"ring",_disabled:{boxShadow:"ring"}}}),c=o({color:"foreground",_disabled:{opacity:"0.5"},_hover:{background:"secondary",color:"primary",_disabled:{background:"secondary",opacity:"0.5"}},_active:{background:"secondary"},_focusVisible:{boxShadow:"ring",_disabled:{boxShadow:"ring"}}}),e=o({color:"foreground",_disabled:{opacity:"0.5"},_focusVisible:{boxShadow:"none"}}),b=a({defaultProps:{variant:"primary"},variants:{primary:r,secondary:d,outline:i,ghost:c,link:e}});export{b as ButtonTheme};
