Commit 771e1bb4 authored by minch's avatar minch Committed by Commit Bot

dark_mode: Add kButtonLabelColorBlue.

This specific color will be used by system toast.

Bug: 1107058
Change-Id: I420f78be163cfb012abaf555915a89fbc591f432
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2414560Reviewed-by: default avatarAhmed Fakhry <afakhry@chromium.org>
Commit-Queue: Min Chen <minch@chromium.org>
Cr-Commit-Position: refs/heads/master@{#808662}
parent 63a90877
...@@ -242,6 +242,8 @@ SkColor AshColorProvider::GetContentLayerColor(ContentLayerType type) const { ...@@ -242,6 +242,8 @@ SkColor AshColorProvider::GetContentLayerColor(ContentLayerType type) const {
case ContentLayerType::kButtonLabelColor: case ContentLayerType::kButtonLabelColor:
case ContentLayerType::kButtonIconColor: case ContentLayerType::kButtonIconColor:
return is_dark_mode ? gfx::kGoogleGrey200 : gfx::kGoogleGrey700; return is_dark_mode ? gfx::kGoogleGrey200 : gfx::kGoogleGrey700;
case ContentLayerType::kButtonLabelColorBlue:
return is_dark_mode ? gfx::kGoogleBlue300 : gfx::kGoogleBlue600;
case ContentLayerType::kButtonLabelColorPrimary: case ContentLayerType::kButtonLabelColorPrimary:
case ContentLayerType::kButtonIconColorPrimary: case ContentLayerType::kButtonIconColorPrimary:
return is_dark_mode ? gfx::kGoogleGrey200 : gfx::kGoogleGrey900; return is_dark_mode ? gfx::kGoogleGrey200 : gfx::kGoogleGrey900;
......
...@@ -113,6 +113,9 @@ class ASH_EXPORT AshColorProvider : public SessionObserver { ...@@ -113,6 +113,9 @@ class ASH_EXPORT AshColorProvider : public SessionObserver {
kButtonLabelColor, kButtonLabelColor,
kButtonLabelColorPrimary, kButtonLabelColorPrimary,
// Color for blue button labels, e.g, 'Retry' button of the system toast.
kButtonLabelColorBlue,
kButtonIconColor, kButtonIconColor,
kButtonIconColorPrimary, kButtonIconColorPrimary,
......
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