import colorStudio from '@automattic/color-studio';
import clsx from 'clsx';
/**
* Module constants
*/
const PALETTE = colorStudio.colors;
const COLOR_JETPACK = PALETTE[ 'Jetpack Green 40' ];
const COLOR_WHITE = PALETTE[ 'White' ]; // eslint-disable-line dot-notation
type JetpackLogoProps = {
/**
* Whether to render the full logo.
* @default false
*/
full?: boolean;
/**
* Height of the logo in pixels.
* @default 32
*/
size?: number;
/**
* Whether to render the logo in monochrome.
* @default false
*/
monochrome?: boolean;
};
const LogoPathSize32 = ( { monochrome = false }: Pick< JetpackLogoProps, 'monochrome' > ) => {
const primary = monochrome ? 'white' : COLOR_JETPACK;
const secondary = monochrome ? 'black' : COLOR_WHITE;
return (
<>
>
);
};
const LogoPathSize32Monochrome = () => (
<>
>
);
export const JetpackLogo = ( {
full = false,
monochrome = false,
size = 32,
className,
...props
}: JetpackLogoProps & React.SVGProps< SVGSVGElement > ) => {
const classes = clsx( 'jetpack-logo', className );
if ( full === true ) {
return (
);
}
if ( 24 === size ) {
return (
);
}
return (
);
};