Skip to content

Commit

Permalink
[12b75a0] Internal change.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyant0 committed Oct 4, 2023
1 parent eaa1e34 commit 49c9352
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 62 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/modules/m3color.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions .idea/modules/m3color.main.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions .idea/modules/m3color.test.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ allprojects {
}
}

implementation("com.github.Kyant0:m3color:2023.8.1")
implementation("com.github.Kyant0:m3color:2023.10.1")
```

## Use with Compose M3
Expand Down Expand Up @@ -65,8 +65,8 @@ fun dynamicColorScheme(
PaletteStyle.Neutral -> SchemeNeutral(hct, isDark, contrastLevel)
PaletteStyle.Vibrant -> SchemeVibrant(hct, isDark, contrastLevel)
PaletteStyle.Expressive -> SchemeExpressive(hct, isDark, contrastLevel)
PaletteStyle.Rainbow -> SchemeRainbow(hct, isDark, contrast)
PaletteStyle.FruitSalad -> SchemeFruitSalad(hct, isDark, contrast)
PaletteStyle.Rainbow -> SchemeRainbow(hct, isDark, contrastLevel)
PaletteStyle.FruitSalad -> SchemeFruitSalad(hct, isDark, contrastLevel)
PaletteStyle.Monochrome -> SchemeMonochrome(hct, isDark, contrastLevel)
PaletteStyle.Fidelity -> SchemeFidelity(hct, isDark, contrastLevel)
PaletteStyle.Content -> SchemeContent(hct, isDark, contrastLevel)
Expand Down
8 changes: 4 additions & 4 deletions m3color/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group = 'com.kyant'
version = '2023.8.1'
version = '2023.10.1'

sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
Expand All @@ -15,8 +15,8 @@ repositories {
}

dependencies {
implementation('androidx.annotation:annotation:1.7.0-beta01')
implementation('com.google.errorprone:error_prone_annotations:2.18.0')
implementation('androidx.annotation:annotation:1.7.0')
implementation('com.google.errorprone:error_prone_annotations:2.22.0')
}

afterEvaluate {
Expand All @@ -25,7 +25,7 @@ afterEvaluate {
maven(MavenPublication) {
groupId = 'com.kyant'
artifactId = 'm3color'
version = '2023.8.1'
version = '2023.10.1'
from components.java
}
}
Expand Down
2 changes: 1 addition & 1 deletion m3color/src/main/java/com/kyant/m3color/hct/Cam16.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public final class Cam16 {
* astar, bstar in code. CAM16-UCS is included in the CAM16 specification, and is used to measure
* distances between colors.
*/
double distance(Cam16 other) {
public double distance(Cam16 other) {
double dJ = getJstar() - other.getJstar();
double dA = getAstar() - other.getAstar();
double dB = getBstar() - other.getBstar();
Expand Down

0 comments on commit 49c9352

Please sign in to comment.