add colors to some of the icons

This commit is contained in:
WEN Hao 2022-09-28 21:22:04 +08:00 committed by Mark E Fuller
commit 13078caa5a
2 changed files with 13 additions and 3 deletions

View file

@ -19,6 +19,10 @@
% Package for academic icons
\RequirePackage{academicons}
%-------------------------------------------------------------------------------
% colors
%-------------------------------------------------------------------------------
\definecolor{orcid}{RGB}{166,206,57}
%-------------------------------------------------------------------------------
% all symbols described in moderncv.cls
@ -39,7 +43,7 @@
%\newcommand*{\stackoverflowsocialsymbol}{}
%\newcommand*{\bitbucketsocialsymbol} {}
%\newcommand*{\skypesocialsymbol} {}
\renewcommand*{\orcidsocialsymbol} {{\small\aiOrcid}~}
\renewcommand*{\orcidsocialsymbol} {{\color{orcid}\small\aiOrcid}~}
\renewcommand*{\researchgatesocialsymbol} {{\small\aiResearchGateSquare}~} % alternative: \aiResearchGate
\renewcommand*{\researcheridsocialsymbol} {{\small\aiResearcherIDSquare}~} % alternative: \aiResearcherID
\renewcommand*{\googlescholarsocialsymbol}{{\small\aiGoogleScholar}~}

View file

@ -18,6 +18,12 @@
% Font Awesome font
\RequirePackage{fontawesome5}
%-------------------------------------------------------------------------------
% colors
%-------------------------------------------------------------------------------
\definecolor{linkedin}{RGB}{0,119,181}
\definecolor{orcid}{RGB}{166,206,57}
%-------------------------------------------------------------------------------
% all symbols described in moderncv.cls
%-------------------------------------------------------------------------------
@ -33,7 +39,7 @@
\renewcommand*{\faxphonesymbol} {{\small\faFax}~} % alternative: \faPrint
\renewcommand*{\emailsymbol} {{\small\faEnvelope[regular]}~} % alternative: \faInbox, \faEnvelope (solid style)
\renewcommand*{\homepagesymbol} {{\small\faGlobeAmericas}~} % alternative: \faHome, \faGlobe, \faGlobeEurope, \faGlobeAfrica, \faGlobeAsia
\renewcommand*{\linkedinsocialsymbol} {{\small\faLinkedinIn}~} % alternative: \faLinkedin
\renewcommand*{\linkedinsocialsymbol} {{\color{linkedin}\small\faLinkedinIn}~} % alternative: \faLinkedin
\renewcommand*{\xingsocialsymbol} {{\small\faXing}~} % alternative: \faXingSquare
\renewcommand*{\twittersocialsymbol} {{\small\faTwitter}~} % alternative: \faTwitterSquare
\renewcommand*{\mastodonsocialsymbol} {{\small\faMastodon}~}
@ -42,7 +48,7 @@
\renewcommand*{\stackoverflowsocialsymbol}{{\small\faStackOverflow}~}
\renewcommand*{\bitbucketsocialsymbol} {{\small\faBitbucket}~}
\renewcommand*{\skypesocialsymbol} {{\small\faSkype}~}
\renewcommand*{\orcidsocialsymbol} {{\small\faOrcid}~}
\renewcommand*{\orcidsocialsymbol} {{\color{orcid}\small\faOrcid}~}
\renewcommand*{\researchgatesocialsymbol} {{\small\faResearchgate}~}
%\renewcommand*{\researcheridsocialsymbol} {}
%\renewcommand*{\googlescholarsocialsymbol}{}