blob: b74fce554fc081fb26b8f9a38e891f71846b69be [file] [log] [blame]
// Copyright 2018 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.
#ifndef ASH_SEARCH_BOX_SEARCH_BOX_CONSTANTS_H_
#define ASH_SEARCH_BOX_SEARCH_BOX_CONSTANTS_H_
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/color_palette.h"
namespace ash {
// Default color used when wallpaper customized color is not available for
// searchbox, #000 at 87% opacity.
constexpr SkColor kDefaultSearchboxColor = gfx::kGoogleGrey200;
constexpr SkColor kDefaultSearchboxPlaceholderTextColor =
SkColorSetARGB(0xDE, 0x00, 0x00, 0x00);
// The horizontal padding of the box layout of the search box.
constexpr int kSearchBoxPadding = 12;
// The default background color of the search box.
constexpr SkColor kSearchBoxBackgroundDefault = SK_ColorWHITE;
// The background border corner radius of the search box.
constexpr int kSearchBoxBorderCornerRadius = 24;
// The background border corner radius of the expanded search box.
constexpr int kSearchBoxBorderCornerRadiusSearchResult = 20;
// Preferred height of search box.
constexpr int kSearchBoxPreferredHeight = 48;
// The size of the icon in the search box.
constexpr int kSearchBoxIconSize = 24;
// The size of the image button in the search box.
constexpr int kSearchBoxButtonSizeDip = 40;
// Color of placeholder text in zero query state.
constexpr SkColor kZeroQuerySearchboxColor =
SkColorSetARGB(0x8A, 0x00, 0x00, 0x00);
} // namespace ash
#endif // ASH_SEARCH_BOX_SEARCH_BOX_CONSTANTS_H_