Rename moderncvcolors from .tex to .sty for MiKTeX compatibility (#200)

* rename moderncvcolors from .tex to .sty for MiKTeX compatibility

* added changelog entry to document the file change
This commit is contained in:
daniel 2024-08-06 22:11:34 +02:00 committed by GitHub
commit 1472e001c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 62 additions and 45 deletions

51
moderncvcolors.sty Normal file
View file

@ -0,0 +1,51 @@
%% 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'.