Nicolas Dudebout committed 1686da3

Enables customization of the note page look.

The colors that were used in the note page were half hard coded and half inherited from other values. This has the unintended consequence to give some conflicting values. For example, setting a normal text foreground to white meant that the note page foreground was white with no way of setting a note page background to anything but white. The only recourse was to change the note page foreground to display nicely on white.

Customization for the note page title, date, and background is added.

The mini slide also inherits the foreground and background color of normal text.

Comments (0)

Files changed (4)


-      \color[gray]{0.8}
+      \color{normal}
-      \color{black}
+      \color{normal text.fg}


 \setbeamercolor{qed symbol}{parent=structure}
+\setbeamercolor{note page}{bg=white!90!black, fg=black}
+\setbeamercolor{note title}{bg=white!80!black, fg=black}
+\setbeamercolor{note date}{parent=note title}


 \setbeamerfont{note page}{size=\small}
+\setbeamerfont{note title}{parent=note page}
+\setbeamerfont{note date}{size=\footnotesize}


-    \insertvrule{.25\paperheight}{white!90!black}
-    \vskip-.25\paperheight
-    \nointerlineskip
+    \usebeamerfont{note title}\usebeamercolor[fg]{note title}%
+    \ifbeamercolorempty[bg]{note title}{}{%
+      \insertvrule{.25\paperheight}{note}%
+      \vskip-.25\paperheight%
+      \nointerlineskip%
+    }%
-          \pgftext[base,left]{\footnotesize\the\year-\ifnum\month<10\relax0\fi\the\month-\ifnum\day<10\relax0\fi\the\day}}
+          \pgftext[base,left]{\usebeamerfont{note date}\usebeamercolor[fg]{note date}\the\year-\ifnum\month<10\relax0\fi\the\month-\ifnum\day<10\relax0\fi\the\day}}
+  \ifbeamercolorempty[bg]{note page}{}{%
+    \nointerlineskip%
+    \insertvrule{.75\paperheight}{note}%
+    \vskip-.75\paperheight%
+  }%
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.