Skip to content

Commit 00fe8b3

Browse files
Force dark mode colors with !important flags
- Add !important to override PaperMod theme defaults - Add additional selectors for body.dark and html.dark - Ensures all headers and bold text are lighter blue in dark mode 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b9d9474 commit 00fe8b3

1 file changed

Lines changed: 30 additions & 7 deletions

File tree

assets/css/extended/cv-style.css

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,25 +57,48 @@
5757

5858
/* Dark mode adjustments */
5959
.dark .cv-page h1 {
60-
color: #7ab8e8;
61-
border-bottom-color: #7ab8e8;
60+
color: #7ab8e8 !important;
61+
border-bottom-color: #7ab8e8 !important;
6262
}
6363

6464
.dark .cv-page h2 {
65-
color: #7ab8e8;
66-
border-bottom-color: #7ab8e8;
65+
color: #7ab8e8 !important;
66+
border-bottom-color: #7ab8e8 !important;
6767
}
6868

6969
.dark .cv-page h3 {
70-
color: #7ab8e8;
70+
color: #7ab8e8 !important;
7171
}
7272

7373
.dark .cv-page .cv-contact {
74-
border-left-color: #7ab8e8;
74+
border-left-color: #7ab8e8 !important;
7575
}
7676

7777
.dark .cv-page strong {
78-
color: #7ab8e8;
78+
color: #7ab8e8 !important;
79+
}
80+
81+
/* Additional dark mode selectors for PaperMod theme */
82+
body.dark .cv-page h1,
83+
html.dark .cv-page h1 {
84+
color: #7ab8e8 !important;
85+
border-bottom-color: #7ab8e8 !important;
86+
}
87+
88+
body.dark .cv-page h2,
89+
html.dark .cv-page h2 {
90+
color: #7ab8e8 !important;
91+
border-bottom-color: #7ab8e8 !important;
92+
}
93+
94+
body.dark .cv-page h3,
95+
html.dark .cv-page h3 {
96+
color: #7ab8e8 !important;
97+
}
98+
99+
body.dark .cv-page strong,
100+
html.dark .cv-page strong {
101+
color: #7ab8e8 !important;
79102
}
80103

81104
/* Publication entries */

0 commit comments

Comments
 (0)