tailwind.config.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. lighter: "#14b8a6", // Teal 500
  15. },
  16. success: {
  17. DEFAULT: "#16a34a", // Green 600
  18. dark: "#047857", // Green 700
  19. darker: "#03664a", // Green 800
  20. },
  21. danger: {
  22. DEFAULT: "#dc2626", // Red 600
  23. dark: "#b91c1c", // Red 700
  24. darker: "#991b1b", // Red 800
  25. },
  26. warning: {
  27. DEFAULT: "#ca8a04", // Yellow 600
  28. dark: "#b45309", // Yellow 700
  29. darker: "#92400e", // Yellow 800
  30. },
  31. },
  32. spacing: {
  33. 128: "32rem",
  34. },
  35. zIndex: {
  36. 1: "1",
  37. 2: "2",
  38. 20: "20",
  39. 100: "100",
  40. 1000: "1000",
  41. 2000: "2000",
  42. },
  43. gridTemplateRows: {
  44. 7: "repeat(7, minmax(0, 1fr))",
  45. },
  46. },
  47. },
  48. plugins: [require("tailwindcss-animate")],
  49. };