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