Skip to content

Commit

Permalink
Changed header background color to align with panel's background
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhong committed Sep 18, 2023
1 parent c385a05 commit a1357e3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions browser/ui/color/brave_color_mixer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,12 @@ void AddBraveDarkThemeColorMixer(ui::ColorProvider* provider,
mixer[kColorSidebarSeparator] = {SkColorSetRGB(0x5E, 0x61, 0x75)};
mixer[kColorSidebarPanelHeaderSeparator] = {
leo::GetColor(leo::Color::kColorDividerSubtle, leo::Theme::kDark)};
mixer[kColorSidebarPanelHeaderBackground] = {
leo::GetColor(leo::Color::kColorContainerBackground, leo::Theme::kDark)};

// To align with upstream's panel backround color, use |kGogleGreay900|.
// When we apply our style to panel webui, use below color for header.
// leo::GetColor(leo::Color::kColorContainerBackground, leo::Theme::kDark).
// Or delete when panel webui renders header view also.
mixer[kColorSidebarPanelHeaderBackground] = {gfx::kGoogleGrey900};
mixer[kColorSidebarPanelHeaderTitle] = {
leo::GetColor(leo::Color::kColorTextSecondary, leo::Theme::kDark)};

Expand Down

0 comments on commit a1357e3

Please sign in to comment.