\documentclass{beamer}
\usetheme{Rochester}
\setbeamertemplate{block title}[horizontal shading][left=black, right=white]
\begin{document}
\begin{frame}
\frametitle{MWE}
\begin{block}{Title}
Test
\end{block}
\end{frame}
\end{document}
The template sidebar canvas left
can be set in this fashion; is there any way the same can be done for block titles using templates?
Best Answer
Unfortunately, due to the way boxes are built in beamer (take a look at the definition of
\beamerboxesrounded
and\endbeamerboxesrounded
inbeamerbaseboxes.sty
to see how different chunks are pieced together to build a box), this would require a major rewriting of the code producing the boxes and quite frankly I am not sure if the work is worthy the effort.You can however, get this effect using the
beamer
skin for atcolorbox
and a convenient definition forinterior titled code
using\shade
; something along these lines: