Skip to content

Commit

Permalink
Final grammar fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
okaneco committed Jan 30, 2020
1 parent fda8324 commit 189be1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions palette/src/relative_contrast.rs
Expand Up @@ -12,9 +12,9 @@ use {from_f64, FromF64};
/// These criteria are recommendations, not hard and fast rules. Most
/// importantly, look at the colors in action and make sure they're clear and
/// comfortable to read. A pair of colors may pass contrast guidelines but still
/// be uncomfortable to look. Favor readability over only satisfying the
/// be uncomfortable to look at. Favor readability over only satisfying the
/// contrast ratio metric. It is recommended to verify the contrast ratio
/// in the output format of the colors, and not to assume the contrast ratio
/// in the output format of the colors and not to assume the contrast ratio
/// remains exactly the same across color formats. The following example checks
/// the contrast ratio of two colors in RGB format.
///
Expand All @@ -41,7 +41,7 @@ use {from_f64, FromF64};
/// contrast" such as user interface components and other graphics. The relative
/// contrast is calculated by `(L1 + 0.05) / (L2 + 0.05)`, where `L1` is the
/// luminance of the brighter color and `L2` is the luminance of the darker
/// color both in sRGB linear space. Higher contrast ratio is generally
/// color both in sRGB linear space. A higher contrast ratio is generally
/// desireable.
///
/// For more details, visit the following links:
Expand Down

0 comments on commit 189be1d

Please sign in to comment.