import { LoaderCircle } from 'lucide-react'; import { ButtonHTMLAttributes } from 'react'; import { useBrand } from '@/contexts/BrandContext'; import { THEME_COLORS } from '@/hooks/use-appearance'; interface AuthButtonProps extends ButtonHTMLAttributes { processing?: boolean; tabIndex?: number; children: React.ReactNode; } export default function AuthButton({ processing = false, tabIndex, children, className = '', disabled, ...props }: AuthButtonProps) { const { themeColor, customColor } = useBrand(); const primaryColor = themeColor === 'custom' ? customColor : THEME_COLORS[themeColor as keyof typeof THEME_COLORS]; return ( ); }