Commit 5af9bac2 authored by Leonard Grey's avatar Leonard Grey Committed by Commit Bot

Dark mode: add color for footnote view separator

Bug: 918194
Change-Id: I6572c33b8e1a607b612b6dbf5c7a5a9f369862d6
Reviewed-on: https://chromium-review.googlesource.com/c/1394739Reviewed-by: default avatarMichael Wasserman <msw@chromium.org>
Commit-Queue: Leonard Grey <lgrey@chromium.org>
Cr-Commit-Position: refs/heads/master@{#619777}
parent fa318207
...@@ -54,7 +54,10 @@ FootnoteContainerView::FootnoteContainerView(const gfx::Insets& margins, ...@@ -54,7 +54,10 @@ FootnoteContainerView::FootnoteContainerView(const gfx::Insets& margins,
SetLayoutManager( SetLayoutManager(
std::make_unique<BoxLayout>(BoxLayout::kVertical, margins, 0)); std::make_unique<BoxLayout>(BoxLayout::kVertical, margins, 0));
SetCornerRadius(corner_radius); SetCornerRadius(corner_radius);
SetBorder(CreateSolidSidedBorder(1, 0, 0, 0, gfx::kGoogleGrey200)); SetBorder(CreateSolidSidedBorder(1, 0, 0, 0,
GetNativeTheme()->SystemDarkModeEnabled()
? gfx::kGoogleGrey900
: gfx::kGoogleGrey200));
AddChildView(child_view); AddChildView(child_view);
SetVisible(child_view->visible()); SetVisible(child_view->visible());
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment