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

Use Google blue/red 600 for avatar error states

Aligns values used for text with the ones requested by the spec.

Bug: chromium:863586
Change-Id: I0e9b4c32bd672e38ab2b6a7831fc62fdefe0f650
Reviewed-on: https://chromium-review.googlesource.com/1141359
Commit-Queue: Bret Sepulveda <bsep@chromium.org>
Reviewed-by: default avatarBret Sepulveda <bsep@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576149}
parent 5675f5fc
...@@ -102,11 +102,11 @@ void AvatarToolbarButton::UpdateText() { ...@@ -102,11 +102,11 @@ void AvatarToolbarButton::UpdateText() {
base::string16 text; base::string16 text;
switch (GetSyncState()) { switch (GetSyncState()) {
case SyncState::kError: case SyncState::kError:
color = gfx::kGoogleRed700; color = gfx::kGoogleRed600;
text = l10n_util::GetStringUTF16(IDS_AVATAR_BUTTON_SYNC_ERROR); text = l10n_util::GetStringUTF16(IDS_AVATAR_BUTTON_SYNC_ERROR);
break; break;
case SyncState::kPaused: case SyncState::kPaused:
color = gfx::kGoogleBlue500; color = gfx::kGoogleBlue600;
text = l10n_util::GetStringUTF16(IDS_AVATAR_BUTTON_SYNC_PAUSED); text = l10n_util::GetStringUTF16(IDS_AVATAR_BUTTON_SYNC_PAUSED);
break; break;
case SyncState::kNormal: case SyncState::kNormal:
......
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