1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "ui/app_list/app_list_constants.h" 6 7 namespace app_list { 8 9 const SkColor kContentsBackgroundColor = SkColorSetRGB(0xFB, 0xFB, 0xFB); 10 const SkColor kSearchBoxBackground = SK_ColorWHITE; 11 const SkColor kTopSeparatorColor = SkColorSetRGB(0xE5, 0xE5, 0xE5); 12 13 // 6% black over kContentsBackgroundColor 14 const SkColor kHighlightedColor = SkColorSetRGB(0xE6, 0xE6, 0xE6); 15 // 10% black over kContentsBackgroundColor 16 const SkColor kSelectedColor = SkColorSetRGB(0xF1, 0xF1, 0xF1); 17 18 const SkColor kPagerHoverColor = SkColorSetRGB(0xB4, 0xB4, 0xB4); 19 const SkColor kPagerNormalColor = SkColorSetRGB(0xE2, 0xE2, 0xE2); 20 const SkColor kPagerSelectedColor = SkColorSetRGB(0x46, 0x8F, 0xFC); 21 22 const SkColor kResultBorderColor = SkColorSetRGB(0xE5, 0xE5, 0xE5); 23 const SkColor kResultDefaultTextColor = SkColorSetRGB(0x33, 0x33, 0x33); 24 const SkColor kResultDimmedTextColor = SkColorSetRGB(0x96, 0x96, 0x96); 25 const SkColor kResultURLTextColor = SkColorSetRGB(0x00, 0x99, 0x33); 26 27 const SkColor kGridTitleColor = SkColorSetRGB(0x5A, 0x5A, 0x5A); 28 const SkColor kGridTitleHoverColor = SkColorSetRGB(0x3C, 0x3C, 0x3C); 29 30 // Color of the folder ink bubble. 31 const SkColor kFolderBubbleColor = SkColorSetRGB(0xD7, 0xD7, 0xD7); 32 33 // Duration in milliseconds for page transition. 34 const int kPageTransitionDurationInMs = 180; 35 36 // Duration in milliseconds for over scroll page transition. 37 const int kOverscrollPageTransitionDurationMs = 50; 38 39 // Preferred number of columns and rows in apps grid. 40 const int kPreferredCols = 4; 41 const int kPreferredRows = 4; 42 const int kPreferredIconDimension = 48; 43 44 // Font style for app item labels. 45 const ui::ResourceBundle::FontStyle kItemTextFontStyle = 46 ui::ResourceBundle::SmallBoldFont; 47 48 } // namespace app_list 49