Commit cbcae3bb authored by Sonny Sasaka's avatar Sonny Sasaka Committed by Commit Bot

Fix accessibility contrast of Quick Settings "Connected" subtext

This changes the color of "Connected" subtext from GoogleGreenDark600 to
kTextColorPositive which resolves to GoogleGreen300 in dark mode.

Bug: 1134227
Change-Id: I6946e86b50fe9428164341e6f907bb64616e59ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2485337Reviewed-by: default avatarTetsui Ohkubo <tetsui@chromium.org>
Commit-Queue: Sonny Sasaka <sonnysasaka@chromium.org>
Cr-Commit-Position: refs/heads/master@{#818998}
parent 19bc41d9
...@@ -71,7 +71,8 @@ SkColor TrayPopupItemStyle::GetTextColor() const { ...@@ -71,7 +71,8 @@ SkColor TrayPopupItemStyle::GetTextColor() const {
case ColorStyle::DISABLED: case ColorStyle::DISABLED:
return SkColorSetA(kBaseTextColor, kDisabledAlpha); return SkColorSetA(kBaseTextColor, kDisabledAlpha);
case ColorStyle::CONNECTED: case ColorStyle::CONNECTED:
return gfx::kGoogleGreenDark600; return AshColorProvider::Get()->GetContentLayerColor(
AshColorProvider::ContentLayerType::kTextColorPositive);
} }
NOTREACHED(); NOTREACHED();
return gfx::kPlaceholderColor; return gfx::kPlaceholderColor;
......
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