Skip to content

Commit

Permalink
Updated omnibox chip button's background color in light mode (#21637)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhong committed Jan 19, 2024
1 parent 2bf3fed commit ab1f6c8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions browser/ui/color/brave_color_mixer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,12 @@ void AddChromeLightThemeColorMixer(ui::ColorProvider* provider,
ui::kColorFocusableBorderFocused};
mixer[kColorTabFocusRingActive] = {ui::kColorFocusableBorderFocused};
mixer[kColorTabFocusRingInactive] = {ui::kColorFocusableBorderFocused};

// Upstream uses tab's background color as omnibox chip background color.
// In our light mode, there is no difference between location bar's bg
// color and tab's bg color. So, it looks like chip's bg color is transparent.
// Use frame color as chip background to have different bg color.
mixer[kColorOmniboxChipBackground] = {kLightFrame};
}

void AddChromeDarkThemeColorMixer(ui::ColorProvider* provider,
Expand Down

0 comments on commit ab1f6c8

Please sign in to comment.