"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useThemeModification = useThemeModification;
exports.useBrandModification = useBrandModification;
const react_1 = require("react");
const uikit_product_utils_1 = require("@cloud-ru/uikit-product-utils");
function useThemeModification() {
    const { theme } = (0, uikit_product_utils_1.useTheme)();
    const isDarkTheme = (0, react_1.useMemo)(() => [uikit_product_utils_1.Themes.GreenDark].includes(theme), [theme]);
    return { isDarkTheme };
}
function useBrandModification() {
    const { brand } = (0, uikit_product_utils_1.useBrand)();
    const isDarkBrand = (0, react_1.useMemo)(() => [uikit_product_utils_1.Brand.CloudDark, uikit_product_utils_1.Brand.SiteDark, uikit_product_utils_1.Brand.GigaIdDark].includes(brand), [brand]);
    return { isDarkBrand };
}
