How might it be possible to change the font color of a tikzpicture
element to the value of a particular beamercolor
, e.g. block title
?-- For example:
\documentclass{beamer}
\usepackage{tikz}
\begin{document}
\frame{
\begin{tikzpicture}
\draw (0, 5) node (n1) [text=block title] {I should be the same color as block text.};
\draw (0, 0) node (n2) {I should be plain black text.};
\path (n1) edge (n2);
\end{tikzpicture}
}
\end{document}