X-Git-Url: https://projects.mako.cc/source/beamer-mako/blobdiff_plain/a9f9f3497ad8c95613ec3dd7eabd864c1e000eab..2ae4716c05ebe56815b69983cfb44925135001c4:/template/example.tex?ds=sidebyside

diff --git a/template/example.tex b/template/example.tex
index 274d503..5b4805a 100644
--- a/template/example.tex
+++ b/template/example.tex
@@ -34,7 +34,7 @@
 \definecolor{makowhite1}{HTML}{f0f3f5}
 
 \setbeamercolor{normal text}{fg=black, bg=white}
-\setbeamercolor{alerted text}{fg=makopurple1}
+\setbeamercolor{alerted text}{fg=makopurple4}
 \setbeamercolor{example text}{fg=makoumber1}
 
 \setbeamercolor{palette primary}{bg=makopurple1, fg=normal text.bg}
@@ -44,10 +44,10 @@
 \setbeamercolor{structure}{fg=makopurple1, bg=normal text.bg} % itemize, enumerate, etc
 \setbeamercolor{section in toc}{fg=makopurple1, bg=normal text.bg} % TOC sections
 
-\setbeamercolor{progress bar}{fg=makopurple1}
-\setbeamercolor{title separator}{fg=makopurple1}
-\setbeamercolor{progress bar in head/foot}{fg=makopurple1}
-\setbeamercolor{progress bar in section page}{fg=makopurple1}
+% \setbeamercolor{progress bar}{fg=makopurple1}
+% \setbeamercolor{title separator}{fg=makopurple1}
+% \setbeamercolor{progress bar in head/foot}{fg=makopurple1}
+% \setbeamercolor{progress bar in section page}{fg=makopurple1}
 
 % this is a fix for a bug with XeTeX and notes pages
 % see: https://tex.stackexchange.com/questions/232168/normal-text-is-invisible-when-using-beamer-with-notes-and-xelatex
@@ -55,10 +55,33 @@
 \makeatletter
 \def\beamer@framenotesbegin{% at beginning of slide
   \ifthenelse{\not \boolean{metropolis@standout}}{%
-     \usebeamercolor[fg]{normal text}
+    \usebeamercolor[fg]{normal text}%
       \gdef\beamer@noteitems{}% 
       \gdef\beamer@notes{}%
-    }{}
+      
+    }{\gdef\beamer@noteitems{}%
+      \gdef\beamer@notes{}%
+    }
+}
+% redfine the notes type to clear things (working around the same bug)
+% https://tex.stackexchange.com/questions/28966/change-beamer-notes-list-type-for-in-frame-notes
+\def\beamer@setupnote{%
+  \gdef\beamer@notesactions{%
+    \beamer@outsideframenote{%
+      \beamer@atbeginnote%
+      {\normalfont%
+       \parskip 0.5em%
+      \usebeamercolor[fg]{normal text}%
+      \beamer@notes%
+      \ifx\beamer@noteitems\@empty\else
+      \beamer@noteitems%
+      \fi%
+      
+      \par}
+      \beamer@atendnote%
+    }%
+    \gdef\beamer@notesactions{}%
+  }
 }
 \makeatother
 
