chromium/chrome/common/themes/autogenerated_theme_util.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/common/themes/autogenerated_theme_util.h"

#include "ui/gfx/color_utils.h"

SkColor GetContrastingColor(SkColor color, float luminosity_change) {}

// Decreases the lightness of the given color.
SkColor DarkenColor(SkColor color, float change) {}

// Increases the lightness of `source` until it reaches `contrast_ratio` with
// `base` or reaches `white_contrast` with white. This avoids decreasing
// saturation, as the alternative contrast-guaranteeing functions in color_utils
// would do.
SkColor LightenUntilContrast(SkColor source,
                             SkColor base,
                             float contrast_ratio,
                             float white_contrast) {}

AutogeneratedThemeColors GetAutogeneratedThemeColors(SkColor color) {}