tailwind.config.full.js 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. module.exports = {
  2. content: ["./template/**/*.html"],
  3. safelist: [
  4. {
  5. pattern: /.*/
  6. }
  7. ],
  8. darkMode: 'class', // false or 'media' or 'class'
  9. theme: {
  10. fontFamily: {
  11. 'inter': ['ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', '"Noto Sans"', 'sans-serif', '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"', '"Noto Color Emoji"'],
  12. },
  13. extend: {
  14. width: {
  15. '21': '5.25rem',
  16. '46': '11.5rem',
  17. '50': '12.5rem',
  18. '112': '28rem',
  19. '128': '32rem',
  20. '144': '36rem',
  21. '1/10': '10%',
  22. '2/10': '20%',
  23. '3/10': '30%',
  24. '4/10': '40%',
  25. '5/10': '50%',
  26. '6/10': '60%',
  27. '7/10': '70%',
  28. '8/10': '80%',
  29. '9/10': '90%'
  30. },
  31. minWidth: {
  32. 4: '1rem',
  33. 6: '1.5rem',
  34. 48: '12rem',
  35. 88: '22rem'
  36. },
  37. maxWidth: {
  38. 32: '8rem',
  39. },
  40. height: {
  41. 46: '11.5rem',
  42. 50: '12.5rem',
  43. 112: '28rem',
  44. 128: '32rem',
  45. 144: '36rem'
  46. },
  47. maxHeight: {
  48. 128: '32rem',
  49. },
  50. lineHeight: {
  51. 11: '2.75rem',
  52. 12: '3rem',
  53. 13: '3.25rem',
  54. 14: '3.5rem',
  55. 15: '3.75rem',
  56. 16: '4rem',
  57. },
  58. zIndex: {
  59. 1: 1,
  60. 2: 2,
  61. 3: 3,
  62. 4: 4,
  63. 5: 5,
  64. },
  65. flex: {
  66. 2: '2 2 0%',
  67. },
  68. translate: {
  69. '5/4': '125%',
  70. },
  71. animation: {
  72. goo: "goo 8s infinite",
  73. },
  74. aspectRatio: {
  75. auto: 'auto',
  76. square: '1 / 1',
  77. video: '16 / 9',
  78. 1: '1',
  79. 2: '2',
  80. 3: '3',
  81. 4: '4',
  82. 5: '5',
  83. 6: '6',
  84. 7: '7',
  85. 8: '8',
  86. 9: '9',
  87. 10: '10',
  88. 11: '11',
  89. 12: '12',
  90. 13: '13',
  91. 14: '14',
  92. 15: '15',
  93. 16: '16',
  94. },
  95. keyframes: {
  96. goo: {
  97. "0%": {
  98. transform: "translate(0px, 0px) scale(1)",
  99. },
  100. "33%": {
  101. transform: "translate(30px, -50px) scale(1.2)",
  102. },
  103. "66%": {
  104. transform: "translate(-20px, 20px) scale(0.8)",
  105. },
  106. "100%": {
  107. transform: "translate(0px, 0px) scale(1)",
  108. },
  109. },
  110. },
  111. },
  112. },
  113. variants: {
  114. aspectRatio: ['responsive', 'hover']
  115. },
  116. corePlugins: {
  117. aspectRatio: true,
  118. },
  119. plugins: [
  120. require('@tailwindcss/typography'),
  121. require('@tailwindcss/aspect-ratio'),
  122. require('@tailwindcss/container-queries'),
  123. ],
  124. }