-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redefining maincolor
does not work properly
#34
Comments
Hi! Sorry for the late reply, we are in the middle of a move right now. 🚛 🏃♂️ You're right, the problem here are the derived colors. By the time you are redefining You need to use the Class Option instead: \documentclass[a4paper,..., maincolor=somecolor]{fortysecondscv} However, this only works with predefined colors (dvipsnames, svgnames, x11names 🠦 see xcolor docs for details). In case you want to define your own color you need to do so before loading the fortysecondscv class: \RequirePackage[dvipsnames, svgnames, x11names]{xcolor}
\definecolor{mycolor}{rgb}{0.54, 0.29, 0.42}
\documentclass[a4paper,..., maincolor=mycolor]{fortysecondscv} Make sure you use the exact same class options for Hope that helps. |
Thank you. Yes, this is great. I have used TeX for many years, but my documents would always start with |
Great! So I will close this issue then and add a reference in the readme. 👍 |
First of all, awesome template!
I redefined
maincolor
, like this:\definecolor{maincolor}{rgb}{0.54, 0.29, 0.42}
While Name and mail/phone/email/flag icons appear in that color, the other sidebar section headers don't.
I believe the issue is this:
\colorlet{pseccolor}{maincolor!90}
Using
!90
might not work on rgb-defined colors?Not sure what a remedy would be.
The text was updated successfully, but these errors were encountered: