2
0

tailwind.config.js 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /** @type {import('tailwindcss').Config} */
  2. module.exports = {
  3. content: [
  4. "./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
  5. "./src/components/**/*.{js,ts,jsx,tsx,mdx}",
  6. "./src/app/**/*.{js,ts,jsx,tsx,mdx}",
  7. ],
  8. theme: {
  9. extend: {
  10. backgroundImage: {
  11. "gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
  12. "gradient-conic":
  13. "conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
  14. },
  15. colors: {
  16. border: "hsl(var(--border))",
  17. input: "hsl(var(--input))",
  18. ring: "hsl(var(--ring))",
  19. background: "hsl(var(--background))",
  20. foreground: "hsl(var(--foreground))",
  21. primary: {
  22. DEFAULT: "hsl(var(--primary))",
  23. foreground: "hsl(var(--primary-foreground))",
  24. },
  25. secondary: {
  26. DEFAULT: "hsl(var(--secondary))",
  27. foreground: "hsl(var(--secondary-foreground))",
  28. },
  29. destructive: {
  30. DEFAULT: "hsl(var(--destructive))",
  31. foreground: "hsl(var(--destructive-foreground))",
  32. },
  33. muted: {
  34. DEFAULT: "hsl(var(--muted))",
  35. foreground: "hsl(var(--muted-foreground))",
  36. },
  37. accent: {
  38. DEFAULT: "hsl(var(--accent))",
  39. foreground: "hsl(var(--accent-foreground))",
  40. },
  41. popover: {
  42. DEFAULT: "hsl(var(--popover))",
  43. foreground: "hsl(var(--popover-foreground))",
  44. },
  45. card: {
  46. DEFAULT: "hsl(var(--card))",
  47. foreground: "hsl(var(--card-foreground))",
  48. },
  49. },
  50. keyframes: {
  51. "accordion-down": {
  52. from: {
  53. height: "0",
  54. },
  55. to: {
  56. height: "var(--radix-accordion-content-height)",
  57. },
  58. },
  59. "accordion-up": {
  60. from: {
  61. height: "var(--radix-accordion-content-height)",
  62. },
  63. to: {
  64. height: "0",
  65. },
  66. },
  67. },
  68. },
  69. // borderRadius: {
  70. // lg: "var(--radius)",
  71. // md: "calc(var(--radius) - 2px)",
  72. // sm: "calc(var(--radius) - 4px)",
  73. // },
  74. },
  75. plugins: [require("tailwindcss-animate")],
  76. };