# Customization [TOC] ## CSS-Variables This theme is highly customizable because a lot of things are parameterized with CSS variables. Just to give you an idea on how flexible the styling is, click this button:
### Setup It is recommended to add your own `custom.css` and overwrite the variables there: ``` HTML_EXTRA_STYLESHEET = doxygen-awesome.css custom.css ``` Make sure to override the variables in the correct spot. All variables should be customized where they have been defined, in the `html` tag selector: ```css html { /* override light-mode variables here */ } ``` For dark-mode overrides you have to choose where to put them, depending on wether the dark-mode toggle extension is installed or not: - dark-mode toggle is installed: ```css html.dark-mode { /* define dark-mode variable overrides here if you DO use doxygen-awesome-darkmode-toggle.js */ } ``` - dark-mode toggle is **NOT** installed. The dark-mode is enabled automatically depending on the system preference: ```css @media (prefers-color-scheme: dark) { html:not(.light-mode) { /* define dark-mode variable overrides here if you DON'T use doxygen-awesome-darkmode-toggle.js */ } } ``` ### Available variables The following list gives an overview of the variables defined in [`doxygen-awesome.css`](https://github.com/jothepro/doxygen-awesome-css/blob/main/doxygen-awesome.css). The list is not complete. To explore all available variables, have a look at the CSS starting from [here](https://github.com/jothepro/doxygen-awesome-css/blob/main/doxygen-awesome.css#L30). All variables are defined at the beginning of the stylesheet. | Parameter | Default (Light) | Default (Dark) | | :---------------------------------- | :---------------------------------------------------------- | :---------------------------------------------------------- | | **Color Scheme**:#1779c4
| #1982d2
|
| `--primary-dark-color` | #335c80
| #5ca8e2
|
| `--primary-light-color` | #70b1e9
| #4779ac
|
| **Page Colors**:#ffffff
| #1C1D1F
|
| `--page-foreground-color` | #2f4153
| #d2dbde
|
| `--page-secondary-foreground-color` | #6f7e8e
| #859399
|
| **Spacing:**#F8F9FA
| #282c34
|
| `--fragment-foreground` | #37474F
| #dbe4eb
|
| **Arrow Opacity**: