From c157c94d95c2d687fb0573e214a3479f257f0e84 Mon Sep 17 00:00:00 2001 From: ajnart Date: Tue, 9 Aug 2022 13:23:29 +0200 Subject: [PATCH] :pencil2: Fix color for MenuItem --- src/components/AppShelf/AppShelfMenu.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/AppShelf/AppShelfMenu.tsx b/src/components/AppShelf/AppShelfMenu.tsx index 9ee8f83d4..f1b3a20a1 100644 --- a/src/components/AppShelf/AppShelfMenu.tsx +++ b/src/components/AppShelf/AppShelfMenu.tsx @@ -5,10 +5,12 @@ import { IconCheck as Check, IconEdit as Edit, IconMenu, IconTrash as Trash } fr import { useConfig } from '../../tools/state'; import { serviceItem } from '../../tools/types'; import { AddAppShelfItemForm } from './AddAppShelfItem'; +import { useColorTheme } from '../../tools/color'; export default function AppShelfMenu(props: any) { const { service }: { service: serviceItem } = props; const { config, setConfig } = useConfig(); + const { secondaryColor } = useColorTheme(); const theme = useMantineTheme(); const [opened, setOpened] = useState(false); return (