import { jsx as _jsx } from "react/jsx-runtime";
import { forwardRef } from 'react';
import DrupalLogoLight from './DrupalLogoLight';
import DrupalLogoDark from './DrupalLogoDark';
import { useThemeModification, useBrandModification } from '../../utils';
const DrupalLogoSvg = forwardRef(function DrupalLogoSvg(props, ref) {
    const { isDarkTheme } = useThemeModification();
    const { isDarkBrand } = useBrandModification();
    return isDarkTheme || isDarkBrand ? (_jsx(DrupalLogoDark, Object.assign({}, props, { ref: ref }))) : (_jsx(DrupalLogoLight, Object.assign({}, props, { ref: ref })));
});
export default DrupalLogoSvg;
