Commit adc123ce authored by My Nguyen's avatar My Nguyen Committed by Commit Bot

Update SuggestionTextColour to kGoogleGrey700

To meet Accessibility's contrast requirement of 4.5:1 minimum.
Using kGoogleGrey700, contrast should be 5.91

Screenshot view: https://screenshot.googleplex.com/8oODpaXk02Y

Bug: 1042084
Change-Id: I7c9980527fe915cb30a34a83f100073d0db4030b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2224424Reviewed-by: default avatarKeith Lee <keithlee@chromium.org>
Commit-Queue: My Nguyen <myy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#774455}
parent 80cf0f6b
...@@ -34,8 +34,7 @@ constexpr int kPadding = 10; ...@@ -34,8 +34,7 @@ constexpr int kPadding = 10;
constexpr int kAnnotationPaddingHeight = 6; constexpr int kAnnotationPaddingHeight = 6;
constexpr char kTabKey[] = "tab"; constexpr char kTabKey[] = "tab";
constexpr SkColor kConfirmedTextColor = gfx::kGoogleGrey900; constexpr SkColor kConfirmedTextColor = gfx::kGoogleGrey900;
constexpr SkColor kSuggestionColor = constexpr SkColor kSuggestionColor = gfx::kGoogleGrey700;
SkColorSetA(gfx::kGoogleGrey900, gfx::kGoogleGreyAlpha500);
// SuggestionView renders a suggestion. // SuggestionView renders a suggestion.
class UI_CHROMEOS_EXPORT SuggestionView : public views::View { class UI_CHROMEOS_EXPORT SuggestionView : public views::View {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment