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