Contents

preferred(_:)

An explicit tint color that the system can override.

Declaration

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

Parameters

  • tint:

    The color to use to tint the content.

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