tailwind.config.full.js 3.4 KB

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