diff --git a/frontend/src/icons/tailscale.tsx b/frontend/src/icons/tailscale.tsx index bcbb7f2..40e55e7 100644 --- a/frontend/src/icons/tailscale.tsx +++ b/frontend/src/icons/tailscale.tsx @@ -1,6 +1,8 @@ +import { useMantineColorScheme } from "@mantine/core"; import type { SVGProps } from "react"; export function TailscaleIcon(props: SVGProps) { + const { colorScheme } = useMantineColorScheme(); return ( ) { height={24} {...props} > - - - - - - - - - - - - - - + {colorScheme === "dark" ? ( + <> + + + + ) : ( + <> + + + + )} ); } diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx index ac776a2..77098a8 100644 --- a/frontend/src/main.tsx +++ b/frontend/src/main.tsx @@ -29,7 +29,7 @@ const queryClient = new QueryClient({ createRoot(document.getElementById("root")!).render( - +