This change intends expand the usage of the generated SwiftUI color extension.
Color conforms to a bigger style called ShapeStyle and this allows us to use Colors, Gradients, Materials and more as if they were the same thing. This ShapeStyle protocol is what background uses. This allows us to use these colors everywhere SwiftUI expects a ShapeStyle to be given.
https://www.hackingwithswift.com/books/ios-swiftui/formatting-our-mission-view
This change intends expand the usage of the generated SwiftUI color extension.
Additional discussion about the topic: https://www.hackingwithswift.com/forums/100-days-of-swiftui/extending-shapestyle-for-adding-colors-instead-of-extending-color/12324
I've found that I can create custom templates via
templatesPath
configuration but I still believe that defaulting to this would be better overall.