From 593c9ef3dd2c65e9e10e9f299ca45cd3a0c9004c Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Sun, 27 Aug 2017 01:22:10 +0200 Subject: [PATCH] Section and subsection colors are beamercolors. --- cours/cours_beamer.cls | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cours/cours_beamer.cls b/cours/cours_beamer.cls index 702d515..0fcfd3f 100644 --- a/cours/cours_beamer.cls +++ b/cours/cours_beamer.cls @@ -162,10 +162,9 @@ color(0bp)=(white!40);color(100bp)=(black!0) } \mdfdefinestyle{partie}{ - % \usebeamercolor{sectioncolor} outerlinewidth=1em, outerlinecolor=white,% % leftmargin=-1em, rightmargin=-1em,% - middlelinewidth=1.2pt, linecolor=red, roundcorner=5pt,% + middlelinewidth=1.2pt, linecolor=sectioncolor.fg, roundcorner=5pt,% apptotikzsetting={ \tikzset{ mdfbackground/.append style={ @@ -176,10 +175,9 @@ } % \mdfdefinestyle{sspartie}{ - % \usebeamercolor{subsectioncolor} outerlinewidth=1em, outerlinecolor=white,% % leftmargin=-1em, rightmargin=-1em,% - middlelinewidth=1.2pt, linecolor=airforceblue, roundcorner=5pt,% + middlelinewidth=1.2pt, linecolor=subsectioncolor.fg, roundcorner=5pt,% apptotikzsetting={ \tikzset{ mdfbackground/.append style={