> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.doc-detective.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.doc-detective.com/_mcp/server.

# Annotation style

> Visual overrides for this annotation. Anything unset falls back to the resolved `annotationDefaults` theme (test, then spec, then config), then to the built-in theme.

Visual overrides for this annotation. Anything unset falls back to the resolved `annotationDefaults` theme (test, then spec, then config), then to the built-in theme.

## Referenced In

* [annotation](/reference/schemas/annotation)
* [Annotation fields](/reference/schemas/annotation-fields)
* [Identified annotation](/reference/schemas/identified-annotation)
* [Annotation defaults](/reference/schemas/annotation-defaults)

## Fields

| Field       | Type   | Description                                                                                                     | Default |
| :---------- | :----- | :-------------------------------------------------------------------------------------------------------------- | :------ |
| color       | string | Optional. Foreground color — strokes, arrowheads, and text (hex, rgb, or named color).                          | —       |
| background  | string | Optional. Background color for text-bearing annotations (hex, rgb, or named color). Use `transparent` for none. | —       |
| strokeWidth | number | Optional. Line width in pixels. Minimum: 0                                                                      | —       |
| fontSize    | number | Optional. Font size in pixels. Minimum: 1                                                                       | —       |
| fontFamily  | string | Optional. Font family. Falls back through the list as in CSS.                                                   | —       |
| opacity     | number | Optional. Opacity, from 0 (invisible) to 1 (opaque). Minimum: 0. Maximum: 1                                     | —       |
| radius      | number | Optional. Corner radius in pixels, for boxes and text backgrounds. Minimum: 0                                   | —       |
| padding     | number | Optional. Padding in pixels inside text boxes, and between an outline and its element. Minimum: 0               | —       |
| maxWidth    | number | Optional. Maximum width in pixels for text before it wraps. Minimum: 1                                          | —       |
| intensity   | number | Optional. Blur strength. Higher values obscure more. Minimum: 1                                                 | —       |

## Examples

```json
{
  "color": "example",
  "background": "example",
  "strokeWidth": 42,
  "fontSize": 42,
  "fontFamily": "example",
  "opacity": 42,
  "radius": 42,
  "padding": 42,
  "maxWidth": 42,
  "intensity": 42
}
```