tailwind.config.js 789 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. const defaultTheme = require('tailwindcss/defaultTheme');
  2. module.exports = {
  3. purge: {
  4. content: [
  5. '../../public/*.html',
  6. '../../public/**/*.html',
  7. ],
  8. safelist: [
  9. '.modal-overlay',
  10. '.modal',
  11. '.modal-header',
  12. '.modal-title',
  13. '.modal-closer',
  14. '.modal-body',
  15. 'closed',
  16. ]
  17. },
  18. darkMode: false, // or 'media' or 'class'
  19. theme: {
  20. flex: {
  21. '1': '1 1 0%',
  22. auto: '1 1 auto',
  23. initial: '0 1 auto',
  24. none: 'none',
  25. '1-1/4': '1 1 25%',
  26. '1-1/3': '1 1 33.3333333%',
  27. '1-1/2': '1 1 50%',
  28. },
  29. screens: {
  30. 'xs': '400px',
  31. ...defaultTheme.screens,
  32. },
  33. },
  34. variants: {
  35. extend: {
  36. fontSize: ["hover"],
  37. lineHeight: ["hover"]
  38. },
  39. },
  40. plugins: [],
  41. }