toolbarColorScheme(_:for:) | Apple Developer Documentation

Specifies the preferred color scheme of a bar managed by SwiftUI.