import type { Config } from "tailwindcss";

const config = {
  darkMode: ["class"],
  content: [
    "./pages/**/*.{ts,tsx}",
    "./components/**/*.{ts,tsx}",
    "./app/**/*.{ts,tsx}",
    "./src/**/*.{ts,tsx}",
  ],
  prefix: "",
  theme: {
    container: {
      center: true,
      padding: "2rem",
      screens: {
        "2xl": "1400px",
      },
    },
    extend: {
      colors: {
        primary: {
          "50": "#f2f7fd",
          "100": "#e3edfb",
          "200": "#c2dbf5",
          "300": "#8bbcee",
          "400": "#4e9ae2",
          "500": "#277dd0",
          "600": "#175ba6",
          "700": "#154e8f",
          "800": "#154377",
          "900": "#173963",
          "950": "#0f2542",
        },
        warning: {
          "50": "#fefbec",
          "100": "#faf3cb",
          "200": "#f5e592",
          "300": "#efd25a",
          "400": "#ebbf34",
          "500": "#e4a11b",
          "600": "#ca7d15",
          "700": "#a85b15",
          "800": "#884618",
          "900": "#703a17",
          "950": "#401d08",
        },
      },
      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" },
        },
        "fade-in": {
          from: { opacity: "0" },
          to: { opacity: "1" },
        },
      },
      animation: {
        "accordion-down": "accordion-down 0.2s ease-out",
        "accordion-up": "accordion-up 0.2s ease-out",
        "fade-in": "fade-in 0.2s ease-out",
      },
    },
  },
  plugins: [require("tailwindcss-animate")],
} satisfies Config;

export default config;
