Skip to content

Commit

Permalink
fix(contrast threshold): 4.5 instead of 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Feb 14, 2020
1 parent 29abbd8 commit ed6aba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ $theme-colors: map-merge(
$theme-color-interval: 8% !default;

// The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
$yiq-contrasted-threshold: 3 !default;
$yiq-contrasted-threshold: 4.5 !default;

// Customize the light and dark text colors for use in our YIQ color contrast function.
$yiq-text-dark: $gray-900 !default;
Expand Down

0 comments on commit ed6aba7

Please sign in to comment.