Skip to content

Commit 800c136

Browse files
Update composer version to 1.2.0-alpha06
1 parent 1e0a8b7 commit 800c136

File tree

4 files changed

+16
-13
lines changed

4 files changed

+16
-13
lines changed

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
11
### Jetpack Compose Color Picker
22

33
Bundle of Stylish customizable Color pickers, selectors, colorful sliders written with Jetpack
4-
Compose enables users to choose from HSL, HSV or RGB color modes to pick Solid colors or gradients.
4+
Compose enables users to choose from HSL, HSV or RGB color models to pick Solid colors or gradients.
55

6-
| Hue-Ring Diamond HSL1 | Hue- Ring Diamond HSL2 | Hue Ring-Rect HSV| Hue-Circle HSV|
6+
Inspired by mchome's (flutter_colorpicker)[https://github.com/mchome/flutter_colorpicker] for Flutter
7+
8+
### Color Pickers
9+
There are various selection of default color pickers and with selectors sliders, and hex displays
10+
it's possible to create new ones either.
11+
12+
| Hue Ring-Diamond HSL1 | Hue- Ring-Diamond HSL2 | Hue Ring-Rect HSV| Hue-Circle HSV|
713
| ----------|-----------| -----------| -----------|
814
| <img src="./screenshots/colorpicker/cp_ring_diamond_hsl_1.png"/> | <img src="./screenshots/colorpicker/cp_ring_diamond_hsl2.png"/> | <img src="./screenshots/colorpicker/cp_ring_rect_hsv.png"/> | <img src="./screenshots/colorpicker/cp_circle_hue_saturation_hsv.png"/> |
915

10-
| Rect Saturation-Value HSV | Rect Saturation-Lightness HSL | Rect Hue-Saturation HSV | Rect Hue-Value HSV |
16+
| Saturation-Value HSV | Saturation-Lightness HSL | Hue-Saturation HSV | Hue-Value HSV |
1117
| ----------|-----------| -----------| -----------|
1218
| <img src="./screenshots/colorpicker/cp_rect_saturation_value_hsv.png"/> | <img src="./screenshots/colorpicker/cp_rect_saturation_lightness_hsl.png"/> | <img src="./screenshots/colorpicker/cp_rect_hue_saturation_hsv.png"/> | <img src="./screenshots/colorpicker/cp_rect_hue_value_hsv.png"/> |
1319

14-
| Rect Hue-Saturation HSL | Rect Hue-Lightness HSL |
20+
| Hue-Saturation HSL | Hue-Lightness HSL |
1521
| ----------|-----------|
1622
| <img src="./screenshots/colorpicker/cp_rect_hue_saturation_hsl.png"/> | <img src="./screenshots/colorpicker/cp_rect_hue_lightness_hsl.png"/> |
1723

18-
<img src="/./screenshots/intro.gif" align="right" width="32%"/>
24+
<img src="/./screenshots/intro.gif" align="center" width="50%"/>
1925

20-
<br>
21-
<br>
22-
<br>
23-
<br>
24-
<br>
2526

2627
### Demos
2728

app/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,12 @@ dependencies {
5151
implementation project(':slider')
5252

5353
implementation 'androidx.core:core-ktx:1.7.0'
54+
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.1'
55+
implementation 'androidx.activity:activity-compose:1.4.0'
56+
5457
implementation "androidx.compose.ui:ui:$compose_version"
5558
implementation "androidx.compose.material:material:$compose_version"
5659
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
57-
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.1'
58-
implementation 'androidx.activity:activity-compose:1.4.0'
5960

6061
implementation 'com.google.accompanist:accompanist-systemuicontroller:0.24.3-alpha'
6162
implementation "com.google.accompanist:accompanist-pager:0.24.3-alpha"

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
buildscript {
22
ext {
3-
compose_version = '1.2.0-alpha05'
3+
compose_version = '1.2.0-alpha06'
44
}
55
}// Top-level build file where you can add configuration options common to all sub-projects/modules.
66
plugins {

colorpicker/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ dependencies {
5656
implementation "androidx.compose.ui:ui-tooling:$compose_version"
5757
implementation "androidx.compose.material:material:$compose_version"
5858
implementation "androidx.compose.runtime:runtime:$compose_version"
59+
implementation "androidx.compose.material:material-icons-extended:$compose_version"
5960

6061
testImplementation 'junit:junit:4.13.2'
6162
androidTestImplementation 'androidx.test.ext:junit:1.1.3'

0 commit comments

Comments
 (0)