方诺官网改正版
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 

139 líneas
2.9 KiB

  1. const plugin = require("tailwindcss/plugin");
  2. module.exports = {
  3. purge: {
  4. enabled: process.env.NODE_ENV === "production",
  5. content: ["./public/**/*.html", "./src/**/*.vue"]
  6. },
  7. theme: {
  8. extend: {
  9. colors: {
  10. theme: {
  11. 1: "#1C3FAA",
  12. 2: "#F1F5F8",
  13. 3: "#2e51bb",
  14. 4: "#3151BC",
  15. 5: "#dee7ef",
  16. 6: "#D32929",
  17. 7: "#365A74",
  18. 8: "#D2DFEA",
  19. 9: "#91C714",
  20. 10: "#3160D8",
  21. 11: "#F78B00",
  22. 12: "#FBC500",
  23. 13: "#7F9EB9",
  24. 14: "#E6F3FF",
  25. 15: "#8DA9BE",
  26. 16: "#607F96",
  27. 17: "#FFEFD9",
  28. 18: "#D8F8BC",
  29. 19: "#E6F3FF",
  30. 20: "#2449AF",
  31. 21: "#284EB2",
  32. 22: "#395EC1",
  33. 23: "#D6E1FF",
  34. 24: "#2e51bb",
  35. 25: "#C6D4FD",
  36. 26: "#E8EEFF",
  37. 27: "#98AFF5",
  38. 28: "#1A389F",
  39. 29: "#142C91",
  40. 30: "#8da3e6",
  41. 31: "#ffd8d8",
  42. 32: "#3b5998",
  43. 33: "#4ab3f4",
  44. 34: "#517fa4",
  45. 35: "#0077b5",
  46. 36: "#d18d96",
  47. 37: "#c7d2ff",
  48. 38: "#15329A",
  49. 40: "#203FAD",
  50. 41: "#BBC8FD"
  51. },
  52. dark: {
  53. 1: "#293145",
  54. 2: "#232a3b",
  55. 3: "#313a55",
  56. 4: "#1e2533",
  57. 5: "#3f4865",
  58. 6: "#2b3348",
  59. 7: "#181f29"
  60. }
  61. },
  62. fontFamily: {
  63. roboto: ["Roboto"]
  64. },
  65. container: {
  66. center: true
  67. },
  68. maxWidth: {
  69. "1/4": "25%",
  70. "1/2": "50%",
  71. "3/4": "75%"
  72. },
  73. screens: {
  74. sm: "640px",
  75. md: "768px",
  76. lg: "1024px",
  77. xl: "1280px",
  78. xxl: "1600px"
  79. },
  80. strokeWidth: {
  81. "0.5": 0.5,
  82. "1.5": 1.5,
  83. "2.5": 2.5
  84. }
  85. }
  86. },
  87. variants: {
  88. zIndex: ["responsive", "hover"],
  89. position: ["responsive", "hover"],
  90. padding: ["responsive", "last"],
  91. margin: ["responsive", "last"],
  92. borderWidth: ["responsive", "last"],
  93. backgroundColor: [
  94. "last",
  95. "first",
  96. "odd",
  97. "responsive",
  98. "hover",
  99. "dark",
  100. "dark-hover"
  101. ],
  102. borderColor: [
  103. "last",
  104. "first",
  105. "odd",
  106. "responsive",
  107. "hover",
  108. "dark",
  109. "dark-hover"
  110. ],
  111. textColor: [
  112. "last",
  113. "first",
  114. "odd",
  115. "responsive",
  116. "hover",
  117. "dark",
  118. "dark-hover"
  119. ]
  120. },
  121. plugins: [
  122. plugin(function({ addVariant, e }) {
  123. addVariant("dark", ({ modifySelectors, separator }) => {
  124. modifySelectors(({ className }) => {
  125. return `.dark .${e(`dark${separator}${className}`)}`;
  126. });
  127. });
  128. addVariant("dark-hover", ({ modifySelectors, separator }) => {
  129. modifySelectors(({ className }) => {
  130. return `.dark .${e(
  131. `dark${separator}hover${separator}${className}`
  132. )}:hover`;
  133. });
  134. });
  135. })
  136. ]
  137. };