chore: update delete confirmation modals to use danger button color (#6589)

* refactor: remove size prop from Button components for consistency across modals and improve styling

* style: update confirm button colors in modal components for consistency
This commit is contained in:
Sanjai Kumar
2025-12-31 18:13:33 +05:30
committed by GitHub
parent ce9773b7c9
commit 71413b9154
13 changed files with 33 additions and 33 deletions

View File

@@ -195,6 +195,7 @@ const CollectionsList = ({ workspace }) => {
handleConfirm={confirmRemoveCollection}
confirmText={isDelete ? 'Delete' : 'Remove'}
cancelText="Cancel"
confirmButtonColor={isDelete ? 'warning' : 'primary'}
style="new"
>
<p className="text-gray-600 dark:text-gray-300">