blob: 8bd3231733a218ad8534a24ab0d634fda23b07ad [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/system/tray/tray_utils.h"
#include "ash/system/tray/tray_constants.h"
#include "ui/gfx/font_list.h"
#include "ui/views/controls/label.h"
namespace ash {
void SetupLabelForTray(views::Label* label) {
// The text is drawn on an transparent bg, so we must disable subpixel
// rendering.
kTrayTextFontSizeIncrease, gfx::Font::NORMAL, gfx::Font::Weight::MEDIUM));
SkColor TrayIconColor(session_manager::SessionState session_state) {
if (session_state == session_manager::SessionState::OOBE)
return kOobeTrayIconColor;
return kTrayIconColor;
} // namespace ash