This page lists CSS variables for links.
Obsidian supports three different types of links:
- **Resolved internal links** link to an existing note.
- **Unresolved internal links** link to a non-existing note.
- **External links** link to an external URL or URI.
## CSS variables
| Variable | Description |
| ------------------------------------ | ----------------------------------------- |
| `--link-color` | Resolved link text color |
| `--link-color-hover` | Resolved link text color (hover) |
| `--link-decoration` | Resolved link text decoration |
| `--link-decoration-hover` | Resolved link text decoration (hover) |
| `--link-decoration-thickness` | Resolved link text decoration thickness |
| `--link-weight` | Link font weight |
| `--link-unresolved-color` | Unresolved link text color |
| `--link-unresolved-opacity` | Unresolved link opacity |
| `--link-unresolved-filter` | Unresolved link filter, e.g. `hue-rotate` |
| `--link-unresolved-decoration-style` | Unresolved link text decoration style |
| `--link-unresolved-decoration-color` | Unresolved link text decoration color |
| `--link-external-color` | External link text color |
| `--link-external-color-hover` | External link text color (hover) |
| `--link-external-decoration` | External link text decoration |
| `--link-external-decoration-hover` | External link text decoration (hover) |