As shown in code below. I wanna to figure out a way to modify the color of the action button. I know we can change color of title and message by foregroundcolor. But not the action button's theme.
struct PasswordTip: Tip {
var title: Text {
Text("Need Help?")
}
var message: Text? {
Text("Do you need help logging in to your account?")
}
var image: Image? {
Image(systemName: "lock.shield")
}
var actions: [Action] {
Action(id: "faq", title: "View our FAQ")
}
}
Action initialize can take content as a Label