---
title: "preferred(_:)"
framework: swiftui
role: symbol
role_heading: Type Method
path: "swiftui/listitemtint/preferred(_:)"
---

# preferred(_:)

An explicit tint color that the system can override.

## Declaration

```swift
static func preferred(_ tint: Color) -> ListItemTint
```

## Parameters

- `tint`: The color to use to tint the content.

## Discussion

Discussion On macOS, the system can override this tint with the person’s chosen accent color when one is set. Use fixed(_:) to prevent the system from overriding the tint.

## See Also

### Getting list item tint options

- [monochrome](swiftui/listitemtint/monochrome.md)
- [fixed(_:)](swiftui/listitemtint/fixed(_:).md)
