mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
* rename moderncvcolors from .tex to .sty for MiKTeX compatibility * added changelog entry to document the file change
51 lines
2.2 KiB
TeX
51 lines
2.2 KiB
TeX
%% start of file `moderncvcolors.sty'.
|
|
%% Copyright 2006-2015 Xavier Danaux (xdanaux@gmail.com)
|
|
%% Copyright 2024-2024 moderncv maintainers (github.com/moderncv).
|
|
%
|
|
% This work may be distributed and/or modified under the
|
|
% conditions of the LaTeX Project Public License version 1.3c,
|
|
% available at http://www.latex-project.org/lppl/.
|
|
|
|
%-------------------------------------------------------------------------------
|
|
% identification
|
|
%-------------------------------------------------------------------------------
|
|
\NeedsTeXFormat{LaTeX2e}
|
|
\ProvidesPackage{moderncvcolors}[2024-07-18 v2.4.1 modern curriculum vitae and letter base colors]
|
|
|
|
%-------------------------------------------------------------------------------
|
|
% built-in colors
|
|
%-------------------------------------------------------------------------------
|
|
|
|
\definecolor{black}{RGB}{0, 0, 0}
|
|
\definecolor{red}{rgb}{0.95, 0.20, 0.20}
|
|
\definecolor{darkgrey}{rgb}{0.45, 0.45, 0.45}
|
|
\definecolor{orange}{rgb}{0.95, 0.55, 0.15}
|
|
\definecolor{burgundy}{rgb}{0.596078, 0, 0}% 139/255 (0.545098) or 152/255 (0.596078)
|
|
\definecolor{purple}{rgb}{0.50, 0.33, 0.80}
|
|
\definecolor{lightblue}{rgb}{0.22, 0.45, 0.70}
|
|
\definecolor{green}{rgb}{0.35, 0.70, 0.30}
|
|
|
|
%-------------------------------------------------------------------------------
|
|
% default colors
|
|
%-------------------------------------------------------------------------------
|
|
|
|
\@ifundefined{\string\color@default-socialicon-color}{\colorlet{default-socialicon-color}{darkgrey}}{}
|
|
|
|
%-------------------------------------------------------------------------------
|
|
% colors for social icons
|
|
%-------------------------------------------------------------------------------
|
|
|
|
% \definecolor{weixin}{rgb}{.184, .533, .098}
|
|
% \definecolor{linkedin}{HTML}{0a66c2}
|
|
% \definecolor{orcid}{HTML}{a6ce39}
|
|
% \definecolor{twitter}{RGB}{29, 155, 240}
|
|
% \definecolor{facebook}{HTML}{1b74e4}
|
|
% TODO: add more colors
|
|
|
|
%-------------------------------------------------------------------------------
|
|
% custom colors
|
|
%-------------------------------------------------------------------------------
|
|
|
|
% \definecolor{tsinghua}{HTML}{791CB5}
|
|
|
|
%% end of file `moderncvcolors.sty'.
|