---
title: "activitySystemActionForegroundColor(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/activitysystemactionforegroundcolor(_:)"
---

# activitySystemActionForegroundColor(_:)

The text color for the auxiliary action button that the system shows next to a Live Activity on the Lock Screen.

## Declaration

```swift
@MainActor @preconcurrency func activitySystemActionForegroundColor(_ color: Color?) -> some View

```

## Parameters

- `color`: The text color to use. Pass nil to use the system’s default color.

## See Also

### Configuring a Live Activity

- [activityBackgroundTint(_:)](swiftui/view/activitybackgroundtint(_:).md)
- [isActivityFullscreen](swiftui/environmentvalues/isactivityfullscreen.md)
- [activityFamily](swiftui/environmentvalues/activityfamily.md)
