Skip to content

Commit

Permalink
Improve javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavpandey committed Jun 16, 2021
1 parent b5267e4 commit a6fac4a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ private static float calculateXyzLuma(@ColorInt int color) {

/**
* Calculate accent color based on the given color for android theme generation.
* <p>Still in beta so, sometimes may be inaccurate colors.
* <p>Still in beta, so sometimes may produce inaccurate colors.
*
* @param color The color whose accent color to be calculated.
*
Expand Down Expand Up @@ -303,8 +303,8 @@ private static float calculateXyzLuma(@ColorInt int color) {
}

/**
* Calculate color contrast difference between two colors based
* on luma value according to XYZ color space.
* Calculate color contrast difference between two colors based on the luminance
* value according to XYZ color space.
*
* @param color1 The first color to calculate the contrast difference.
* @param color2 The second color to calculate the contrast difference.
Expand Down

0 comments on commit a6fac4a

Please sign in to comment.