mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 12:56:05 +00:00
fix field date error in modal, adjust notification spacing, added entity quick switcher
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user