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