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 const CGFloat kToolbarTintColorBrightness = 90.0 / 255.0; | 8 const CGFloat kToolbarTintColorBrightness = 90.0 / 255.0; |
9 | 9 |
10 const CGFloat kVerticalMargin = 7.0f; | 10 const CGFloat kVerticalMargin = 7.0f; |
11 const CGFloat kHorizontalMargin = 1.0f; | 11 const CGFloat kHorizontalMargin = 1.0f; |
12 const CGFloat kStackViewSpacing = 2.0f; | 12 const CGFloat kStackViewSpacing = 2.0f; |
13 | 13 |
14 const CGFloat kLocationBarBorderWidth = 1.0f; | 14 const CGFloat kLocationBarBorderWidth = 1.0f; |
15 const CGFloat kLocationBarBorderColorBrightness = 208.0 / 255.0; | 15 const CGFloat kLocationBarBorderColorBrightness = 208.0 / 255.0; |
16 const CGFloat kLocationBarShadowRadius = 0.0f; | 16 const CGFloat kLocationBarShadowRadius = 0.0f; |
17 const CGFloat kLocationBarShadowOpacity = 0.2f; | 17 const CGFloat kLocationBarShadowOpacity = 0.2f; |
18 | 18 |
19 const CGFloat kProgressBarHeight = 2.0f; | 19 const CGFloat kProgressBarHeight = 2.0f; |
| 20 |
| 21 const CGFloat kToolbarButtonWidth = 42.0f; |
OLD | NEW |