| Index: athena/system/time_view.cc
|
| diff --git a/athena/system/time_view.cc b/athena/system/time_view.cc
|
| index e32cb26ed91841200344e69ae0f9d23661484f5a..9570546d3e3b09feac5d1ecc9539b9b18b2b9532 100644
|
| --- a/athena/system/time_view.cc
|
| +++ b/athena/system/time_view.cc
|
| @@ -17,11 +17,14 @@ const int kTimerSlopSeconds = 1;
|
|
|
| } // namespace
|
|
|
| -TimeView::TimeView() {
|
| +TimeView::TimeView(SystemUI::ColorScheme color_scheme) {
|
| SetHorizontalAlignment(gfx::ALIGN_LEFT);
|
| - SetEnabledColor(SK_ColorWHITE);
|
| + SetEnabledColor((color_scheme == SystemUI::COLOR_SCHEME_LIGHT)
|
| + ? SK_ColorWHITE
|
| + : SK_ColorDKGRAY);
|
| SetAutoColorReadabilityEnabled(false);
|
| SetFontList(gfx::FontList().DeriveWithStyle(gfx::Font::BOLD));
|
| + SetSubpixelRenderingEnabled(false);
|
|
|
| const int kHorizontalSpacing = 10;
|
| const int kVerticalSpacing = 3;
|
|
|