1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
ash / style / ash_color_mixer.h [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_STYLE_ASH_COLOR_MIXER_H_
#define ASH_STYLE_ASH_COLOR_MIXER_H_
#include "ash/ash_export.h"
#include "ui/color/color_provider_key.h"
namespace ui {
class ColorProvider;
} // namespace ui
namespace ash {
// Adds a color mixer with colors generated from ui/chromeos/styles/*.json5.
ASH_EXPORT void AddCrosStylesColorMixer(ui::ColorProvider* provider,
const ui::ColorProviderKey& key);
// Adds a color mixer to `provider` that supplies default values for various
// ash/ colors before taking into account any custom themes.
ASH_EXPORT void AddAshColorMixer(ui::ColorProvider* provider,
const ui::ColorProviderKey& key);
} // namespace ash
#endif // ASH_STYLE_ASH_COLOR_MIXER_H_