Skip to content

Instantly share code, notes, and snippets.

@sturdysturge
Created January 24, 2021 04:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sturdysturge/c130ffe52577d28ad8c8706112933fb8 to your computer and use it in GitHub Desktop.
Save sturdysturge/c130ffe52577d28ad8c8706112933fb8 to your computer and use it in GitHub Desktop.
struct InvertedColorProgressViewStyle: ProgressViewStyle {
func makeBody(configuration: Configuration) -> some View {
GeometryReader { geometry in
ProgressView(configuration)
.background(Color.blue)
.accentColor(Color(red: 0.894, green: 0.894, blue: 0.902))
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment