This is just a technology testing project based on Create React App and TailwindCSS
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.

108 lines
2.5KB

  1. const colors = require('tailwindcss/colors')
  2. module.exports = {
  3. purge: {
  4. content: [
  5. './src/**/*.jsx',
  6. ]
  7. },
  8. darkMode: false, // or 'media' or 'class'
  9. theme: {
  10. extend: {
  11. colors: {
  12. primary: {
  13. 100: "#e2e2f4",
  14. 200: "#c4c5e8",
  15. 300: "#a7a9dd",
  16. 400: "#898cd1",
  17. 500: "#6c6fc6",
  18. 600: "#4f52ba",
  19. 700: "#3f42a2",
  20. 800: "#333684",
  21. 900: "#282b67",
  22. },
  23. secondary: {
  24. 100: "#eceaac",
  25. 200: "#e5e28b",
  26. 300: "#ddd969",
  27. 400: "#d5d148",
  28. 500: "#c8c22d",
  29. 600: "#a6a226",
  30. 700: "#85821e",
  31. 800: "#646117",
  32. 900: "#43410f",
  33. },
  34. gray: colors.blueGray,
  35. },
  36. fontFamily: {
  37. gilroy: ['"Gilroy"'],
  38. },
  39. scale: {
  40. '0': '0',
  41. '50': '.5',
  42. '75': '.75',
  43. '90': '.9',
  44. '95': '.95',
  45. '98': '.98',
  46. '100': '1',
  47. '102': '1.02',
  48. '105': '1.05',
  49. '110': '1.1',
  50. '125': '1.25',
  51. '150': '1.5',
  52. },
  53. maxHeight: {
  54. 'screen-5': '5vh',
  55. 'screen-10': '10vh',
  56. 'screen-15': '15vh',
  57. 'screen-20': '20vh',
  58. 'screen-25': '25vh',
  59. 'screen-33': '33vh',
  60. 'screen-50': '50vh',
  61. 'screen-66': '66vh',
  62. 'screen-75': '75vh',
  63. 'screen-80': '80vh',
  64. 'screen-85': '85vh',
  65. 'screen-90': '90vh',
  66. 'screen-95': '95vh',
  67. },
  68. minHeight: {
  69. 'screen-5': '5vh',
  70. 'screen-10': '10vh',
  71. 'screen-15': '15vh',
  72. 'screen-20': '20vh',
  73. 'screen-25': '25vh',
  74. 'screen-33': '33vh',
  75. 'screen-50': '50vh',
  76. 'screen-66': '66vh',
  77. 'screen-75': '75vh',
  78. 'screen-80': '80vh',
  79. },
  80. },
  81. filter: { // defaults to {}
  82. 'none': 'none',
  83. 'grayscale': 'grayscale(1)',
  84. 'invert': 'invert(1)',
  85. 'sepia': 'sepia(1)',
  86. },
  87. backdropFilter: { // defaults to {}
  88. 'none': 'none',
  89. 'blur': 'blur(20px)',
  90. },
  91. },
  92. variants: {
  93. extend: {
  94. backgroundColor: ['active', 'disabled'],
  95. boxShadow: ['active', 'disabled'],
  96. fontWeight: ['hover', 'focus'],
  97. opacity: ['disabled'],
  98. filter: ['responsive'], // defaults to ['responsive']
  99. backdropFilter: ['responsive'], // defaults to ['responsive']
  100. },
  101. },
  102. plugins: [
  103. require('@tailwindcss/forms'),
  104. require('tailwindcss-filters'),
  105. ],
  106. }