\usepackage[theorems]{tcolorbox} \usepackage{cleveref} \newtcbtheorem[ crefname={definition}{definitions} ] {defn}{Definition}{}{defn} %theorem \newtcbtheorem[ use counter from=defn, crefname={theorem}{theorems} ] {thm}{Theorem}{}{thm}