diff --git a/src/components/FeatherIcon.js b/src/components/FeatherIcon.js index 273fed943..6ad6cae82 100644 --- a/src/components/FeatherIcon.js +++ b/src/components/FeatherIcon.js @@ -3,11 +3,12 @@ import PropTypes from 'prop-types'; import cx from 'classnames'; import styles from './FeatherIcon.module.scss'; -const FeatherIcon = ({ className, name, size = '1em' }) => { +const FeatherIcon = ({ className, name, size = '1em', ...props }) => { const paths = ICONS[name]; return paths ? ( { const { fileRelativePath } = useContext(PageContext); + const darkMode = useDarkMode(false); return (
@@ -58,6 +60,13 @@ const GlobalHeader = ({ className }) => {