This page explains how to customize doxyYoda for your project.
The minimum Doxyfile additions to use doxyYoda:
doxyYoda's entire color system uses CSS custom properties defined on :root. You can override any variable by adding a custom stylesheet.
Create a file my-overrides.css:
Then add it to your Doxyfile (after doxyYoda's stylesheet):
Backgrounds:
| Variable | Light Default | Description |
|---|---|---|
| --bg-primary | #fdf6e3 | Page background |
| --bg-secondary | #eee8d5 | Cards, menus, table headers |
| --bg-surface | #f5f0e1 | Blockquotes, TOC |
| --bg-primary-translucent | rgba(253,246,227,0.85) | Frosted navbar |
Text:
| Variable | Light Default | Description |
|---|---|---|
| --text-primary | #002b36 | Main body text |
| --text-secondary | #586e75 | Secondary text |
| --text-muted | #657b83 | Muted/disabled text |
Accents (Solarized):
| Variable | Value | Usage |
|---|---|---|
| --accent-yellow | #b58900 | Glow effects |
| --accent-orange | #cb4b16 | Preprocessor, outlinks |
| --accent-red | #dc322f | Warnings, labels |
| --accent-magenta | #d33682 | Bugs |
| --accent-violet | #6c71c4 | Templates, blockquotes |
| --accent-blue | #268bd2 | Links, active items |
| --accent-cyan | #2aa198 | Code links |
| --accent-green | #859900 | Parameter names |
Fonts are loaded via CDN in _fonts.scss. To change them:
Add to your override stylesheet:
Edit src/styles/scss/_fonts.scss to change the Google Fonts import URL, then update the font stack variables in _variables.scss:
| Variable | Value | Usage |
|---|---|---|
| --space-1 | 0.25rem | Tight gaps |
| --space-2 | 0.5rem | Small gaps |
| --space-3 | 0.75rem | Medium gaps |
| --space-4 | 1rem | Standard gaps |
| --space-5 | 1.5rem | Section gaps |
| --space-6 | 2rem | Large gaps |
| --space-7 | 3rem | Extra large |
| --space-8 | 4rem | Page-level spacing |
| Variable | Value | Usage |
|---|---|---|
| --radius-sm | 4px | Buttons, badges |
| --radius-md | 6px | Cards, code blocks |
| --radius-lg | 8px | Modals |
| --radius-xl | 12px | Large cards, labels |
| Variable | Value |
|---|---|
| --shadow-sm | 0 1px 2px rgba(0,0,0,0.05) |
| --shadow-md | 0 2px 8px rgba(0,0,0,0.08) |
| --shadow-lg | 0 4px 16px rgba(0,0,0,0.12) |
Dark mode is handled in the header template (header.html). To disable:
To force light mode always, add to your override CSS:
Code folding wraps div.fragment elements in <details>. To disable it, remove the "Code folding" block from the <script> in header.html.
The copy-to-clipboard button is added via JavaScript in header.html. Remove the "Copy-to-clipboard" block to disable it.
If you want to modify the SCSS directly:
The SCSS entry point is src/styles/scss/main.scss. Each partial handles a specific concern — see the SCSS Architecture section on the main page.