1
0

tailwind.config.js 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /** @type {import('tailwindcss').Config} */
  2. export default {
  3. darkMode: 'class',
  4. content: [
  5. './index.html',
  6. './src/**/*.{js,ts,jsx,tsx}',
  7. ],
  8. theme: {
  9. extend: {
  10. fontFamily: {
  11. sans: ['Plus Jakarta Sans', 'Noto Sans', 'sans-serif'],
  12. },
  13. colors: {
  14. border: 'hsl(var(--border))',
  15. input: 'hsl(var(--input))',
  16. ring: 'hsl(var(--ring))',
  17. background: 'hsl(var(--background))',
  18. foreground: 'hsl(var(--foreground))',
  19. primary: {
  20. DEFAULT: 'hsl(var(--primary))',
  21. foreground: 'hsl(var(--primary-foreground))',
  22. },
  23. secondary: {
  24. DEFAULT: 'hsl(var(--secondary))',
  25. foreground: 'hsl(var(--secondary-foreground))',
  26. },
  27. destructive: {
  28. DEFAULT: 'hsl(var(--destructive))',
  29. foreground: 'hsl(var(--destructive-foreground))',
  30. },
  31. muted: {
  32. DEFAULT: 'hsl(var(--muted))',
  33. foreground: 'hsl(var(--muted-foreground))',
  34. },
  35. accent: {
  36. DEFAULT: 'hsl(var(--accent))',
  37. foreground: 'hsl(var(--accent-foreground))',
  38. },
  39. popover: {
  40. DEFAULT: 'hsl(var(--popover))',
  41. foreground: 'hsl(var(--popover-foreground))',
  42. },
  43. card: {
  44. DEFAULT: 'hsl(var(--card))',
  45. foreground: 'hsl(var(--card-foreground))',
  46. },
  47. },
  48. borderRadius: {
  49. lg: 'var(--radius)',
  50. md: 'calc(var(--radius) - 2px)',
  51. sm: 'calc(var(--radius) - 4px)',
  52. },
  53. },
  54. },
  55. plugins: [require('tailwindcss-animate')],
  56. }