2694-fix(front): Replace "Continue with Google" monochrome logo by colourful logo (#2724)
* Replaced Google mono logo with colourful logo * Removed stroke and increased size of logo to 20 * Changed default size of Google Icon to 20 * added default value for size from theme
This commit is contained in:
9
front/src/modules/ui/display/icon/assets/google-icon.svg
Normal file
9
front/src/modules/ui/display/icon/assets/google-icon.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 84 KiB |
14
front/src/modules/ui/display/icon/components/IconGoogle.tsx
Normal file
14
front/src/modules/ui/display/icon/components/IconGoogle.tsx
Normal file
@ -0,0 +1,14 @@
|
||||
import { useTheme } from '@emotion/react';
|
||||
|
||||
import { ReactComponent as IconGoogleRaw } from '../assets/google-icon.svg';
|
||||
|
||||
interface IconGoogleProps {
|
||||
size?: number;
|
||||
}
|
||||
|
||||
export const IconGoogle = (props: IconGoogleProps): JSX.Element => {
|
||||
const theme = useTheme();
|
||||
const size = props.size ?? theme.icon.size.lg;
|
||||
|
||||
return <IconGoogleRaw height={size} width={size} />;
|
||||
};
|
||||
Reference in New Issue
Block a user