You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tailwind.config.js 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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' : ['56px', {
  11. letterSpacing: '1px',
  12. lineHeight: '74px',
  13. }],
  14. 'subhead' : ['12px', {
  15. letterSpacing: '28px',
  16. lineHeight: 'normal',
  17. }],
  18. 'head-mobile' : ['30px', {
  19. letterSpacing: '1px',
  20. lineHeight: 'normal',
  21. }],
  22. 'title' : ['30px', {
  23. letterSpacing: '1px',
  24. lineHeight: '40px',
  25. }],
  26. 'title-24' : ['24px', {
  27. letterSpacing: '1px',
  28. lineHeight: 'normal',
  29. }],
  30. 'p' : ['16px', {
  31. letterSpacing: '0px',
  32. lineHeight: '28px',
  33. }],
  34. 'p-italic': ['16px', {
  35. letterSpacing: 'opx',
  36. lineHeight: '22px'
  37. }],
  38. 'btn' : ['16px', {
  39. letterSpacing: '0px',
  40. lineHeight: '16px',
  41. }],
  42. 'input-label' : ['14px', {
  43. letterSpacing: '0px',
  44. lineHeight: 'normal',
  45. }],
  46. 'p-mobile' : ['14px', {
  47. letterSpacing: '0px',
  48. lineHeight: 'normal',
  49. }],
  50. 'title-mobile' : ['24px', {
  51. letterSpacing: '0px',
  52. lineHeight: '40px',
  53. }],
  54. 'italic-p-mobile' : ['14px', {
  55. letterSpacing: '0px',
  56. lineHeight: 'normal',
  57. }],
  58. 'italic-title': ['30px', {
  59. letterSpacing: '1px',
  60. lineHeight: 'normal'
  61. }],
  62. 'italic-title-mobile' : ['18px', {
  63. letterSpacing: '0px',
  64. lineHeight: '28px',
  65. }],
  66. 'input-label-mobile' : ['12px', {
  67. letterSpacing: '0px',
  68. lineHeight: 'normal',
  69. }],
  70. 'display-numb' : ['56px', {
  71. letterSpacing: '2px',
  72. lineHeight: 'normal'
  73. }],
  74. 'subtitle-48' : ['48px', {
  75. letterSpacing: '0px',
  76. lineHeight: 'normal'
  77. }],
  78. //
  79. 'n-head' : ['54.00px', {
  80. letterSpacing: '-0.6%',
  81. lineHeight: '125%',
  82. }],
  83. 'n-subhead' : ['16px', {
  84. letterSpacing: '1.5px',
  85. lineHeight: '24px',
  86. }],
  87. 'n-head-mobile' : ['24px', {
  88. letterSpacing: '-0.6%',
  89. lineHeight: '32px',
  90. }],
  91. 'n-subhead-mobile' : ['10.5px', {
  92. letterSpacing: '1.5px',
  93. lineHeight: '28px',
  94. }],
  95. 'n-paragraph' : ['16px', {
  96. letterSpacing: '0%',
  97. lineHeight: '28px',
  98. }],
  99. 'n-paragraph-mobile' : ['14px', {
  100. letterSpacing: '0%',
  101. lineHeight: '24px',
  102. }],
  103. 'n-h3-heading' : ['24px', {
  104. letterSpacing: '-0.6%',
  105. lineHeight: '32px',
  106. }],
  107. 'n-h3-heading-mobile' : ['18.66px', {
  108. letterSpacing: '0%',
  109. lineHeight: '24px',
  110. }],
  111. 'n-paragraph-title-mobile' : ['14px', {
  112. letterSpacing: '0%',
  113. lineHeight: '24px',
  114. }],
  115. 'n-paragraph-title' : ['18px', {
  116. letterSpacing: '0%',
  117. lineHeight: 'normal',
  118. }],
  119. },
  120. minHeight: {
  121. '12': '3rem',
  122. },
  123. maxWidth: {
  124. '780p':'780px',
  125. 'wrapper': '1150px',
  126. 'custom': '1150px',
  127. 'dropzone': '110px',
  128. },
  129. transitionDuration: {
  130. DEFAULT: '300ms',
  131. },
  132. extend: {
  133. colors: {
  134. transparent: 'transparent',
  135. current: 'currentColor',
  136. white: '#ffffff',
  137. 'baby-blue': '#f0f3f9',
  138. 'dg-primary': {
  139. 50: '#f4e9f4',
  140. 100: '#e9d4e9',
  141. 200: '#debedd',
  142. 300: '#d3a9d2',
  143. 400: '#c893c7',
  144. 500: '#bc7dbc',
  145. 600: '#b168b1',
  146. 700: '#a652a5',
  147. 800: '#9b3d9a',
  148. 900: '#90278f' /* Default */,
  149. 1000: '#822381',
  150. 1100: '#731f72',
  151. 1200: '#651b64',
  152. 1300: '#561756',
  153. 1400: '#481448',
  154. 1500: '#3a1039',
  155. 1600: '#2b0c2b',
  156. 1700: '#1d081d',
  157. 1800: '#0e040e',
  158. },
  159. 'dg-secondary': '#8468bf',
  160. 'dark-gray': '#353535',
  161. black: '#000000',
  162. },
  163. spacing: {
  164. '2p': "2px",
  165. '4p':'4px',
  166. '8p': '8px',
  167. '12p':'12px',
  168. '16p': '16px',
  169. '20p':'20px',
  170. '32p':'32px',
  171. '48p':'48px',
  172. '64p':'64px',
  173. '72p':'72px',
  174. '90p':'90px',
  175. '140p':'140px',
  176. '164p': '164px',
  177. '200p': '200px',
  178. '240p':'240px'
  179. },
  180. borderRadius: {
  181. '8': '8px',
  182. '16': '16px',
  183. '32' : '32px'
  184. }
  185. },
  186. },
  187. plugins: [
  188. // eslint-disable-next-line no-undef
  189. require('@tailwindcss/forms'),
  190. ],
  191. };