Spaces:
Sleeping
Sleeping
File size: 2,402 Bytes
c63ff03 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
---
cssClass: reference
---
This page lists CSS variables for [Callouts](https://help.obsidian.md/Editing+and+formatting/Callouts).
## CSS variables
| Variable | Description |
| ------------------------------ | ----------------------------------------------------------- |
| `--callout-border-width` | Callout border width |
| `--callout-border-opacity` | Callout border opacity |
| `--callout-padding` | Callout padding |
| `--callout-radius` | Callout radius |
| `--callout-blend-mode` | Callout blend mode, allows color mixing for nested callouts |
| `--callout-title-color` | Callout title text color |
| `--callout-title-padding` | Callout title padding |
| `--callout-title-size` | Callout title font size |
| `--callout-content-padding` | Callout content padding |
| `--callout-content-background` | Callout content background color |
### Type colors
Callout types have unique icons and colors, and may have multiple aliases.
| Variable | Callout type |
| --------------------- | --------------------------------- |
| `--callout-bug` | `bug` |
| `--callout-default` | `default`, `note` |
| `--callout-error` | `error`, `danger` |
| `--callout-example` | `example` |
| `--callout-fail` | `fail`, `failure`, `missing` |
| `--callout-important` | `important` |
| `--callout-info` | `info` |
| `--callout-question` | `question`, `help`, `faq` |
| `--callout-success` | `success`, `check`, `done` |
| `--callout-summary` | `summary`, `abstract`, `tldr` |
| `--callout-tip` | `tip`, `hint` |
| `--callout-todo` | `todo` |
| `--callout-warning` | `warning`, `caution`, `attention` |
| `--callout-quote` | `quote`, `cite` |
|