\ProvidesPackage{cu-kinovar}[2016/03/31 v1.0 CU Kinovar]

\RequirePackage{cu-util}
\RequirePackage{etoolbox}
\RequirePackage{xcolor}

%% 'color' option (default)
\def\cu@kinovar{\relax}
\def\cu@kinovar@color{\relax}

\DeclareOption{color}{
  \renewcommand{\cu@kinovar}[1]{\textcolor{kinovar}{#1}}
  \renewcommand{\cu@kinovar@color}{\color{kinovar}}
}
\DeclareOption{gray}{
  \renewcommand{\cu@kinovar}[1]{\textcolor{kinovar-gray}{#1}}
  \renewcommand{\cu@kinovar@color}{\color{kinovar-gray}}
}
\DeclareOption{bw}{
  \renewcommand{\cu@kinovar}[1]{#1}
  \renewcommand{\cu@kinovar@color}{\relax}
}

\ExecuteOptions{color}
\ProcessOptions\relax

% define standard colors
\definecolor{kinovar}{rgb}{0.80,0.03,0.01}
\definecolor{kinovar-gray}{rgb}{0.45,0.45,0.45}

% cuKinovar command colors just one letter with all accents if any
\newrobustcmd{\cuKinovar}{\cu@tokenizeletter{\cu@kinovar}}

% cuKinovarColorr switches foregrouond color to Kinovar
\newrobustcmd{\cuKinovarColor}{\cu@kinovar@color}

\endinput
