tailwind.config.js 773 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* eslint-disable no-undef */
  2. /** @type {import('tailwindcss').Config} */
  3. module.exports = {
  4. content: ["./index.html", "./src/**/*.{js,ts,tsx}"],
  5. darkMode: "class",
  6. theme: {
  7. fontSize: {
  8. xs: ".75rem",
  9. sm: ".875rem",
  10. base: "1rem",
  11. lg: "1.125rem",
  12. xl: "1.25rem",
  13. "2xl": "1.5rem",
  14. "3xl": "1.875rem",
  15. "4xl": "2.25rem",
  16. "5xl": "2.5rem",
  17. "6xl": "3rem",
  18. },
  19. extend: {
  20. spacing: {
  21. 112: "28rem",
  22. 128: "32rem",
  23. 180: "45rem",
  24. },
  25. zIndex: {
  26. 1: "1",
  27. 2: "2",
  28. 20: "20",
  29. 100: "100",
  30. 1000: "1000",
  31. 2000: "2000",
  32. },
  33. gridTemplateRows: {
  34. 7: "repeat(7, minmax(0, 1fr))",
  35. },
  36. },
  37. },
  38. plugins: [],
  39. };