Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #import "ios/clean/chrome/browser/ui/toolbar/toolbar_constants.h" | 5 #import "ios/clean/chrome/browser/ui/toolbar/toolbar_constants.h" |
| 6 | 6 |
| 7 const CGFloat kToolbarBackgroundBrightness = 242.0 / 255.0; | 7 const CGFloat kToolbarBackgroundBrightness = 242.0 / 255.0; |
| 8 | 8 |
| 9 const CGFloat kVerticalMargin = 7.0f; | 9 const CGFloat kVerticalMargin = 7.0f; |
| 10 const CGFloat kHorizontalMargin = 1.0f; | 10 const CGFloat kHorizontalMargin = 1.0f; |
| 11 const CGFloat kStackViewSpacing = 2.0f; | 11 const CGFloat kStackViewSpacing = 2.0f; |
| 12 | 12 |
| 13 const CGFloat kLocationBarBorderWidth = 1.0f; | 13 const CGFloat kLocationBarBorderWidth = 1.0f; |
| 14 const CGFloat kLocationBarBorderColorBrightness = 208.0 / 255.0; | 14 const CGFloat kLocationBarBorderColorBrightness = 208.0 / 255.0; |
| 15 const CGFloat kLocationBarShadowRadius = 0.0f; | 15 const CGFloat kLocationBarShadowRadius = 0.0f; |
| 16 const CGFloat kLocationBarShadowOpacity = 0.2f; | 16 const CGFloat kLocationBarShadowOpacity = 0.2f; |
| 17 | 17 |
| 18 const CGFloat kProgressBarHeight = 2.0f; | 18 const CGFloat kProgressBarHeight = 2.0f; |
| 19 | 19 |
| 20 const CGFloat kToolbarButtonWidth = 42.0f; | 20 const CGFloat kToolbarButtonWidth = 42.0f; |
| 21 const CGFloat kToolbarButtonTitleNormalColor = 85.0 / 255.0; | |
| 22 const CGFloat kToolbarButtonTitleHighlightedColor = 0x4285F4; | |
|
marq (ping after 24h)
2017/05/29 11:04:36
Neither of these are 'colors' in the usual sense -
sczs
2017/05/30 00:18:20
Sounds good. If we want to have consistency and no
| |
| OLD | NEW |