Commit 36d7746e authored by akuegel@chromium.org's avatar akuegel@chromium.org

Make the managed user label use the light color as in the mocks.

BUG=241377
TBR=pkotwicz@chromium.org

Review URL: https://chromiumcodereview.appspot.com/17176014

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207831 0039d316-1c4b-4281-b951-d872f2087c98
parent 8c95ab0b
......@@ -177,9 +177,9 @@ SkColor ThemeService::GetColor(int id) const {
case Properties::COLOR_NTP_TEXT_LIGHT:
return IncreaseLightness(GetColor(Properties::COLOR_NTP_TEXT), 0.40);
case Properties::COLOR_MANAGED_USER_LABEL:
return color_utils::GetReadableColor(
SkColorSetRGB(231, 245, 255),
GetColor(Properties::COLOR_MANAGED_USER_LABEL_BACKGROUND));
// TODO(akuegel): Use GetReadableColor() once we want to support other
// themes as well.
return SkColorSetRGB(231, 245, 255);
case Properties::COLOR_MANAGED_USER_LABEL_BACKGROUND:
// TODO(akuegel): Replace this constant by a color calculated from the
// frame color once the default managed user theme is finished and we
......
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