Advertisement
TomaszKula

tailwind.config.ts

Oct 19th, 2023
6
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. /** @type {import('tailwindcss').Config} */
  2. module.exports = {
  3. darkMode: ["class"],
  4. content: [
  5. "./pages/**/*.{ts,tsx}",
  6. "./components/**/*.{ts,tsx}",
  7. "./app/**/*.{ts,tsx}",
  8. "./src/**/*.{ts,tsx}",
  9. ],
  10. theme: {
  11. container: {
  12. center: true,
  13. padding: "2rem",
  14. screens: {
  15. "2xl": "1400px",
  16. },
  17. },
  18. extend: {
  19. colors: {
  20. primary: {
  21. 500: "#FF7000",
  22. 100: "#FFF1E6",
  23. },
  24. dark: {
  25. 100: "#000000",
  26. 200: "#0F1117",
  27. 300: "#151821",
  28. 400: "#212734",
  29. 500: "#101012",
  30. },
  31. light: {
  32. 900: "#FFFFFF",
  33. 800: "#F4F6F8",
  34. 850: "#FDFDFD",
  35. 700: "#DCE3F1",
  36. 500: "#7B8EC8",
  37. 400: "#858EAD",
  38. },
  39. "accent-blue": "#1DA1F2",
  40. },
  41. fontFamily: {
  42. inter: ["var(--font-inter)"],
  43. spaceGrotesk: ["var(--font-spaceGrotesk)"],
  44. },
  45. boxShadow: {
  46. "light-100":
  47. "0px 12px 20px 0px rgba(184, 184, 184, 0.03), 0px 6px 12px 0px rgba(184, 184, 184, 0.02), 0px 2px 4px 0px rgba(184, 184, 184, 0.03)",
  48. "light-200": "10px 10px 20px 0px rgba(218, 213, 213, 0.10)",
  49. "light-300": "-10px 10px 20px 0px rgba(218, 213, 213, 0.10)",
  50. "dark-100": "0px 2px 10px 0px rgba(46, 52, 56, 0.10)",
  51. "dark-200": "2px 0px 20px 0px rgba(39, 36, 36, 0.04)",
  52. },
  53. backgroundImage: {
  54. "auth-dark": "url('/assets/images/auth-dark.png')",
  55. "auth-light": "url('/assets/images/auth-light.png')",
  56. },
  57. screens: {
  58. xs: "420px",
  59. },
  60. keyframes: {
  61. "accordion-down": {
  62. from: { height: 0 },
  63. to: { height: "var(--radix-accordion-content-height)" },
  64. },
  65. "accordion-up": {
  66. from: { height: "var(--radix-accordion-content-height)" },
  67. to: { height: 0 },
  68. },
  69. },
  70. animation: {
  71. "accordion-down": "accordion-down 0.2s ease-out",
  72. "accordion-up": "accordion-up 0.2s ease-out",
  73. },
  74. },
  75. },
  76. plugins: [require("tailwindcss-animate"), require("@tailwindcss/typography")],
  77. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement