tailwind.config.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. const colors = require('tailwindcss/colors');
  2. module.exports = {
  3. purge: {
  4. enabled: process.env.NODE_ENV === 'production',
  5. content: ['./layouts/**/*.html', './content/integration/**/*.md', './content/case-study/**/*.md'],
  6. },
  7. darkMode: false, // or 'media' or 'class'
  8. theme: {
  9. extend: {
  10. minHeight: {
  11. '25': '25vh',
  12. '50': '50vh',
  13. '70': '70vh',
  14. }
  15. },
  16. colors: {
  17. transparent: 'transparent',
  18. current: 'currentColor',
  19. brand: '#17C1FF',
  20. black: colors.black,
  21. white: colors.white,
  22. gray: colors.trueGray,
  23. blue: colors.cyan,
  24. indigo: colors.indigo,
  25. red: colors.rose,
  26. green: colors.green,
  27. yellow: colors.amber,
  28. },
  29. fontFamily: {
  30. 'sans': ['"Inter"', 'sans-serif'],
  31. 'display': ['"Lexend Deca"', 'sans-serif'],
  32. 'wordmark': ['"Didact Gothic"', 'sans-serif'],
  33. },
  34. },
  35. variants: {
  36. extend: {
  37. grayscale: ['group-hover']
  38. },
  39. },
  40. plugins: [
  41. require('@tailwindcss/forms'),
  42. require('@tailwindcss/typography'),
  43. require('@tailwindcss/aspect-ratio'),
  44. ],
  45. }