import type { Config } from "tailwindcss" const config = { darkMode: ["class"], content: [ "./pages/**/*.{ts,tsx}", "./components/**/*.{ts,tsx}", "./app/**/*.{ts,tsx}", "./src/**/*.{ts,tsx}", "*.{js,ts,jsx,tsx,mdx}", ], prefix: "", theme: { container: { center: true, padding: "2rem", screens: { "2xl": "1400px", }, }, extend: { colors: { border: "hsl(var(--border))", input: "hsl(var(--input))", ring: "hsl(var(--ring))", background: "hsl(var(--background))", foreground: "hsl(var(--foreground))", primary: { DEFAULT: "hsl(var(--primary))", foreground: "hsl(var(--primary-foreground))", 50: "#f9f5ff", 100: "#f2e8ff", 200: "#e3cfff", 300: "#d0a8ff", 400: "#bb7fff", 500: "#b43ff3", // base color 600: "#a236dc", 700: "#8a2dc0", 800: "#7325a3", 900: "#5d1d88", 950: "#3b0d5a" }, gray: { 50: "#fafafa", 100: "#f4f4f5", 200: "#e4e4e7", 300: "#d4d4d8", 400: "#a1a1aa", 500: "#71717a", 600: "#52525b", 700: "#3f3f46", 800: "#27272a", 900: "#18181b", 950: "#09090b" }, secondary: { DEFAULT: "hsl(var(--secondary))", foreground: "hsl(var(--secondary-foreground))", }, destructive: { DEFAULT: "hsl(var(--destructive))", foreground: "hsl(var(--destructive-foreground))", }, muted: { DEFAULT: "hsl(var(--muted))", foreground: "hsl(var(--muted-foreground))", }, accent: { DEFAULT: "hsl(var(--accent))", foreground: "hsl(var(--accent-foreground))", }, popover: { DEFAULT: "hsl(var(--popover))", foreground: "hsl(var(--popover-foreground))", }, card: { DEFAULT: "hsl(var(--card))", foreground: "hsl(var(--card-foreground))", }, }, borderRadius: { lg: "var(--radius)", md: "calc(var(--radius) - 2px)", sm: "calc(var(--radius) - 4px)", }, keyframes: { "accordion-down": { from: { height: "0" }, to: { height: "var(--radix-accordion-content-height)" }, }, "accordion-up": { from: { height: "var(--radix-accordion-content-height)" }, to: { height: "0" }, }, }, animation: { "accordion-down": "accordion-down 0.2s ease-out", "accordion-up": "accordion-up 0.2s ease-out", }, typography: (theme: any) => ({ DEFAULT: { css: { maxWidth: "none", color: theme("colors.gray.700"), a: { color: theme("colors.purple.700"), "&:hover": { color: theme("colors.purple.800"), }, }, h1: { color: theme("colors.purple.900"), }, h2: { color: theme("colors.purple.900"), }, h3: { color: theme("colors.purple.900"), }, h4: { color: theme("colors.purple.900"), }, "code::before": { content: '""', }, "code::after": { content: '""', }, code: { color: theme("colors.purple.700"), backgroundColor: theme("colors.purple.50"), padding: "0.25rem", borderRadius: "0.25rem", fontWeight: "400", }, pre: { backgroundColor: theme("colors.gray.900"), color: theme("colors.gray.100"), overflowX: "auto", fontSize: "0.875rem", borderRadius: "0.375rem", padding: "1rem", }, }, }, invert: { css: { color: theme("colors.gray.300"), a: { color: theme("colors.purple.400"), "&:hover": { color: theme("colors.purple.300"), }, }, h1: { color: theme("colors.purple.400"), }, h2: { color: theme("colors.purple.400"), }, h3: { color: theme("colors.purple.400"), }, h4: { color: theme("colors.purple.400"), }, code: { color: theme("colors.purple.400"), backgroundColor: theme("colors.gray.800"), }, }, }, }), }, }, plugins: [require("tailwindcss-animate"), require("@tailwindcss/typography")], } satisfies Config export default config