diff --git a/images/MoonIcon.svg b/images/MoonIcon.svg new file mode 100644 index 000000000..2902376ca --- /dev/null +++ b/images/MoonIcon.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/images/SunIcon.svg b/images/SunIcon.svg new file mode 100644 index 000000000..7c7425848 --- /dev/null +++ b/images/SunIcon.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/Explorer/Menus/CommandBar/ThemeToggleButton.tsx b/src/Explorer/Menus/CommandBar/ThemeToggleButton.tsx index 595e1c0e1..8fb6e8113 100644 --- a/src/Explorer/Menus/CommandBar/ThemeToggleButton.tsx +++ b/src/Explorer/Menus/CommandBar/ThemeToggleButton.tsx @@ -1,6 +1,6 @@ import * as React from "react"; -import MoonBlueIcon from "../../../../images/moon-blue.svg"; -import SunBlueIcon from "../../../../images/sun-blue.svg"; +import MoonIcon from "../../../../images/MoonIcon.svg"; +import SunIcon from "../../../../images/SunIcon.svg"; import { useThemeStore } from "../../../hooks/useTheme"; import { CommandButtonComponentProps } from "../../Controls/CommandButton/CommandButtonComponent"; @@ -17,7 +17,7 @@ export const ThemeToggleButton = (): CommandButtonComponentProps => { const tooltipText = darkMode ? "Switch to Light Theme" : "Switch to Dark Theme"; return { - iconSrc: darkMode ? SunBlueIcon : MoonBlueIcon, + iconSrc: darkMode ? SunIcon : MoonIcon, iconAlt: "Theme Toggle", onCommandClick: useThemeStore.getState().toggleTheme, commandButtonLabel: undefined,