Skip to content

Commit

Permalink
[Nala]: Don't mix colors for omnibox
Browse files Browse the repository at this point in the history
  • Loading branch information
fallaciousreasoning committed Sep 16, 2024
1 parent 91d59fa commit e9c6894
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions browser/ui/color/brave_color_mixer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,8 @@ void AddBraveOmniboxColorMixer(ui::ColorProvider* provider,
const ui::ColorProviderKey& key) {
ui::ColorMixer& mixer = provider->AddMixer();

mixer[kColorBraveOmniboxResultViewSeparator] = {nala::kColorDividerSubtle};
mixer[kColorBraveOmniboxResultViewSeparator] = {
kColorToolbarContentAreaSeparator};
mixer[kColorOmniboxResultsUrl] = {nala::kColorTextInteractive};
// We use a shadow for the Omnibox hover effect, rather than a color change.
mixer[kColorLocationBarBackgroundHovered] = {kColorLocationBarBackground};
Expand All @@ -702,8 +703,6 @@ void AddBraveOmniboxColorMixer(ui::ColorProvider* provider,

// We don't use bg color for location icon view.
mixer[kColorPageInfoBackground] = {SK_ColorTRANSPARENT};

AddOmniboxHoverSelect(mixer);
}

void AddBravifiedTabStripColorMixer(ui::ColorProvider* provider,
Expand Down
2 changes: 1 addition & 1 deletion browser/ui/tabs/brave_tab_color_mixer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void AddBraveTabThemeColorMixer(ui::ColorProvider* provider,
mixer[kColorBraveVerticalTabActiveBackground] = {
kColorTabBackgroundInactiveFrameActive};
mixer[kColorBraveVerticalTabInactiveBackground] = {kColorToolbar};
mixer[kColorBraveVerticalTabSeparator] = {nala::kColorDividerSubtle};
mixer[kColorBraveVerticalTabSeparator] = {kColorToolbarContentAreaSeparator};
mixer[kColorBraveVerticalTabNTBIconColor] = {
kColorTabForegroundInactiveFrameActive};
mixer[kColorBraveVerticalTabNTBTextColor] = {
Expand Down

0 comments on commit e9c6894

Please sign in to comment.