Revert "Major UI improvements"

This reverts commit 6e52114172.
This commit is contained in:
Stijnus
2025-01-28 10:28:45 +01:00
parent 6e52114172
commit 0db9ce2717
45 changed files with 3317 additions and 4287 deletions

View File

@@ -17,11 +17,10 @@ interface DialogButtonProps {
export const DialogButton = memo(({ type, children, onClick, disabled }: DialogButtonProps) => {
return (
<button
className={classNames('inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm transition-colors', {
'bg-purple-500 text-white hover:bg-purple-600 dark:bg-purple-500 dark:hover:bg-purple-600': type === 'primary',
'bg-transparent text-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 hover:text-gray-900 dark:hover:text-gray-100':
type === 'secondary',
'bg-transparent text-red-500 dark:text-red-400 hover:bg-red-50 dark:hover:bg-red-500/10': type === 'danger',
className={classNames('inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm', {
'bg-purple-500 text-white hover:bg-purple-600': type === 'primary',
'text-bolt-elements-textSecondary hover:text-bolt-elements-textPrimary': type === 'secondary',
'text-red-500 hover:bg-red-50 dark:hover:bg-red-500/10': type === 'danger',
})}
onClick={onClick}
disabled={disabled}