From f5a69daf3aa8ab5eb269669715f7006d28fdcf60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agust=C3=ADn=20Ruiz?= Date: Mon, 28 Oct 2024 13:07:39 -0300 Subject: [PATCH] contrast improvement for pinned tabs --- browser/ui/color/brave_color_mixer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/ui/color/brave_color_mixer.cc b/browser/ui/color/brave_color_mixer.cc index 11c9880ff14f..c27d072c2982 100644 --- a/browser/ui/color/brave_color_mixer.cc +++ b/browser/ui/color/brave_color_mixer.cc @@ -208,7 +208,7 @@ void AddChromeLightThemeColorMixer(ui::ColorProvider* provider, mixer[kColorNewTabButtonBackgroundFrameActive] = {ui::kColorFrameActive}; mixer[kColorNewTabButtonBackgroundFrameInactive] = {ui::kColorFrameInactive}; mixer[kColorNewTabPageBackground] = {kBraveNewTabBackgroundLight}; - mixer[kColorTabStrokeFrameActive] = {SkColorSetA(SK_ColorBLACK, 0.07 * 255)}; + mixer[kColorTabStrokeFrameActive] = {ui::kColorRefNeutral80}; mixer[kColorTabStrokeFrameInactive] = {kColorTabStrokeFrameActive}; mixer[kColorToolbarButtonIconInactive] = { ui::SetAlpha(kColorToolbarButtonIcon, kBraveDisabledControlAlpha)}; @@ -248,7 +248,7 @@ void AddChromeDarkThemeColorMixer(ui::ColorProvider* provider, mixer[kColorNewTabButtonBackgroundFrameActive] = {ui::kColorFrameActive}; mixer[kColorNewTabButtonBackgroundFrameInactive] = {ui::kColorFrameInactive}; mixer[kColorNewTabPageBackground] = {kBraveNewTabBackgroundDark}; - mixer[kColorTabStrokeFrameActive] = {kColorToolbar}; + mixer[kColorTabStrokeFrameActive] = {ui::kColorRefNeutral25}; mixer[kColorTabStrokeFrameInactive] = {kColorToolbar}; mixer[kColorToolbarButtonIconInactive] = { ui::SetAlpha(kColorToolbarButtonIcon, kBraveDisabledControlAlpha)};