# Update Theme

Update the current user's theme preference.

**Endpoint**: `PUT /api/auth/theme`
**Auth**: Required
**Content-Type**: `application/json`

## Request Body

| Field | Type | Required | Description |
|--------|------|-----------|-------------|
| theme | string | Yes | Theme name (e.g., "tokyo-night", "dracula") |

### Example Request

```json
{
  "theme": "dracula"
}
```

## Response (200 OK)

```json
{
  "id": "uuid",
  "email": "user@example.com",
  "username": "john",
  "theme": "dracula",
  "role": "user"
}
```

## Error Responses

| Code | Description |
|------|-------------|
| 400 | Invalid theme name |
| 401 | Invalid or expired token |
