import forms from "@tailwindcss/forms";
import typography from "@tailwindcss/typography";
import daisyUI from "daisyui";
import type { Config } from "tailwindcss";
export default {
	content: ["./src/**/*.{js,ts,jsx,tsx}", "./index.html"],
	// safelist is used to allow classes to not be purged by tailwind;
	// I made this to set this classes dyanmically in the code, somehow without this tailwind purges them;
	safelist: ["alert-info", "alert-success", "alert-warning", "alert-error"],
	theme: {
		extend: {
			spacing: {
				128: "32rem",
				144: "36rem",
			},
			borderRadius: {
				"4xl": "2rem",
			},
		},
	},
	darkMode: "media",
	plugins: [forms, daisyUI, typography],
	daisyui: {
		themes: ["light", "dark"],
	},
} satisfies Config;
