Skip to content

Commit 61da90e

Browse files
committed
Update the README.md with new color blend picker
1 parent d132ec4 commit 61da90e

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ Add the following dependency to your `build.gradle` / `build.gradle.kts` file:
3333
For Groovy - `build.gradle`:
3434
````
3535
dependencies {
36-
implementation 'com.github.KvColorPalette:KvColorPicker-Android:2.2.0'
36+
implementation 'com.github.KvColorPalette:KvColorPicker-Android:3.0.0'
3737
}
3838
````
3939
For Kotlin DSL - `build.gradle.kts`:
4040
````
4141
dependencies {
42-
implementation("com.github.KvColorPalette:KvColorPicker-Android:2.2.0")
42+
implementation("com.github.KvColorPalette:KvColorPicker-Android:3.0.0")
4343
}
4444
````
4545

@@ -74,9 +74,9 @@ if (showSheet.value) {
7474
}
7575
```
7676
#### The way it works
77-
|RGB-A Picker |GRID Picker |HSL-A Picker |
78-
|-------------|------------|--------------|
79-
|![](images/RGB-A-Picker.gif) |![](images/GRID-Picker.gif) |![](images/HSL-A-Picker.gif) |
77+
|RGB-A Picker |GRID Picker |HSL-A Picker |BLEND Picker |
78+
|-------------|------------|--------------|---------------|
79+
|![](images/RGB-A-Picker.gif) |![](images/GRID-Picker.gif) |![](images/HSL-A-Picker.gif) |![](images/BLEND-Picker.git) |
8080

8181
### Use color picker UI components in existing UI
8282
Developer can add the each color picker (`RGB-A Picker`, `Grid Picker` and `HSL-A Picker`) separately in their own UI. Because `KvColorPicker-Android`
@@ -109,6 +109,16 @@ HSLAColorPicker(
109109
)
110110
```
111111

112+
#### BLEND Picker
113+
```
114+
BlendColorPicker(
115+
modifier = Modifier,
116+
onColorSelected = { selectedColor ->
117+
// Action with selected color
118+
}
119+
)
120+
```
121+
112122
# Contribution
113123
We welcome contributions! Please fork the repository, make your changes, and submit a pull request. Ensure your code adheres to the established guidelines.
114124

images/BLEND-Picker.gif

14.5 MB
Loading

0 commit comments

Comments
 (0)