fix: Allow the customisation of the contemporary style (#298)

Address #297:
- Add the colour definitions required by generic header, body, and footer
  variants to `moderncvstylecontemporary.sty`, enabling style customisation via
  `\moderncvhead`, `\moderncvbody`, and `\moderncvfoot`.
- Update `CHANGELOG` with a summary of the changes and a reference to the
  issue they close.
This commit is contained in:
Alexander Edding 2026-06-21 10:32:18 +02:00 committed by GitHub
commit fa92810524
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 20 additions and 1 deletions

View file

@ -1,3 +1,7 @@
version next
- Allow the customisation of the contemporary style (#297)
version 2.6.0 (19 Jun 2026)
- Upgrade to Fontawesome 6 (#183)
- Document how to set custom strings for social command (#239)

View file

@ -47,8 +47,23 @@
%-------------------------------------------------------------------------------
% Colors
%-------------------------------------------------------------------------------
% skillmatrix
% head and footer
\colorlet{lastnamecolor}{color2}
\colorlet{namecolor}{lastnamecolor}
\colorlet{headrulecolor}{lastnamecolor!50}
\colorlet{firstnamecolor}{lastnamecolor!50}
\colorlet{titlecolor}{color2}
\colorlet{addresscolor}{color2}
\colorlet{quotecolor}{color1}
\colorlet{pictureframecolor}{color1}
% body
\colorlet{bodyrulecolor}{color1}
\colorlet{sectioncolor}{color1}
\colorlet{subsectioncolor}{color1}
\colorlet{hintstylecolor}{color0}
% letter
\colorlet{letterclosingcolor}{color2}
% skillmatrix
\colorlet{skillmatrixfullcolor}{color1}
\colorlet{skillmatrixemptycolor}{color2!30}