summaryrefslogtreecommitdiffstats
path: root/slides/beamercolorthemetechnicolor.sty
blob: 3563bee471571d5261352ac10026998d1f23e359 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -*- Mode: Latex -*- %%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% beamercolorthemetechnicolor.sty --- 
%% Author          : Marc Joye
%% Last Modified On: Sun Jul 24 22:50:08 2011
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newif\ifmj@black\mj@blackfalse
\ifx\undefined\mj@blackcolor\else
  \csname mj@black\mj@blackcolor\endcsname
\fi
\DeclareOptionBeamer{black}[true]{\csname mj@black#1\endcsname}
\newif\ifmj@boxes\mj@boxesfalse
\ifx\undefined\mj@boxescolor\else
  \csname mj@boxes\mj@boxescolor\endcsname
\fi
\DeclareOptionBeamer{boxes}[true]{\csname mj@boxes#1\endcsname}
\ProcessOptionsBeamer

% Cf. <http://www.warpgear.com/pan tone/index.php>
\definecolor{Gray}{RGB}{108,109,112}
\definecolor{Gray10}{RGB}{93,93,96}         % PMS Cool gray 10
\definecolor{Gray8}{RGB}{124,123,126}       % PMS Cool gray 8
\definecolor{Gray6}{RGB}{157,156,157}       % PMS Cool gray 6
\definecolor{Gray4}{RGB}{177,175,174}       % PMS Cool gray 4
\definecolor{Gray2}{RGB}{203,201,198}       % PMS Cool gray 2
\definecolor{Violet}{RGB}{211,107,198}      % PMS 252
\definecolor{MediumViolet}{RGB}{119,45,107} % PMS 255
\definecolor{Olive}{RGB}{186,216,10}        % PMS 382
\definecolor{MediumOlive}{RGB}{112,112,20}  % PMS 385


\mode<presentation>

\setbeamercolor{titlegraphic}{bg=Gray,fg=white}
\setbeamercolor{footline}{fg=Gray}
\setbeamercolor{separation line}{fg=Gray,bg=black}
\setbeamercolor{subtitle}{fg=Gray}

\setbeamercolor{item}{fg=structure.fg}
\setbeamercolor{sidebar left}{use=structure,bg=structure.fg!10}
\setbeamercolor{itemize subitem}{fg=Gray8}
\setbeamercolor{itemize subsubitem}{fg=Gray4}

\ifmj@black
  \setbeamercolor*{normal text}{fg=white,bg=black}
  \setbeamercolor*{structure}{fg=white}
  %\setbeamercolor*{background canvas}{bg=black}
\else
  \setbeamercolor*{normal text}{fg=black,bg=white}
  \setbeamercolor*{structure}{fg=black}
\fi

\ifmj@boxes
  \setbeamercolor{block title}{use=normal text,fg=normal text.bg,bg=normal text.fg!75!normal text.fg}
  \setbeamercolor{block title alerted}{use={normal text,alerted text},fg=normal text.bg,bg=alerted text.fg!75!normal text.fg}
  \setbeamercolor{block title example}{use={normal text,example text},fg=normal text.bg,bg=example text.fg!75!normal text.fg}
  \setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!15!bg}
  \setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!15!bg}
  \setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!15!bg}
  \setbeamertemplate{blocks}[default]
\fi



\mode<all>