This is just a technology testing project based on Create React App and TailwindCSS
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

tailwind.config.js 2.5KB

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