tailwind.config.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /** @type {import('tailwindcss').Config} */
  2. export default {
  3. content: [
  4. "./index.html",
  5. "./src/**/*.{js,ts,jsx,tsx}",
  6. "./*.{js,ts,jsx,tsx}",
  7. "./components/**/*.{js,ts,jsx,tsx}",
  8. "./pages/**/*.{js,ts,jsx,tsx}",
  9. "./hooks/**/*.{js,ts,jsx,tsx}",
  10. "./contexts/**/*.{js,ts,jsx,tsx}",
  11. "./utils/**/*.{js,ts,jsx,tsx}",
  12. "./icons/**/*.{js,ts,jsx,tsx}",
  13. ],
  14. theme: {
  15. extend: {
  16. screens: {
  17. 'xs': '375px',
  18. },
  19. fontFamily: {
  20. sans: ['Inter', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', 'sans-serif'],
  21. },
  22. animation: {
  23. 'wave-h': 'wave-h 2s ease-in-out infinite',
  24. 'wave-v': 'wave-v 2s ease-in-out infinite',
  25. },
  26. keyframes: {
  27. 'wave-h': {
  28. '0%, 100%': { opacity: '0.3', transform: 'translateX(-100%)' },
  29. '50%': { opacity: '1', transform: 'translateX(100%)' },
  30. },
  31. 'wave-v': {
  32. '0%, 100%': { opacity: '0.3', transform: 'translateY(-100%)' },
  33. '50%': { opacity: '1', transform: 'translateY(100%)' },
  34. },
  35. },
  36. },
  37. },
  38. plugins: [],
  39. }