tailwind.config.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* eslint-disable no-undef */
  2. /** @type {import('tailwindcss').Config} */
  3. module.exports = {
  4. darkMode: ["class"],
  5. content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
  6. prefix: "",
  7. theme: {
  8. extend: {
  9. colors: {
  10. primary: {
  11. DEFAULT: "#0d9488", // Teal 600
  12. dark: "#0f766e", // Teal 700
  13. darker: "#0d5a56", // Teal 800
  14. },
  15. success: {
  16. DEFAULT: "#16a34a", // Green 600
  17. dark: "#047857", // Green 700
  18. darker: "#03664a", // Green 800
  19. },
  20. danger: {
  21. DEFAULT: "#dc2626", // Red 600
  22. dark: "#b91c1c", // Red 700
  23. darker: "#991b1b", // Red 800
  24. },
  25. warning: {
  26. DEFAULT: "#ca8a04", // Yellow 600
  27. dark: "#b45309", // Yellow 700
  28. darker: "#92400e", // Yellow 800
  29. },
  30. },
  31. spacing: {
  32. 128: "32rem",
  33. },
  34. zIndex: {
  35. 1: "1",
  36. 2: "2",
  37. 20: "20",
  38. 100: "100",
  39. 1000: "1000",
  40. 2000: "2000",
  41. },
  42. gridTemplateRows: {
  43. 7: "repeat(7, minmax(0, 1fr))",
  44. },
  45. },
  46. },
  47. plugins: [require("tailwindcss-animate")],
  48. };