mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Put color definitions in a standalone file #136; add color settings for social icons
This commit is contained in:
parent
3b9bdd10b8
commit
57d6bcf32c
4 changed files with 108 additions and 35 deletions
|
|
@ -18,11 +18,17 @@
|
|||
%-------------------------------------------------------------------------------
|
||||
% Package for academic icons
|
||||
\RequirePackage{academicons}
|
||||
\RequirePackage{xcolor}
|
||||
|
||||
%-------------------------------------------------------------------------------
|
||||
% colors
|
||||
% set colors
|
||||
%-------------------------------------------------------------------------------
|
||||
\definecolor{orcid}{HTML}{a6ce39}
|
||||
\input{commons/colors}
|
||||
|
||||
\providecolor{orcid}{named}{default-socialicon-color}
|
||||
\providecolor{researchgate}{named}{default-socialicon-color}
|
||||
\providecolor{researcherid}{named}{default-socialicon-color}
|
||||
\providecolor{googlescholar}{named}{default-socialicon-color}
|
||||
|
||||
%-------------------------------------------------------------------------------
|
||||
% all symbols described in moderncv.cls
|
||||
|
|
@ -44,9 +50,9 @@
|
|||
%\newcommand*{\bitbucketsocialsymbol} {}
|
||||
%\newcommand*{\skypesocialsymbol} {}
|
||||
\renewcommand*{\orcidsocialsymbol} {{\color{orcid}\small\aiOrcid}~}
|
||||
\renewcommand*{\researchgatesocialsymbol} {{\small\aiResearchGateSquare}~} % alternative: \aiResearchGate
|
||||
\renewcommand*{\researcheridsocialsymbol} {{\small\aiResearcherIDSquare}~} % alternative: \aiResearcherID
|
||||
\renewcommand*{\googlescholarsocialsymbol}{{\small\aiGoogleScholar}~}
|
||||
\renewcommand*{\researchgatesocialsymbol} {{\color{researchgate}\small\aiResearchGateSquare}~} % alternative: \aiResearchGate
|
||||
\renewcommand*{\researcheridsocialsymbol} {{\color{researcherid}\small\aiResearcherIDSquare}~} % alternative: \aiResearcherID
|
||||
\renewcommand*{\googlescholarsocialsymbol}{{\color{googlescholar}\raisebox{-1pt}{\large\aiGoogleScholar}}~}
|
||||
%\newcommand*{\telegramsocialsymbol} {}
|
||||
%\newcommand*{\whatsappsocialsymbol} {}
|
||||
%\newcommand*{\matrixsocialsymbol} {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue