blob: b1c9ae7c78d361d2bc114dd0e3a6baa5cc08df7b [file] [log] [blame]
// Copyright 2024 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/browser/ui/lens/lens_overlay_theme_utils.h"
#include "chrome/browser/themes/theme_service.h"
#include "components/lens/lens_features.h"
namespace lens {
bool LensOverlayShouldUseDarkMode(ThemeService* theme_service) {
return lens::features::UseBrowserDarkModeSettingForLensOverlay() &&
theme_service->BrowserUsesDarkColors();
}
} // namespace lens