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

@@ -210,7 +210,7 @@ const AdminBylaws = () => {
{currentBylaws.title}
</h3>
<div className="flex items-center gap-2 mt-1">
<Badge className="bg-[var(--green-light)] text-white">
<Badge variant={'green'} className="">
<Check className="h-3 w-3 mr-1" />
Current Version
</Badge>
@@ -222,7 +222,7 @@ const AdminBylaws = () => {
</div>
<div className="flex gap-2">
<Button
variant="outline"
variant="ghost"
size="sm"
onClick={() => window.open(currentBylaws.document_url, '_blank')}
className="border-brand-purple text-brand-purple "
@@ -242,10 +242,10 @@ const AdminBylaws = () => {
)}
{hasPermission('bylaws.delete') && (
<Button
variant="outline"
variant="outline-destructive"
size="sm"
onClick={() => handleDelete(currentBylaws)}
className="border-red-500 text-red-500 hover:bg-red-50"
className="border-red-500 text-red-500"
>
<Trash2 className="h-4 w-4" />
</Button>