1
0

tailwind.config.js 1.6 KB

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