diff --git a/src/theme/Icon/Home/index.js b/src/theme/Icon/Home/index.js new file mode 100644 index 0000000000..8ebb542f78 --- /dev/null +++ b/src/theme/Icon/Home/index.js @@ -0,0 +1,164 @@ +import React from 'react'; +import {useColorMode} from '@docusaurus/theme-common'; + +export default function IconHome(props) { + const {colorMode, setColorMode} = useColorMode(); + const isDarkTheme = colorMode === 'dark'; + if (isDarkTheme) { + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + ); + } else { + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ); + } +}