Commit c8bf2e38 authored by Peter Boström's avatar Peter Boström Committed by Commit Bot

Use default text color for emphasized secondary

This increases contrast as GG700 changes to GG900, alongside similar
contrast gains for dark mode.

Bug: chromium:987260
Change-Id: I2db14c3c8bc7bfc441ae60a8f5571c570f9a86ea
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1752552
Commit-Queue: Peter Boström <pbos@chromium.org>
Commit-Queue: Robert Liao <robliao@chromium.org>
Auto-Submit: Peter Boström <pbos@chromium.org>
Reviewed-by: default avatarRobert Liao <robliao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#686568}
parent ac2c2b05
...@@ -224,7 +224,6 @@ SkColor ChromeTypographyProvider::GetColor(const views::View& view, ...@@ -224,7 +224,6 @@ SkColor ChromeTypographyProvider::GetColor(const views::View& view,
return gfx::kGoogleBlue700; return gfx::kGoogleBlue700;
case STYLE_SECONDARY: case STYLE_SECONDARY:
case STYLE_SECONDARY_MONOSPACED: case STYLE_SECONDARY_MONOSPACED:
case STYLE_EMPHASIZED_SECONDARY:
case STYLE_HINT: case STYLE_HINT:
return native_theme->ShouldUseDarkColors() ? gfx::kGoogleGrey500 return native_theme->ShouldUseDarkColors() ? gfx::kGoogleGrey500
: gfx::kGoogleGrey700; : gfx::kGoogleGrey700;
......
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