[bootlin/training-materials updates] master: common/beamerthemeBootlin.sty: adjust color used for \code{} and verbatim (75149f66)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Aug 2 15:26:45 CEST 2022


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/75149f660eab0aba53aa846be50a1d4abb32dd34

>---------------------------------------------------------------

commit 75149f660eab0aba53aa846be50a1d4abb32dd34
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Date:   Tue Aug 2 11:49:58 2022 +0200

    common/beamerthemeBootlin.sty: adjust color used for \code{} and verbatim
    
    The currently used color is really light, especially inside a
    \begin{block}...\end{block} in which it's barely readable.
    
    This commit switches to the color 0.35, 0.35, 0.35, and ensures we use
    the same color for \code{} and verbatim environments.
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>


>---------------------------------------------------------------

75149f660eab0aba53aa846be50a1d4abb32dd34
 common/beamerthemeBootlin.sty | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/common/beamerthemeBootlin.sty b/common/beamerthemeBootlin.sty
index a0df6e5a..3070a9f7 100644
--- a/common/beamerthemeBootlin.sty
+++ b/common/beamerthemeBootlin.sty
@@ -8,8 +8,6 @@
 \setlength{\TPHorizModule}{\paperwidth}
 \setlength{\TPVertModule}{\paperheight}
 
-\fvset{formatcom=\color{darkgray}}
-\renewcommand\verbatim at font{\normalfont\ttfamily\color{gray}}
 
 \usetheme{default}
 \useinnertheme{default}
@@ -24,9 +22,12 @@
 \setbeamercolor*{palette primary}{bg=white}
 \definecolor{blorange}{rgb}{0.96,0.5,0.1}
 
-\definecolor{blcode}{rgb}{0.5,0.5,0.5}
+\definecolor{blcode}{rgb}{0.35,0.35,0.35}
 \setbeamercolor{code}{fg=blcode}
 
+\fvset{formatcom=\color{blcode}}
+\renewcommand\verbatim at font{\normalfont\ttfamily\color{blcode}}
+
 \definecolor{blcodebg}{rgb}{0.9,0.9,0.9}
 \setbeamercolor{block body}{bg=blcodebg}
 




More information about the training-materials-updates mailing list