Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FB13807432: Add .gradient to ShapeStyle #528

Open
samhenrigold opened this issue May 23, 2024 · 0 comments
Open

FB13807432: Add .gradient to ShapeStyle #528

samhenrigold opened this issue May 23, 2024 · 0 comments

Comments

@samhenrigold
Copy link

  • Date: 2024-05-23
  • Resolution: Open
  • Area: SwiftUI
  • OS: iOS
  • Type: Suggestion

Description

Right now, I have a view like this:

Rectangle()
   .fill(.tint)

I would like to use the standard system gradient (the same way that I can call Color.blue.gradient) but this property isn’t available on ShapeStyles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant