[Tex/LaTex] Change the color of titles to include whole word in Awesome CV

awesome-cv

I am currently using Awesome CV template on overleaf for my cover letter, and one thing that I noticed is that the first three letters of the sections are highlighted in color. On the resume, this looks cool because it is consistent throughout. However, I find it a little odd looking that both 'Why' are one word fully colored and 'About' is only three letters highlighted but it isn't the whole word.

Is there any way to change the coloring of the headers so that 'About' in the section heading is fully colored?

Here is a screenshot from the template to be clearer:
Template

Instead of just 'Abo' colored in red, I would like 'About' colored in red.

Any help would be greatly appreciated, I am not sure where to do this in the code.

Best Answer

awesomecv.cls defines the \@sectioncolor such that it would only apply the colouring to the first three tokens:

\def\@sectioncolor#1#2#3{%
  \ifbool{acvSectionColorHighlight}{{\color{awesome}#1#2#3}}{#1#2#3}%
}

So for the entire heading to be coloured (and assuming you always want it to be coloured so we can ignore the boolean for now), you can add these lines before \begin{document}:

\makeatletter
\def\@sectioncolor{\color{awesome}}
\makeatother