From 5353471fcecfb4cd8bb37d16dcbcddd124f97d4f Mon Sep 17 00:00:00 2001 From: Javier Lopez-Gomez Date: Mon, 6 May 2024 17:52:09 +0200 Subject: [PATCH] [contemporary] Fix social icons appering in the header --- commons/colors.tex | 2 +- moderncvstylecontemporary.sty | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/commons/colors.tex b/commons/colors.tex index aaa6319..7f840ff 100644 --- a/commons/colors.tex +++ b/commons/colors.tex @@ -15,7 +15,7 @@ % default colors %------------------------------------------------------------------------------- -\colorlet{default-socialicon-color}{darkgrey} +\@ifundefined{\string\color@default-socialicon-color}{\colorlet{default-socialicon-color}{darkgrey}}{} %------------------------------------------------------------------------------- % colors for social icons diff --git a/moderncvstylecontemporary.sty b/moderncvstylecontemporary.sty index 848b94d..32f02ce 100644 --- a/moderncvstylecontemporary.sty +++ b/moderncvstylecontemporary.sty @@ -39,7 +39,8 @@ %\fi % symbols -\moderncvicons{marvosym} +\providecolor{default-socialicon-color}{named}{headtext} +\moderncvicons{symbols} %------------------------------------------------------------------------------- % Colors