Commit 675e9827 authored by Javier Ernesto Flores Robles's avatar Javier Ernesto Flores Robles Committed by Commit Bot

[iOS][DarkMode] Update Green Colors in Payments Request

UX approve stamped this green as the replacement for the old palette.

Bug: 976675
Change-Id: Id9be807b8315d171678605b3aeda5061ff4fe18c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1746177
Commit-Queue: Javier Ernesto Flores Robles <javierrobles@chromium.org>
Commit-Queue: Louis Romero <lpromero@chromium.org>
Auto-Submit: Javier Ernesto Flores Robles <javierrobles@chromium.org>
Reviewed-by: default avatarLouis Romero <lpromero@chromium.org>
Cr-Commit-Position: refs/heads/master@{#685550}
parent 109b6d0b
......@@ -67,7 +67,7 @@ const CGFloat kFaviconDimension = 16;
NSMutableAttributedString* text = [[NSMutableAttributedString alloc]
initWithString:cell.pageHostLabel.text];
[text addAttribute:NSForegroundColorAttributeName
value:[[MDCPalette cr_greenPalette] tint700]
value:[UIColor colorNamed:kGreenColor]
range:NSMakeRange(0, strlen(url::kHttpsScheme))];
// We need to set the font to the attributed portion, or the field doesn't
// asjust with dynamic types.
......@@ -147,8 +147,7 @@ const CGFloat kFaviconDimension = 16;
_pageLockIndicatorView.accessibilityIdentifier =
kPageInfoLockIndicatorImageViewID;
_pageLockIndicatorView.contentMode = UIViewContentModeScaleAspectFit;
[_pageLockIndicatorView
setTintColor:[[MDCPalette cr_greenPalette] tint700]];
[_pageLockIndicatorView setTintColor:[UIColor colorNamed:kGreenColor]];
[self.contentView addSubview:_pageLockIndicatorView];
// Layout
......
......@@ -103,8 +103,7 @@ const CGFloat kMinWidthRatio = 0.5f;
_itemLabel.textColor = [UIColor colorNamed:kTextPrimaryColor];
SetUILabelScaledFont(_notificationLabel, [MDCTypography body2Font]);
_notificationLabel.textColor = [[MDCPalette greenPalette] tint800];
_notificationLabel.textColor = [UIColor colorNamed:kGreenColor];
SetUILabelScaledFont(_priceLabel, [MDCTypography body1Font]);
_priceLabel.textColor = [UIColor colorNamed:kTextPrimaryColor];
}
......
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