tailwind.config.full.js 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. module.exports = {
  2. content: [
  3. './inc/js/*.js',
  4. './inc/js/classes/*.js',
  5. './modules/base/**/js/*.js',
  6. './modules/base/**/template/*.html',
  7. './modules/boonex/**/js/*.js',
  8. './modules/boonex/**/template/*.html',
  9. './modules/boonex/**/data/template/**/*.html',
  10. './studio/template/*.html',
  11. './studio/template/scripts/*.php',
  12. './studio/template/scripts_templ/*.php',
  13. './template/*.html',
  14. './template/scripts/*.php',
  15. './template/scripts_templ/*.php'
  16. ],
  17. safelist: [
  18. {
  19. pattern: /.*/
  20. }
  21. ],
  22. darkMode: 'class', // false or 'media' or 'class'
  23. theme: {
  24. fontFamily: {
  25. '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"'],
  26. },
  27. extend: {
  28. width: {
  29. '21': '5.25rem',
  30. '46': '11.5rem',
  31. '50': '12.5rem',
  32. '112': '28rem',
  33. '128': '32rem',
  34. '144': '36rem',
  35. '1/10': '10%',
  36. '2/10': '20%',
  37. '3/10': '30%',
  38. '4/10': '40%',
  39. '5/10': '50%',
  40. '6/10': '60%',
  41. '7/10': '70%',
  42. '8/10': '80%',
  43. '9/10': '90%'
  44. },
  45. minWidth: {
  46. 4: '1rem',
  47. 6: '1.5rem',
  48. 48: '12rem',
  49. 88: '22rem'
  50. },
  51. maxWidth: {
  52. 32: '8rem',
  53. },
  54. height: {
  55. 46: '11.5rem',
  56. 50: '12.5rem',
  57. 112: '28rem',
  58. 128: '32rem',
  59. 144: '36rem'
  60. },
  61. maxHeight: {
  62. 128: '32rem',
  63. },
  64. lineHeight: {
  65. 11: '2.75rem',
  66. 12: '3rem',
  67. 13: '3.25rem',
  68. 14: '3.5rem',
  69. 15: '3.75rem',
  70. 16: '4rem',
  71. },
  72. zIndex: {
  73. 1: 1,
  74. 2: 2,
  75. 3: 3,
  76. 4: 4,
  77. 5: 5,
  78. },
  79. flex: {
  80. 2: '2 2 0%',
  81. },
  82. translate: {
  83. '5/4': '125%',
  84. },
  85. animation: {
  86. goo: "goo 8s infinite",
  87. },
  88. aspectRatio: {
  89. auto: 'auto',
  90. square: '1 / 1',
  91. video: '16 / 9',
  92. portrait: '9 / 16',
  93. 1: '1',
  94. 2: '2',
  95. 3: '3',
  96. 4: '4',
  97. 5: '5',
  98. 6: '6',
  99. 7: '7',
  100. 8: '8',
  101. 9: '9',
  102. 10: '10',
  103. 11: '11',
  104. 12: '12',
  105. 13: '13',
  106. 14: '14',
  107. 15: '15',
  108. 16: '16',
  109. },
  110. keyframes: {
  111. goo: {
  112. "0%": {
  113. transform: "translate(0px, 0px) scale(1)",
  114. },
  115. "33%": {
  116. transform: "translate(30px, -50px) scale(1.2)",
  117. },
  118. "66%": {
  119. transform: "translate(-20px, 20px) scale(0.8)",
  120. },
  121. "100%": {
  122. transform: "translate(0px, 0px) scale(1)",
  123. },
  124. },
  125. },
  126. },
  127. },
  128. variants: {
  129. aspectRatio: ['responsive', 'hover']
  130. },
  131. corePlugins: {
  132. aspectRatio: true,
  133. },
  134. plugins: [
  135. require('@tailwindcss/typography'),
  136. require('@tailwindcss/aspect-ratio'),
  137. require('@tailwindcss/container-queries'),
  138. ],
  139. }