This commit is contained in:
rosetta
2026-01-30 05:01:05 +02:00
commit 83f38dc63f
327 changed files with 18725 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
import { useRosettaColors } from "@/app/hooks/useRosettaColors";
import { MantineSize, Paper } from "@mantine/core";
export interface SettingsPaperProps {
children: React.ReactNode;
mt?: MantineSize;
style?: React.CSSProperties;
p?: MantineSize;
}
export function SettingsPaper(props: SettingsPaperProps) {
const colors = useRosettaColors();
return (
<Paper mt={props.mt} p={props.p} style={props.style} withBorder styles={{
root: {
borderTop: '1px solid ' + colors.borderColor,
borderBottom: '1px solid ' + colors.borderColor,
borderLeft: '1px solid ' + colors.borderColor,
borderRight: '1px solid ' + colors.borderColor,
}
}}
>
{props.children}
</Paper>
);
}