Skip to content

Commit e795142

Browse files
MaxDatenclaude
andcommitted
style: Refine PDF typography with 4-level contrast hierarchy
- Add 4-level contrast system: primary → secondary → muted → faint - Add orange accent underline beneath name in header - Change role titles from italic to secondary gray color - Add subtle border (0.3pt) to technology tag boxes - Tighten list spacing (1pt item separation) - Make "Technologies" label regular weight (not bold) - Lighten section rule color for better balance 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6765ab7 commit e795142

1 file changed

Lines changed: 28 additions & 15 deletions

File tree

src/templates/template.tex

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,15 @@
1818
\usepackage{microtype} % Better typography
1919

2020
% --------------------------------------------------------------------------
21-
% Colors - Brand accent (orange) for links and highlights
21+
% Colors - 4-level contrast hierarchy
2222
% --------------------------------------------------------------------------
23-
\definecolor{accent}{HTML}{D97706} % Brand orange for links
24-
\definecolor{muted}{gray}{0.45} % Muted text (dates, secondary info)
25-
\definecolor{tagbg}{gray}{0.92} % Technology tag background
26-
\definecolor{rule}{gray}{0.75} % Section rule color
23+
\definecolor{accent}{HTML}{D97706} % Brand orange for links/highlights
24+
\definecolor{secondary}{gray}{0.35} % Secondary text (roles, descriptions)
25+
\definecolor{muted}{gray}{0.50} % Muted text (dates, labels)
26+
\definecolor{faint}{gray}{0.65} % Faint text (subtle info)
27+
\definecolor{tagbg}{gray}{0.93} % Technology tag background
28+
\definecolor{tagborder}{gray}{0.85} % Technology tag border
29+
\definecolor{rule}{gray}{0.80} % Section rule color
2730

2831
% --------------------------------------------------------------------------
2932
% Page geometry - Balanced margins (not too tight)
@@ -42,20 +45,29 @@
4245
\usepackage{XCharter}
4346

4447
% --------------------------------------------------------------------------
45-
% Technology tags - Light gray background boxes
48+
% Technology tags - Light gray boxes with subtle border
4649
% --------------------------------------------------------------------------
50+
\setlength{\fboxsep}{2pt}
51+
\setlength{\fboxrule}{0.3pt}
4752
\let\oldtexttt\texttt
4853
\renewcommand{\texttt}[1]{%
49-
\colorbox{tagbg}{\oldtexttt{\small #1}}%
54+
\fcolorbox{tagborder}{tagbg}{\oldtexttt{\small #1}}%
5055
}
5156

57+
% --------------------------------------------------------------------------
58+
% Emphasized text (role titles) - Secondary color, not italic
59+
% --------------------------------------------------------------------------
60+
\let\oldemph\emph
61+
\renewcommand{\emph}[1]{{\color{secondary}#1}}
62+
5263
% --------------------------------------------------------------------------
5364
% Lists - Tight spacing, accent-colored bullets
5465
% --------------------------------------------------------------------------
55-
\setlist{noitemsep, topsep=2pt}
66+
\setlist{noitemsep, topsep=1pt, partopsep=0pt, parsep=0pt}
5667
\setlist[itemize]{
5768
leftmargin=1.2em,
58-
label={\textcolor{accent}{\textbullet}}
69+
label={\textcolor{accent}{\textbullet}},
70+
itemsep=1pt
5971
}
6072

6173
% --------------------------------------------------------------------------
@@ -83,11 +95,11 @@
8395
% Subsubsection titles (h3) - "Technologies" label, subtle
8496
% --------------------------------------------------------------------------
8597
\titleformat{\subsubsection}
86-
{\small\bfseries\color{muted}}
98+
{\small\color{muted}}
8799
{}
88100
{0pt}
89101
{}
90-
\titlespacing*{\subsubsection}{0pt}{8pt}{2pt}
102+
\titlespacing*{\subsubsection}{0pt}{6pt}{2pt}
91103

92104
% --------------------------------------------------------------------------
93105
% Hyperlinks - Brand accent color
@@ -142,15 +154,16 @@
142154
$endif$
143155

144156
% --------------------------------------------------------------------------
145-
% Header - Strong name hierarchy
157+
% Header - Strong name hierarchy with accent underline
146158
% --------------------------------------------------------------------------
147159
\begin{center}
148-
{\LARGE\bfseries $title-meta$}\\[4pt]
149-
{\normalsize\color{muted} $subtitle$}\\[6pt]
160+
{\LARGE\bfseries $title-meta$}\\[2pt]
161+
{\color{accent}\rule{40pt}{2pt}}\\[6pt]
162+
{\normalsize\color{muted} $subtitle$}\\[4pt]
150163
{\small $contact$}
151164
\end{center}
152165

153-
\vspace{4pt}
166+
\vspace{2pt}
154167

155168
% --------------------------------------------------------------------------
156169
% Body

0 commit comments

Comments
 (0)