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