tailwind.config.ts 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. import type { Config } from "tailwindcss";
  2. const config: Config = {
  3. darkMode: ["selector", "class"],
  4. content: [
  5. "./src/**/*.{ts,tsx}",
  6. "./pages/**/*.{js,ts,jsx,tsx,mdx}",
  7. "./components/**/*.{js,ts,jsx,tsx,mdx}",
  8. "./app/**/*.{js,ts,jsx,tsx,mdx}",
  9. ],
  10. theme: {
  11. container: {
  12. center: true,
  13. padding: "1rem",
  14. },
  15. screens: {
  16. sm: "640px",
  17. md: "768px",
  18. lg: "1024px",
  19. xl: "1280px",
  20. "2xl": "1472px",
  21. },
  22. fontFamily: {
  23. sans: ["var(--font-sans)"],
  24. "permanent-marker": ["var(--font-permanent-marker)"],
  25. },
  26. extend: {
  27. fontWeight: {
  28. thin: "100",
  29. extralight: "200",
  30. light: "300",
  31. normal: "400",
  32. medium: "500",
  33. semibold: "600",
  34. bold: "700",
  35. extrabold: "800",
  36. black: "900",
  37. },
  38. fontSize: {
  39. "1sm": "0.80rem",
  40. },
  41. colors: {
  42. popover: {
  43. DEFAULT: "#FFF",
  44. dark: "#232324",
  45. foreground: "#000",
  46. },
  47. transparent: "transparent",
  48. current: "currentColor",
  49. white: "#FFFFFF",
  50. black: {
  51. DEFAULT: "#171718",
  52. dark: "#232324",
  53. },
  54. primary: "#238BE6",
  55. green: {
  56. "100": "#DCFCE7",
  57. "200": "#D9F9EB",
  58. "300": "#BDF4E0",
  59. "400": "#93E6C2",
  60. "500": "#50C890",
  61. "600": "#339E6E",
  62. "700": "#227C54",
  63. "800": "#1C6444",
  64. DEFAULT: "#22C55E",
  65. },
  66. gray: {
  67. "100": "#FAFBFC",
  68. "200": "#F9FAFB",
  69. "300": "#F1F3F5",
  70. "400": "#E5E8EB",
  71. "500": "#B9BEC6",
  72. "600": "#9CA3AF",
  73. "700": "#6B7280",
  74. DEFAULT: "#525866",
  75. },
  76. orange: {
  77. "100": "#FEF3C7",
  78. "200": "#fdc88a",
  79. "300": "#FFA270",
  80. "400": "#FF6F37",
  81. "500": "#FF5722",
  82. "600": "#E64A19",
  83. "700": "#D84315",
  84. "800": "#9E1A0E",
  85. "900": "#450805",
  86. DEFAULT: "#FF5722",
  87. },
  88. amber: {
  89. "100": "#FEF3C7",
  90. "200": "#FDE68A",
  91. "300": "#FCD34D",
  92. "400": "#FBBF24",
  93. "500": "#F59E0B",
  94. "600": "#D97706",
  95. "700": "#B45309",
  96. "800": "#92400E",
  97. "900": "#7A3207",
  98. DEFAULT: "#F59E0B",
  99. },
  100. danger: {
  101. DEFAULT: "#EF4444",
  102. light: "#FEE2E2",
  103. },
  104. success: {
  105. DEFAULT: "#22C55E",
  106. light: "#DCFCE7",
  107. },
  108. warning: "#EAB308",
  109. "light-theme": "#F4F7FF",
  110. "light-orange": "#FFEDD5",
  111. "light-blue": "#E0F2FE",
  112. "light-purple": "#F3E8FF",
  113. },
  114. boxShadow: {
  115. "3xl": "0 1px 2px 0 rgba(95,74,46,0.08), 0 0 0 1px rgba(227,225,222,0.4)",
  116. sm: "0 1px 2px 0 rgba(113,116,152,0.1)",
  117. },
  118. keyframes: {
  119. shine: {
  120. "0%": {
  121. "background-position": "0% 0%",
  122. },
  123. "50%": {
  124. "background-position": "100% 100%",
  125. },
  126. to: {
  127. "background-position": "0% 0%",
  128. },
  129. },
  130. breath: {
  131. "0%, 100%": {
  132. transform: "scale(0.95)",
  133. opacity: "0.3",
  134. },
  135. "50%": {
  136. transform: "scale(1.15)",
  137. opacity: "1",
  138. },
  139. },
  140. "accordion-down": {
  141. from: {
  142. height: "0",
  143. },
  144. to: {
  145. height: "var(--radix-accordion-content-height)",
  146. },
  147. },
  148. "accordion-up": {
  149. from: {
  150. height: "var(--radix-accordion-content-height)",
  151. },
  152. to: {
  153. height: "0",
  154. },
  155. },
  156. "caret-blink": {
  157. "0%,70%,100%": {
  158. opacity: "1",
  159. },
  160. "20%,50%": {
  161. opacity: "0",
  162. },
  163. },
  164. },
  165. animation: {
  166. shine: "shine var(--duration) infinite linear",
  167. "accordion-down": "accordion-down 0.3s ease-out",
  168. "accordion-up": "accordion-up 0.3s ease-out",
  169. "caret-blink": "caret-blink 1.25s ease-out infinite",
  170. },
  171. },
  172. },
  173. plugins: [require("tailwindcss-animate"), require("@tailwindcss/typography"), require("daisyui")],
  174. };
  175. export default config;