Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2532)

Unified Diff: chrome/browser/themes/theme_properties.cc

Issue 2064903003: Set bookmarks bar text color to #646464 in MD mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Punctuation nit Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/themes/theme_properties.h ('k') | chrome/browser/themes/theme_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/themes/theme_properties.cc
diff --git a/chrome/browser/themes/theme_properties.cc b/chrome/browser/themes/theme_properties.cc
index 770b3dd61b00654857a6631e6305a160e3272707..ba17e76085d79258360c4abb6c77d9830be12987 100644
--- a/chrome/browser/themes/theme_properties.cc
+++ b/chrome/browser/themes/theme_properties.cc
@@ -92,6 +92,11 @@ constexpr SkColor kDefaultColorBookmarkText = SK_ColorBLACK;
constexpr SkColor kDefaultColorBookmarkTextIncognito[] = {
kDefaultColorBookmarkText, SK_ColorWHITE};
+const SkColor kDefaultColorBookmarkInstructionsText[] = {
+ SK_ColorBLACK, SkColorSetRGB(0x64, 0x64, 0x64)};
+const SkColor kDefaultColorBookmarkInstructionsTextIncognito[] = {
+ SK_ColorBLACK, SkColorSetARGB(0x8A, 0xFF, 0xFF, 0xFF)};
+
#if defined(OS_WIN)
const SkColor kDefaultColorNTPBackground =
color_utils::GetSysSkColor(COLOR_WINDOW);
@@ -358,6 +363,9 @@ SkColor ThemeProperties::GetDefaultColor(int id, bool otr) {
// Properties not stored in theme pack.
case COLOR_CONTROL_BACKGROUND:
return kDefaultColorControlBackground;
+ case COLOR_BOOKMARK_BAR_INSTRUCTIONS_TEXT:
+ return otr ? kDefaultColorBookmarkInstructionsTextIncognito[mode]
+ : kDefaultColorBookmarkInstructionsText[mode];
case COLOR_TOOLBAR_BOTTOM_SEPARATOR:
case COLOR_DETACHED_BOOKMARK_BAR_SEPARATOR:
return otr ? kDefaultDetachedBookmarkBarSeparatorIncognito[mode]
« no previous file with comments | « chrome/browser/themes/theme_properties.h ('k') | chrome/browser/themes/theme_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698