import { dialogs } from "svelte-dialogs";

dialogs.config({
  global: {
		confirmButtonClass: "button",
		declineButtonClass: "button",
		dialogClass: "bg-white px-6 py-4 rounded-lg",
		headerClass: "text-center",
		titleClass: "text-base-content text-xl font-medium",
		dividerClass: "hidden",
		footerClass: "justify-center gap-4 mt-4",
		closeButtonClass: "button",
		closeButtonText: "Schließen",
		dismissButtonClass: "button",
		dismissButtonText: "Schließen",
		closeOnBg: true,
		closeOnEsc: true
	}
});

export { dialogs }