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

This commit is contained in:
2026-01-13 23:51:13 -06:00
parent 21a269998d
commit 4cdccc0323
16 changed files with 92 additions and 60 deletions

View File

@@ -189,7 +189,7 @@ const AdminBylaws = () => {
{hasPermission('bylaws.create') && (
<Button
onClick={handleCreate}
className="bg-brand-purple text-white hover:bg-[var(--purple-muted)] rounded-full flex items-center gap-2"
className="btn-lavender flex items-center gap-2"
>
<Plus className="h-4 w-4" />
Add Version
@@ -202,8 +202,8 @@ const AdminBylaws = () => {
<Card className="p-6 border-2 border-brand-purple ">
<div className="flex items-center justify-between mb-4">
<div className="flex items-center gap-3">
<div className="bg-gradient-to-br from-brand-purple to-[var(--purple-ink)] p-3 rounded-xl">
<Scale className="h-6 w-6 text-white" />
<div className="bg-light-lavender p-3 rounded-xl">
<Scale className="h-6 w-6 " />
</div>
<div>
<h3 className="text-xl font-semibold text-[var(--purple-ink)]">
@@ -315,7 +315,7 @@ const AdminBylaws = () => {
variant="outline"
size="sm"
onClick={() => handleDelete(bylawsDoc)}
className="border-red-500 text-red-500 hover:bg-red-50"
className="btn-outline-destructive"
>
<Trash2 className="h-4 w-4" />
</Button>
@@ -482,9 +482,9 @@ const AdminBylaws = () => {
Cancel
</Button>
<Button
variant="destructive"
variant="outline"
onClick={confirmDelete}
className="bg-red-500 hover:bg-red-600"
className="btn-outline-destructive"
>
Delete
</Button>