refactor: update button and badge styles for improved theming and consistency

This commit is contained in:
2026-01-14 11:07:43 -06:00
parent 4cdccc0323
commit 4ccaca192d
14 changed files with 85 additions and 68 deletions

View File

@@ -419,7 +419,7 @@ Proceed with activation?`;
<DropdownMenuTrigger asChild>
<Button
disabled={exporting}
className="bg-[var(--green-light)] text-white hover:bg-[var(--green-soft)] rounded-full px-6 py-2 flex items-center gap-2"
className="btn-green py-2 flex items-center gap-2"
>
<Download className="h-4 w-4" />
{exporting ? 'Exporting...' : 'Export'}
@@ -521,9 +521,9 @@ Proceed with activation?`;
{sub.status === 'active' && hasPermission('subscriptions.cancel') && (
<Button
size="sm"
variant="outline"
variant="outline-destructive"
onClick={() => handleCancelSubscription(sub.id)}
className="flex-1 text-red-600 hover:bg-red-50"
className="flex-1 "
>
<XCircle className="h-4 w-4 mr-2" />
Cancel
@@ -626,9 +626,9 @@ Proceed with activation?`;
{sub.status === 'active' && hasPermission('subscriptions.cancel') && (
<Button
size="sm"
variant="outline"
variant="outline-destructive"
onClick={() => handleCancelSubscription(sub.id)}
className="text-red-600 hover:bg-red-50"
className=""
>
<XCircle className="h-4 w-4" />
</Button>