This is now possible with toolbarColorScheme(_:for:)
. See documentation here: https://developer.apple.com/documentation/swiftui/view/toolbarcolorscheme(_:for:)
Example usage:
NavigationSplitView {
// ...
}
.toolbarBackground(Color.accentColor)
.toolbarColorScheme(.dark)