Use custom colors in gradient in SwiftUI

Using Color from Assets folder

I know how to use the asset color like Color(“primaryBlue”) but I can’t get it to work.

Give us some code and we'll see if we can help.

Use custom colors in gradient in SwiftUI
 
 
Q