From 07401a4ce230faeaebecf23b874d9c96ab247a0b Mon Sep 17 00:00:00 2001
From: Usman Baig
Date: Sat, 28 Mar 2026 00:48:05 +0100
Subject: [PATCH] fix: use accessible button color tokens for WCAG AA contrast
Swap bg-brand-orange to bg-brand-orange-button on all interactive
buttons with white text. Decorative uses unchanged. Bumps
@ciphera-net/ui to 0.3.6.
---
app/integrations/page.tsx | 6 +++---
app/sites/[id]/cdn/page.tsx | 2 +-
app/sites/[id]/search/page.tsx | 2 +-
components/checkout/PaymentForm.tsx | 2 +-
components/dashboard/AddFilterDropdown.tsx | 4 ++--
components/dashboard/Chart.tsx | 2 +-
components/dashboard/EventProperties.tsx | 2 +-
components/dashboard/FilterBar.tsx | 2 +-
components/funnels/BreakdownDrawer.tsx | 2 +-
components/funnels/FunnelForm.tsx | 6 +++---
package-lock.json | 8 ++++----
package.json | 2 +-
12 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/app/integrations/page.tsx b/app/integrations/page.tsx
index 8582f22..dccc121 100644
--- a/app/integrations/page.tsx
+++ b/app/integrations/page.tsx
@@ -188,7 +188,7 @@ export default function IntegrationsPage() {
onClick={() => handleCategoryClick('all')}
className={`px-4 py-1.5 rounded-full text-sm font-medium transition-all ${
activeCategory === 'all'
- ? 'bg-brand-orange text-white shadow-sm'
+ ? 'bg-brand-orange-button text-white shadow-sm'
: 'bg-neutral-800 text-neutral-400 hover:bg-neutral-700'
}`}
>
@@ -200,7 +200,7 @@ export default function IntegrationsPage() {
onClick={() => handleCategoryClick(cat)}
className={`px-4 py-1.5 rounded-full text-sm font-medium transition-all ${
activeCategory === cat
- ? 'bg-brand-orange text-white shadow-sm'
+ ? 'bg-brand-orange-button text-white shadow-sm'
: 'bg-neutral-800 text-neutral-400 hover:bg-neutral-700'
}`}
>
@@ -335,7 +335,7 @@ export default function IntegrationsPage() {