forked from luistar/unina-beamer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
beamercolorthemeUniNA.sty
53 lines (47 loc) · 2.45 KB
/
beamercolorthemeUniNA.sty
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
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamercolorthemeUniNA}[2018/11/16 An unofficial beamer theme for the University of Naples "Federico II"]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Theme options and definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{xcolor}
\definecolor{uninabg}{HTML}{FCFCFC}%{EFEFEF}%{EEF0F2}%{F4F7F9}
\definecolor{uninablue}{HTML}{002747}%{092C3D}%{0C414F}%{0F4C5C}%{07121C}
\definecolor{uninaorange}{HTML}{D72638}%{FE5D26}
\definecolor{uninagreen}{HTML}{149911}%{256D1B}
\definecolor{uninagray}{HTML}{434E58}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%beamer specific options
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<presentation>%refers to the first four modes (beamer,handout,second and trans). That is, to all modes except the article mode
{
\definecolor{beamer@barcolor}{RGB}{194,193,204}% light blue
\definecolor{beamer@headercolor}{RGB}{33,26,82}% dark blue
\definecolor{beamer@normaltextcolor}{RGB}{84,97,110}% gray blue
% If you want to use the old colours in the theme with the new logo, do the following
% a) uncomment the two lines below and comment out line 31, 31, and 42
% \definecolor{beamer@barcolor}{rgb}{0.55,0.79,0.94}% old light blue
% \definecolor{beamer@headercolor}{rgb}{0.00,0.41,0.66}% old dark blue
% b) open the aau_logo_new.eps-file and/or the aau_logo_new_circle.eps-file in a text editor
% and change line 69 to
% 0 105 168 rG
% c) convert the eps-file to a pdf-file. This can be done by running
% epstopdf aau_logo_new.eps
%\setbeamercolor{structure}{fg=beamer@headercolor}
%\setbeamercolor{normal text}{fg=beamer@normaltextcolor}
%\setbeamercolor{frametitle}{fg=white,bg=beamer@headercolor}
%\setbeamercolor{AAUsimple}{fg=beamer@barcolor,bg=beamer@headercolor}
\setbeamercolor{background canvas}{bg=uninabg}
\setbeamercolor{structure}{fg=uninablue}
\setbeamercolor{frametitle}{fg=uninabg,bg=uninablue}
\setbeamercolor{UniNA}{fg=beamer@barcolor,bg=uninablue}
\setbeamercolor{alerted text}{fg=uninaorange}
\setbeamercolor{normal text}{fg=uninagray}
% blocks
\setbeamercolor{block title}{fg=white,bg=uninablue}
\setbeamercolor{block body}{fg=,bg=uninablue!7}
\setbeamercolor{block title example}{fg=white,bg=uninagreen}
\setbeamercolor{block body example}{fg=,bg=uninagreen!20}
\setbeamercolor{block title alerted}{fg=white,bg=uninaorange}
\setbeamercolor{block body alerted}{fg=,bg=uninaorange!20}
}%end of beamer specific options
\mode<all>