From a96b8edb8d812dcd018acb41f538f34c11a8b3db Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 8 May 2016 22:28:47 +0000 Subject: fibeamer (8may16) git-svn-id: svn://tug.org/texlive/trunk@40954 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/latex/fibeamer/theme/mu/med.dtx | 110 ++++++++++++--------- 1 file changed, 65 insertions(+), 45 deletions(-) (limited to 'Master/texmf-dist/source/latex/fibeamer/theme/mu/med.dtx') diff --git a/Master/texmf-dist/source/latex/fibeamer/theme/mu/med.dtx b/Master/texmf-dist/source/latex/fibeamer/theme/mu/med.dtx index 722af59024f..2bab01c8b86 100644 --- a/Master/texmf-dist/source/latex/fibeamer/theme/mu/med.dtx +++ b/Master/texmf-dist/source/latex/fibeamer/theme/mu/med.dtx @@ -5,21 +5,32 @@ % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{fibeamer/theme/mu/% - beamercolorthemefibeamer-mu-med}[2016/01/14] + beamercolorthemefibeamer-mu-med}[2016/05/06] \mode % \end{macrocode} -% This color theme uses the combination of red, gray and -% white. The |fibeamer@back|\-|groundInner| and -% |fibeamer@backgroundOuter| colors are used within the background -% canvas template, which is defined within the color theme of the -% Masaryk University and which draws the gradient background of -% dark frames. +% This color theme uses the combination of yellow and shades of gray. The +% |fibeamer@{dark,|\-|light}@background{Inner,|\-|Outer}| colors are used +% within the background canvas template, which is defined within the base +% color theme of the Masaryk University and which draws the gradient +% background of the frames. % \begin{macrocode} + \definecolor{fibeamer@black}{HTML}{000000} + \definecolor{fibeamer@white}{HTML}{FFFFFF} \definecolor{fibeamer@red}{HTML}{c82600} - \definecolor{fibeamer@brightRed}{HTML}{FF350A} + \colorlet{fibeamer@lightRed}{fibeamer@red!30!fibeamer@white} + \colorlet{fibeamer@darkRed}{fibeamer@red!60!fibeamer@black} \definecolor{fibeamer@gray}{HTML}{999999} - \colorlet{fibeamer@backgroundInner}{fibeamer@red} - \colorlet{fibeamer@backgroundOuter}{fibeamer@red!60!black} + \definecolor{fibeamer@lightOrange}{HTML}{FFA25E} + \colorlet{fibeamer@orange}{fibeamer@lightOrange!80!fibeamer@darkRed} +% \end{macrocode} +% \changes{v1.1.4:2}{2016/05/06}{Removed gradient backgrounds from +% the color themes of the Masaryk University in Brno. [VN]} +% \begin{macrocode} + %% Background gradients + \colorlet{fibeamer@dark@backgroundInner}{fibeamer@darkRed} + \colorlet{fibeamer@dark@backgroundOuter}{fibeamer@darkRed} + \colorlet{fibeamer@light@backgroundInner}{fibeamer@white} + \colorlet{fibeamer@light@backgroundOuter}{fibeamer@white} % \end{macrocode} % The |darkframes| environment switches the |\iffibeamer@darktrue| % conditional on and sets a dark color theme. @@ -28,36 +39,42 @@ \begingroup \fibeamer@darktrue %% Structures - \setbeamercolor*{frametitle}{fg=fibeamer@red!30!white} - \setbeamercolor*{framesubtitle}{fg=white} + \setbeamercolor*{frametitle}{fg=fibeamer@lightRed} + \setbeamercolor*{framesubtitle}{fg=fibeamer@white} %% Text - \setbeamercolor*{normal text}{fg=white, bg=fibeamer@red} - \setbeamercolor*{structure}{fg=white, bg=fibeamer@red} + \setbeamercolor*{normal text}{fg=fibeamer@white, bg=fibeamer@red} + \setbeamercolor*{structure}{fg=fibeamer@white, bg=fibeamer@red} % \end{macrocode} % \changes{v1.1.0:7}{2016/01/12}{Added support for \cs{alert} to % the themes of the Masaryk University in Brno. [VN]} +% \changes{v1.1.4:5}{2016/06/06}{Unified the alert colors in the +% color themes of the Masaryk University in Brno. [VN]} +% \begin{macrocode} + \setbeamercolor*{alerted text}{fg=fibeamer@lightOrange} +% \end{macrocode} +% \changes{v1.1.4:3}{2016/05/06}{Added proper link coloring for the +% color themes of the Masaryk University in Brno. [VN]} % \begin{macrocode} - \setbeamercolor*{alerted text}{% - fg=fibeamer@brightRed!60!white!80!yellow} - %% Items - \setbeamercolor*{item}{fg=fibeamer@red!30!white} - \setbeamercolor*{footnote mark}{fg=fibeamer@red!30!white} + %% Items, footnotes and links + \setbeamercolor*{item}{fg=fibeamer@lightRed} + \setbeamercolor*{footnote mark}{fg=fibeamer@lightRed} + \hypersetup{urlcolor=fibeamer@lightRed} %% Blocks \setbeamercolor*{block title}{% - fg=white, bg=fibeamer@red!60!white} + fg=fibeamer@white, bg=fibeamer@red!60!fibeamer@white} \setbeamercolor*{block title example}{% - fg=white, bg=fibeamer@red!60!white} + fg=fibeamer@white, bg=fibeamer@red!60!fibeamer@white} \setbeamercolor*{block title alerted}{% - fg=white, bg=fibeamer@red!90!white} + fg=fibeamer@darkRed, bg=fibeamer@lightOrange} \setbeamercolor*{block body}{% fg=fibeamer@red, - bg=fibeamer@gray!15!white} + bg=fibeamer@gray!15!fibeamer@white} \usebeamercolor*{normal text} % Code listings \lstset{% - commentstyle=\color{green!30!white}, - keywordstyle=\color{blue!30!white}, - stringstyle=\color{fibeamer@red!30!white}} + commentstyle=\color{green!30!fibeamer@white}, + keywordstyle=\color{blue!30!fibeamer@white}, + stringstyle=\color{fibeamer@lightRed}} }{% \endgroup} % \end{macrocode} @@ -65,44 +82,47 @@ % \begin{macrocode} %% Structures \setbeamercolor{frametitle}{fg=fibeamer@red} - \setbeamercolor{framesubtitle}{fg=black!75!white} + \setbeamercolor{framesubtitle}{fg=fibeamer@black!75!fibeamer@white} %% Text - \setbeamercolor{normal text}{fg=black, bg=white} - \setbeamercolor{structure}{fg=black, bg=white} + \setbeamercolor{normal text}{fg=fibeamer@black, bg=fibeamer@white} + \setbeamercolor{structure}{fg=fibeamer@black, bg=fibeamer@white} % \end{macrocode} % \changes{v1.1.0:7}{2016/01/12}{Added support for \cs{alert} to % the themes of the Masaryk University in Brno. [VN]} +% \changes{v1.1.4:5}{2016/06/06}{Unified the alert colors in the +% color themes of the Masaryk University in Brno. [VN]} % \begin{macrocode} - \setbeamercolor{alerted text}{fg=fibeamer@brightRed} + \setbeamercolor{alerted text}{fg=orange} \addtobeamertemplate{block begin}{% \iffibeamer@dark % alerted text in plain block at dark slides - \setbeamercolor{alerted text}{% - fg=fibeamer@brightRed!80!white!80!yellow}% - \else % alerted text in plain block at light slides - \setbeamercolor{alerted text}{% - fg=fibeamer@brightRed!80!white}% + \setbeamercolor{alerted text}{fg=fibeamer@orange}% \fi}{} - %% Items - \setbeamercolor{item}{fg=fibeamer@red} - \setbeamercolor{footnote mark}{fg=fibeamer@red} +% \end{macrocode} +% \changes{v1.1.4:3}{2016/05/06}{Added proper link coloring for the +% color themes of the Masaryk University in Brno. [VN]} +% \begin{macrocode} + %% Items, footnotes and links + \setbeamercolor*{item}{fg=fibeamer@red} + \setbeamercolor*{footnote mark}{fg=fibeamer@red} + \hypersetup{urlcolor=fibeamer@red} %% Blocks \setbeamercolor{block title}{% - fg=white, bg=fibeamer@red!50!white} + fg=fibeamer@white, bg=fibeamer@red} \setbeamercolor{block title example}{% - fg=white, bg=fibeamer@red!50!white} + fg=fibeamer@white, bg=fibeamer@red} \setbeamercolor{block title alerted}{% - fg=white, bg=fibeamer@red} + fg=fibeamer@white, bg=orange} \setbeamercolor{block body}{% - fg=fibeamer@red!90!black, - bg=fibeamer@gray!20!white} + fg=fibeamer@red!90!fibeamer@black, + bg=fibeamer@gray!20!fibeamer@white} %% Title - \setbeamercolor{title}{fg=white, bg=fibeamer@red} + \setbeamercolor{title}{fg=fibeamer@white, bg=fibeamer@red} % Code listings \lstset{% basicstyle=\footnotesize\ttfamily, breakatwhitespace=false, breaklines=true, - commentstyle=\color{green!60!black}, + commentstyle=\color{green!60!fibeamer@black}, extendedchars=true, keywordstyle=\color{blue}, showspaces=false, -- cgit v1.2.3