diff --git a/packages/docusaurus-theme-classic/src/theme/Icon/Socials/Default/index.tsx b/packages/docusaurus-theme-classic/src/theme/Icon/Socials/Default/index.tsx index 29f676caa961..570acd55b3f9 100644 --- a/packages/docusaurus-theme-classic/src/theme/Icon/Socials/Default/index.tsx +++ b/packages/docusaurus-theme-classic/src/theme/Icon/Socials/Default/index.tsx @@ -11,7 +11,6 @@ import type {ReactNode, SVGProps} from 'react'; function DefaultSocial(props: SVGProps): ReactNode { return ( ): ReactNode { height="1em" {...props} className={clsx(props.className, styles.githubSvg)} - xmlns="http://www.w3.org/2000/svg" style={{'--dark': '#000', '--light': '#fff'} as React.CSSProperties} preserveAspectRatio="xMidYMid"> diff --git a/packages/docusaurus-theme-classic/src/theme/Icon/Socials/LinkedIn/index.tsx b/packages/docusaurus-theme-classic/src/theme/Icon/Socials/LinkedIn/index.tsx index 7cb8b2aa4514..20d4e8b49e83 100644 --- a/packages/docusaurus-theme-classic/src/theme/Icon/Socials/LinkedIn/index.tsx +++ b/packages/docusaurus-theme-classic/src/theme/Icon/Socials/LinkedIn/index.tsx @@ -13,7 +13,6 @@ function LinkedIn(props: SVGProps): ReactNode { diff --git a/packages/docusaurus-theme-classic/src/theme/Icon/Socials/StackOverflow/index.tsx b/packages/docusaurus-theme-classic/src/theme/Icon/Socials/StackOverflow/index.tsx index 46fbd453865f..24449c2a550a 100644 --- a/packages/docusaurus-theme-classic/src/theme/Icon/Socials/StackOverflow/index.tsx +++ b/packages/docusaurus-theme-classic/src/theme/Icon/Socials/StackOverflow/index.tsx @@ -10,12 +10,7 @@ import type {ReactNode, SVGProps} from 'react'; // SVG Source: https://svgl.app/ function StackOverflow(props: SVGProps): ReactNode { return ( - + ): ReactNode { viewBox="0 0 256 209" width="1em" height="1em" - xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid" {...props}> ): ReactNode { return (