I don't know why there are both accentColor and foregroundColor properties in SwiftUI. I can't see their differences. For example:
Button(action: {}, label: {Text("Button")}).accentColor(.red)
Button(action: {}, label: {Text("Button")}).foregroundColor(.red)
The two buttons look the same!