Skip to content

Commit

Permalink
Merge pull request #26267 from brave/pr26259_desktop-contrast-theme_1…
Browse files Browse the repository at this point in the history
….72.x

contrast improvement for pinned tabs (uplift to 1.72.x)
  • Loading branch information
LaurenWags authored Oct 29, 2024
2 parents 8eeb271 + 8e42191 commit f5ecdd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions browser/ui/color/brave_color_mixer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)};
Expand Down Expand Up @@ -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)};
Expand Down

0 comments on commit f5ecdd6

Please sign in to comment.