You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.2 KiB

  1. import type { Config } from "tailwindcss";
  2. export default {
  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. keyframes: {
  11. shimmer: {
  12. '0%': { backgroundPosition: '-200% 0' },
  13. '100%': { backgroundPosition: '200% 0' },
  14. },
  15. },
  16. animation: {
  17. shimmer: 'shimmer 1.5s infinite linear', // Add shimmer animation here
  18. },
  19. boxShadow: {
  20. 'header': '2px -10px 129px 35px #F4846F',
  21. 'inner-header': '2px -20px 15px 30px rgba(244,132,111,1);',
  22. },
  23. fontFamily: {
  24. Calibri: ["Calibri"],
  25. },
  26. colors: {
  27. background: "var(--background)",
  28. foreground: "var(--foreground)",
  29. },
  30. },
  31. },
  32. plugins: [
  33. function ({ addUtilities }) {
  34. addUtilities(
  35. {
  36. '.text-rendering-optimize-speed': {
  37. 'text-rendering': 'optimizeSpeed',
  38. },
  39. '.no-ligatures': {
  40. 'font-variant-ligatures': 'none', // Add this utility
  41. },
  42. },
  43. ['responsive', 'hover'] // Ensure this utility is available for responsive and hover variants
  44. );
  45. },
  46. ],
  47. } satisfies Config;