Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

tailwind.config.js 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. module.exports = {
  2. content: ['./src/**/*.{js,jsx,ts,tsx}'],
  3. darkMode: 'class',
  4. theme: {
  5. fontFamily: {
  6. primary: ['"Abril Fatface"', 'serif'],
  7. secondary: ['"Poppins"', 'sans-serif'],
  8. },
  9. fontSize: {
  10. head: [
  11. '56px',
  12. {
  13. letterSpacing: '1px',
  14. lineHeight: '74px',
  15. },
  16. ],
  17. subhead: [
  18. '12px',
  19. {
  20. letterSpacing: '28px',
  21. lineHeight: 'normal',
  22. },
  23. ],
  24. 'head-mobile': [
  25. '30px',
  26. {
  27. letterSpacing: '1px',
  28. lineHeight: 'normal',
  29. },
  30. ],
  31. title: [
  32. '30px',
  33. {
  34. letterSpacing: '1px',
  35. lineHeight: '40px',
  36. },
  37. ],
  38. 'title-24': [
  39. '24px',
  40. {
  41. letterSpacing: '1px',
  42. lineHeight: 'normal',
  43. },
  44. ],
  45. p: [
  46. '16px',
  47. {
  48. letterSpacing: '0px',
  49. lineHeight: '28px',
  50. },
  51. ],
  52. 'p-italic': [
  53. '16px',
  54. {
  55. letterSpacing: 'opx',
  56. lineHeight: '22px',
  57. },
  58. ],
  59. btn: [
  60. '16px',
  61. {
  62. letterSpacing: '0px',
  63. lineHeight: '16px',
  64. },
  65. ],
  66. 'input-label': [
  67. '14px',
  68. {
  69. letterSpacing: '0px',
  70. lineHeight: 'normal',
  71. },
  72. ],
  73. 'p-mobile': [
  74. '14px',
  75. {
  76. letterSpacing: '0px',
  77. lineHeight: 'normal',
  78. },
  79. ],
  80. 'title-mobile': [
  81. '24px',
  82. {
  83. letterSpacing: '0px',
  84. lineHeight: '40px',
  85. },
  86. ],
  87. 'italic-p-mobile': [
  88. '14px',
  89. {
  90. letterSpacing: '0px',
  91. lineHeight: 'normal',
  92. },
  93. ],
  94. 'italic-title': [
  95. '30px',
  96. {
  97. letterSpacing: '1px',
  98. lineHeight: 'normal',
  99. },
  100. ],
  101. 'italic-title-mobile': [
  102. '18px',
  103. {
  104. letterSpacing: '0px',
  105. lineHeight: '28px',
  106. },
  107. ],
  108. 'input-label-mobile': [
  109. '12px',
  110. {
  111. letterSpacing: '0px',
  112. lineHeight: 'normal',
  113. },
  114. ],
  115. 'display-numb': [
  116. '56px',
  117. {
  118. letterSpacing: '2px',
  119. lineHeight: 'normal',
  120. },
  121. ],
  122. 'subtitle-48': [
  123. '48px',
  124. {
  125. letterSpacing: '0px',
  126. lineHeight: 'normal',
  127. },
  128. ],
  129. 'banner-mobile': [
  130. '18.66px',
  131. {
  132. letterSpacing: '0px',
  133. lineHeight: '24px',
  134. },
  135. ],
  136. 'banner-p': [
  137. '14px',
  138. {
  139. letterSpacing: '0px',
  140. lineHeight: '21px',
  141. },
  142. ],
  143. 'banner-p-mobile': [
  144. '12px',
  145. {
  146. letterSpacing: '0px',
  147. lineHeight: '18px',
  148. },
  149. ],
  150. },
  151. minHeight: {
  152. 12: '3rem',
  153. },
  154. maxWidth: {
  155. '780p': '780px',
  156. wrapper: '1150px',
  157. custom: '1150px',
  158. dropzone: '110px',
  159. banner: '1118px',
  160. banner_m: '309px',
  161. },
  162. transitionDuration: {
  163. DEFAULT: '300ms',
  164. },
  165. extend: {
  166. colors: {
  167. transparent: 'transparent',
  168. current: 'currentColor',
  169. white: '#ffffff',
  170. 'baby-blue': '#f0f3f9',
  171. 'dg-primary': {
  172. 50: '#f4e9f4',
  173. 75: '#fafafa',
  174. 100: '#e9d4e9',
  175. 200: '#debedd',
  176. 300: '#d3a9d2',
  177. 400: '#c893c7',
  178. 500: '#bc7dbc',
  179. 600: '#b168b1',
  180. 700: '#a652a5',
  181. 800: '#9b3d9a',
  182. 900: '#90278f' /* Default */,
  183. 1000: '#822381',
  184. 1100: '#731f72',
  185. 1200: '#651b64',
  186. 1300: '#561756',
  187. 1400: '#481448',
  188. 1500: '#3a1039',
  189. 1600: '#2b0c2b',
  190. 1700: '#1d081d',
  191. 1800: '#0e040e',
  192. },
  193. 'dg-secondary': '#8468bf',
  194. 'dark-gray': '#353535',
  195. black: '#000000',
  196. },
  197. spacing: {
  198. '2p': '2px',
  199. '4p': '4px',
  200. '8p': '8px',
  201. '12p': '12px',
  202. '15p': '15px',
  203. '16p': '16px',
  204. '20p': '20px',
  205. '32p': '32px',
  206. '42p': '42px',
  207. '48p': '48px',
  208. '64p': '64px',
  209. '72p': '72px',
  210. '90p': '90px',
  211. '140p': '140px',
  212. '164p': '164px',
  213. '200p': '200px',
  214. '240p': '240px',
  215. },
  216. borderRadius: {
  217. 8: '8px',
  218. 16: '16px',
  219. 32: '32px',
  220. },
  221. boxShadow: {
  222. custom: '0 0px 9px 9px rgba(0, 0, 0, 0.09)',
  223. },
  224. },
  225. },
  226. plugins: [
  227. // eslint-disable-next-line no-undef
  228. require('@tailwindcss/forms'),
  229. ],
  230. };