1 // Copyright 2020 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 #ifndef ASH_STYLE_DEFAULT_COLOR_CONSTANTS_H_
6 #define ASH_STYLE_DEFAULT_COLOR_CONSTANTS_H_
7 
8 #include "ui/gfx/color_palette.h"
9 
10 // Colors that can't be found in AshColorProvider. This is used to keep the UI
11 // element's current look before launching dark/light mode. Using this together
12 // with the Deprecated* functions inside default_colors.h file. Note: This file
13 // will be removed once enabled dark/light mode.
14 
15 // Colors for power button menu.
16 constexpr SkColor kPowerButtonMenuFullscreenShieldColor = SK_ColorBLACK;
17 
18 // Login shelf button color constants
19 constexpr SkColor kLoginShelfButtonLabelColor = gfx::kGoogleGrey100;
20 constexpr SkColor kLoginShelfButtonIconColor = SkColorSetRGB(0xEB, 0xEA, 0xED);
21 constexpr SkColor kLoginBackgroundBaseColor = SK_ColorBLACK;
22 constexpr SkColor kLoginButtonBackgroundBaseColor =
23     SkColorSetA(SK_ColorWHITE, 26);
24 
25 // Colors for shelf.
26 constexpr SkColor kDefaultShelfInkDropColor = SK_ColorWHITE;
27 constexpr float kDefaultShelfInkDropOpacity = 0.2f;
28 constexpr SkColor kShelfButtonColor = SK_ColorWHITE;
29 constexpr SkColor kIndicatorColorActive = SK_ColorWHITE;
30 constexpr SkColor kInicatorColorRunning = SkColorSetA(SK_ColorWHITE, 0x7F);
31 
32 // Colors for back gesture.
33 constexpr SkColor kArrowColorBeforeActivated = gfx::kGoogleBlue600;
34 constexpr SkColor kArrowColorAfterActivated = gfx::kGoogleGrey100;
35 const SkColor kBackgroundColorBeforeActivated = SK_ColorWHITE;
36 const SkColor kBackgroundColorAfterActivated = gfx::kGoogleBlue600;
37 
38 // Colors for back gesture nudge.
39 constexpr SkColor kCircleColor = SK_ColorWHITE;
40 constexpr SkColor kLabelBackgroundColor = SkColorSetA(SK_ColorBLACK, 0xDE);
41 
42 // Colors for split view.
43 constexpr SkColor kSplitviewLabelBackgroundColor =
44     SkColorSetA(SK_ColorBLACK, 0xDE);
45 constexpr SkColor kSplitviewLabelEnabledColor = SK_ColorWHITE;
46 constexpr SkColor kSplitviewBlackScrimLayerColor = SK_ColorBLACK;
47 constexpr SkColor kSplitviewHighlightViewBackgroundColor = SK_ColorWHITE;
48 constexpr SkColor kSplitviewHighlightViewBackgroundCannotSnapColor =
49     SK_ColorBLACK;
50 
51 #endif  // ASH_STYLE_DEFAULT_COLOR_CONSTANTS_H_
52