import { dialogs } from "svelte-dialogs";

dialogs.config({
  global: {
		confirmButtonClass: "btn btn-primary",
		declineButtonClass: "btn btn-bordered",
		dialogClass: "modal-box",
		headerClass: "bg-base-100 text-center",
		titleClass: "text-base-content text-xl font-medium",
		dividerClass: "hidden",
		footerClass: "bg-base-100 justify-center gap-4 mt-4",
		closeButtonClass: "btn btn-primary",
		closeButtonText: "Schließen",
		dismissButtonClass: "btn btn-primary",
		dismissButtonText: "Schließen",
		closeOnBg: true,
		closeOnEsc: true
	}
});

export { dialogs }