diff --git a/src/components/headerbar/ThemeSwitchMenu.tsx b/src/components/headerbar/ThemeSwitchMenu.tsx new file mode 100644 index 0000000..8740671 --- /dev/null +++ b/src/components/headerbar/ThemeSwitchMenu.tsx @@ -0,0 +1,57 @@ +import { Menu, MenuItem } from "@szhsin/react-menu"; +import * as React from "react"; +import { FunctionComponent } from "react"; +import { Context } from "../../context/context"; + +const ThemeSwitchMenu: FunctionComponent<{ context: Context, textColor: string }> = (props) => { + const { context, textColor } = props; + const menuButton = + light_mode + ; + const menuItems = context.themeManager.themes.map((theme, index) => { + const themeBackground = context.themeManager.theme.background; + return ( + + ); + }) + return ( +