%%
%% This is file `beamercolorthemehitszbeamer.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% hitszbeamer.dtx  (with options: `hitszcolorstyle')
%% 
%% This is a generated file.
%% 
%% Copyright (C) 2019--2020 by Jingxuan Yang <yanglatex2e@gmail.com>
%% 
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in:
%% 
%% http://www.latex-project.org/lppl.txt
%% 
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2008/05/04 or later.
%% 
%% To produce the documentation run the original source files ending with `.dtx'
%% through LaTeX.
%% 

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamercolorthemehitszbeamer}
[2020/03/17 v1.0.0 A Beamer Theme for Harbin Institute of Technology, ShenZhen (HITSZ)]
\DeclareOptionBeamer{hitszred}{\def\beamer@hitszcolor{hitszred}}
\DeclareOptionBeamer{hitszblue}{\def\beamer@hitszcolor{hitszblue}}
\ProcessOptionsBeamer

\def\beamer@hitszcolorred{hitszred}
\mode<presentation>
{
  \ifx\beamer@hitszcolor\beamer@hitszcolorred%
    \definecolor{beamer@headercolor}{RGB}{175,33,37}
  \else
    \definecolor{beamer@headercolor}{rgb}{0.0,0.415,0.682}
  \fi

  \setbeamercolor{title}{fg=white,bg=beamer@headercolor}
  \setbeamercolor{frametitle}{fg=beamer@headercolor,bg=beamer@headercolor!30}
  \setbeamerfont{frametitle}{size=\large}

  \setbeamercolor{secondbottomline}{fg=white,bg=beamer@headercolor}
  \setbeamercolor{firstbottomline}{fg=white,bg=beamer@headercolor!80}
  \setbeamercolor{block title}{fg=white,bg=beamer@headercolor}
  \setbeamercolor{block title example}{%
    use={normal text,example text},fg=white,bg=example text.fg!75!green
  }
  \setbeamercolor{fine separation line}{}
  \setbeamercolor{item projected}{fg=white}
  \setbeamercolor{palette sidebar primary}{use=normal text,fg=normal text.fg}
  \setbeamercolor{palette sidebar quaternary}{use=structure,fg=structure.fg}
  \setbeamercolor{palette sidebar secondary}{use=structure,fg=structure.fg}
  \setbeamercolor{palette sidebar tertiary}{use=normal text,fg=normal text.fg}
  \setbeamercolor{section in sidebar}{fg=brown}
  \setbeamercolor{section in sidebar shaded}{fg=gray}
  \setbeamercolor{separation line}{}
  \setbeamercolor{sidebar}{bg=beamer@headercolor!30}
  \setbeamercolor{sidebar}{parent=palette primary}
  \setbeamercolor{structure}{fg=beamer@headercolor}
  \setbeamercolor{subsection in sidebar}{fg=brown}
  \setbeamercolor{subsection in sidebar shaded}{fg=gray}
  \setbeamercolor{logo}{bg=beamer@headercolor!50}
}

\mode<all>
%% 
%% This package consists of the file  hitszbeamer.dtx,
%%              and the derived files hitszbeamer.pdf,
%%                                    beamerthemehitszbeamer.sty,
%%                                    beamercolorthemehitszbeamer.sty,
%%                                    beamerinnerthemehitszbeamer.sty,
%%                                    beamerouterthemehitszbeamer.sty.
%% 
%%
%% End of file `beamercolorthemehitszbeamer.sty'.
