Add about modal

This commit is contained in:
Meierschlumpf
2022-12-04 18:45:14 +01:00
parent 0970a2b9bc
commit 7c4ffd1132
5 changed files with 187 additions and 36 deletions

View File

@@ -0,0 +1,12 @@
import { MantineGradient } from '@mantine/core';
import { useColorTheme } from '../../tools/color';
export const usePrimaryGradient = (): MantineGradient => {
const { primaryColor, secondaryColor } = useColorTheme();
return {
from: primaryColor,
to: secondaryColor,
deg: 145,
};
};