Skip to content

Commit

Permalink
Add option for colour of section divider (posquit0#348)
Browse files Browse the repository at this point in the history
Closes posquit0#348.
  • Loading branch information
Maroko authored and OJFord committed Feb 4, 2022
1 parent 3280a87 commit 1c95608
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions awesome-cv.cls
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
\colorlet{text}{darkgray}
\colorlet{graytext}{gray}
\colorlet{lighttext}{lightgray}
\colorlet{sectiondivider}{gray}
% Awesome colors
\definecolor{awesome-emerald}{HTML}{00A388}
\definecolor{awesome-skyblue}{HTML}{0395DE}
Expand Down Expand Up @@ -625,7 +626,7 @@
\vspace{\acvSectionTopSkip}
\sectionstyle{#1}
\phantomsection
\color{gray}\vhrulefill{0.9pt}
\color{sectiondivider}\vhrulefill{0.9pt}
}

% Define a subsection for CV
Expand Down Expand Up @@ -758,7 +759,7 @@
\par\addvspace{2.5ex}
\phantomsection{}
\lettersectionstyle{#1}
\color{gray}\vhrulefill{0.9pt}
\color{sectiondivider}\vhrulefill{0.9pt}
\par\nobreak\addvspace{0.4ex}
\lettertextstyle
}
Expand Down
1 change: 1 addition & 0 deletions examples/coverletter.tex
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
% \definecolor{text}{HTML}{333333}
% \definecolor{graytext}{HTML}{5D5D5D}
% \definecolor{lighttext}{HTML}{999999}
% \definecolor{sectiondivider}{HTML}{5D5D5D}

% Set false if you don't want to highlight section with awesome color
\setbool{acvSectionColorHighlight}{true}
Expand Down
1 change: 1 addition & 0 deletions examples/cv.tex
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
% \definecolor{text}{HTML}{333333}
% \definecolor{graytext}{HTML}{5D5D5D}
% \definecolor{lighttext}{HTML}{999999}
% \definecolor{sectiondivider}{HTML}{5D5D5D}

% Set false if you don't want to highlight section with awesome color
\setbool{acvSectionColorHighlight}{true}
Expand Down
1 change: 1 addition & 0 deletions examples/resume.tex
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
% \definecolor{text}{HTML}{333333}
% \definecolor{graytext}{HTML}{5D5D5D}
% \definecolor{lighttext}{HTML}{999999}
% \definecolor{sectiondivider}{HTML}{5D5D5D}

% Set false if you don't want to highlight section with awesome color
\setbool{acvSectionColorHighlight}{true}
Expand Down

0 comments on commit 1c95608

Please sign in to comment.