Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurGuibert authored May 8, 2023
1 parent 335df5c commit 17880d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# SwiftUI-MulticolorGradient
A SwiftUI implementation of multiple color gradient 🌈
A SwiftUI implementation of multiple color gradient. Like mesh gradient, but with a simpler and a more declarative way to build it 🌈

<img src="https://user-images.githubusercontent.com/6124571/236790059-f93b820f-512e-4989-9529-bfbeff821cc4.PNG" width="180" /> <img src="https://user-images.githubusercontent.com/6124571/236790100-a88fe30e-9143-4ee6-b8ee-0e3462551ae6.gif" width="180" />

## Usage
You can use it as a regular SwiftUI view
You can use it as a regular SwiftUI view:
```swift
MulticolorGradient {
ColorStop(position: .top, color: .red)
Expand All @@ -15,6 +15,8 @@ MulticolorGradient {

You can add up to 8 color stops (or points). Animations have a basic support: only linear animations are supported for now.

⚠️ Support for the the simulator is not there yet, please try on a real device.

## Installation

### Swift Package Manager
Expand Down

0 comments on commit 17880d6

Please sign in to comment.