fix field date error in modal, adjust notification spacing, added entity quick switcher

This commit is contained in:
dswbx
2025-02-27 14:07:49 +01:00
parent 3e28124494
commit 3bf3bb32a4
11 changed files with 94 additions and 15 deletions

View File

@@ -14,6 +14,7 @@ import {
Textarea,
createTheme,
} from "@mantine/core";
import { Notifications } from "@mantine/notifications";
import { twMerge } from "tailwind-merge";
// default: https://github.com/mantinedev/mantine/blob/master/packages/%40mantine/core/src/core/MantineProvider/default-theme.ts
@@ -126,6 +127,13 @@ export function createMantineTheme(scheme: "light" | "dark"): {
indicator: light ? "bg-background" : "bg-primary/15",
}),
}),
Notifications: Notifications.extend({
classNames: (theme, props) => {
return {
notification: "-top-4 -right-4",
};
},
}),
},
primaryColor: "dark",
primaryShade: 9,