OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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 #import "ios/chrome/browser/ui/material_components/activity_indicator.h" |
| 6 |
| 7 #import "ios/chrome/browser/ui/colors/MDCPalette+CrAdditions.h" |
| 8 #import "ios/third_party/material_components_ios/src/components/Palettes/src/Mat
erialPalettes.h" |
| 9 |
| 10 NSArray* ActivityIndicatorBrandedCycleColors() { |
| 11 #if defined(GOOGLE_CHROME_BUILD) |
| 12 return @[ |
| 13 [[MDCPalette cr_bluePalette] tint500], [[MDCPalette cr_redPalette] tint500], |
| 14 [[MDCPalette cr_yellowPalette] tint500], |
| 15 [[MDCPalette cr_greenPalette] tint500] |
| 16 ]; |
| 17 #else |
| 18 return @[ |
| 19 [MDCPalette bluePalette].tint800, |
| 20 [MDCPalette bluePalette].tint500, |
| 21 [MDCPalette bluePalette].tint200, |
| 22 ]; |
| 23 #endif |
| 24 } |
OLD | NEW |