I want to store some options of tcolorbox
in a macro (because they may changes) for later use. But the following method fails.
\usepackage{tcolorbox}
\begin{document}
\newcommand{\theoption}{colback=red,boxrule=3pt}
\tcbset{myoption/.style={code={\theoption}}}
\begin{tcbitemize}[myoption]
\tcbitem some text
\tcbitem some text
\tcbitem some text
\tcbitem some text
\end{tcbitemize}
\end{document}
But the option colback and boxrule have not any effect. So, how to make a marco as option of tcolorbox
\tcbset{myoption/.style={colback=blue,boxrule=1pt}
or something.tcolorbox