vkashti / tailwind.config.js
tailwind.config.js
Raw
const { fontFamily } = require('tailwindcss/defaultTheme');

/** @type {import('tailwindcss').Config} */
module.exports = {
  content: [
    'app/**/*.{ts,tsx}',
    'components/**/*.{ts,tsx}',
    'pages/**/*.{ts,tsx}'
  ],
  theme: {
    container: {
      center: true,
      padding: '2rem',
      screens: {
        '2xl': '1400px'
      }
    },
    extend: {
      colors: {
        orange: {
          500: '#ea580c', // Original orange-500
          800: '#9a3412', // Darker orange for better contrast on hover
        },
        gray: {
          500: '#6b7280', // Original gray-500
          700: '#374151', // Darker gray for better text contrast
          800: '#1f2937', // Even darker gray for better text contrast
        },
        error: {
          DEFAULT: '#b91c1c', // Darker red for better contrast
        }
      },
      fontFamily: {
        sans: ['var(--font-sans)', ...fontFamily.sans]
      },
      keyframes: {
        'accordion-down': {
          from: { height: 0 },
          to: { height: 'var(--radix-accordion-content-height)' }
        },
        'accordion-up': {
          from: { height: 'var(--radix-accordion-content-height)' },
          to: { height: 0 }
        }
      },
      animation: {
        'accordion-down': 'accordion-down 0.2s ease-out',
        'accordion-up': 'accordion-up 0.2s ease-out'
      }
    }
  },
  plugins: [require('tailwindcss-animate'), require('daisyui')],
  daisyui: {
    themes: [
      {
        customTheme: {
          primary: '#fbbf24', // Yellow-400 for primary buttons
          "primary-focus": '#d97706', // Yellow-600 for focus/hover
          "primary-content": '#000000', // Black text on primary button for better contrast
          neutral: '#000000', // Use black for outline border color
          "neutral-content": '#000000', // Black for outline text
          warning: '#fbbf24', // Use same yellow as primary
          "warning-focus": '#d97706', // Use same darker yellow as primary-focus
          "warning-content": '#000000', // Black text on warning button
          "base-content": '#000000', // Black text color for better contrast
        }
      }
    ],
    darkTheme: false,
  }
};