This commit is contained in:
yohlo
2025-08-28 18:09:09 -05:00
parent 8eea99b125
commit 381ddc8f34
17 changed files with 343 additions and 98 deletions

View File

@@ -1,4 +1,4 @@
import { Box, Container } from "@mantine/core";
import { Box, Container, useComputedColorScheme } from "@mantine/core";
import { PropsWithChildren, useEffect } from "react";
import { Drawer as VaulDrawer } from 'vaul';
import { useMantineColorScheme } from '@mantine/core';
@@ -11,7 +11,7 @@ interface DrawerProps extends PropsWithChildren {
}
const Drawer: React.FC<DrawerProps> = ({ title, children, opened, onChange }) => {
const { colorScheme } = useMantineColorScheme();
const colorScheme = useComputedColorScheme('light');
useEffect(() => {
const appElement = document.querySelector('.app') as HTMLElement;