Skip to content

Commit 1be3298

Browse files
committed
fix: icon colors
1 parent fc74c8e commit 1be3298

File tree

4 files changed

+24
-11
lines changed

4 files changed

+24
-11
lines changed

apps/dashboard/app/(main)/settings/page.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import {
44
BellIcon,
55
GearSixIcon,
6+
KeyIcon,
67
ShieldIcon,
78
UserIcon,
89
} from '@phosphor-icons/react';
@@ -125,7 +126,7 @@ const tabs: NavItem[] = [
125126
{
126127
id: 'api-keys',
127128
label: 'API keys',
128-
icon: GearSixIcon,
129+
icon: KeyIcon,
129130
},
130131
{
131132
id: 'notifications',
@@ -179,7 +180,7 @@ export default function SettingsPage() {
179180
size="sm"
180181
variant={activeTab === item.id ? 'secondary' : 'ghost'}
181182
>
182-
<item.icon className="mr-2 h-4 w-4" />
183+
<item.icon className="mr-2 h-4 w-4" weight="duotone" />
183184
{item.label}
184185
</Button>
185186
))}

apps/dashboard/components/organizations/api-key-create-dialog.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,10 @@ export function ApiKeyCreateDialog({
207207
<SheetHeader className="space-y-3 border-border/50 border-b pb-6">
208208
<div className="flex items-center gap-3">
209209
<div className="rounded border p-3">
210-
<KeyIcon className="h-6 w-6" weight="duotone" />
210+
<KeyIcon
211+
className="h-6 w-6 not-dark:text-primary"
212+
weight="duotone"
213+
/>
211214
</div>
212215
<div>
213216
<SheetTitle className="font-semibold text-foreground text-xl">
@@ -319,7 +322,7 @@ export function ApiKeyCreateDialog({
319322
onClick={addWebsite}
320323
type="button"
321324
>
322-
<PlusIcon className="mr-2 h-4 w-4" />
325+
<PlusIcon className="mr-2 h-4 w-4 not-dark:text-primary" />
323326
Add
324327
</Button>
325328
</div>

apps/dashboard/components/organizations/api-key-detail-dialog.tsx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,10 @@ export function ApiKeyDetailDialog({
313313
<SheetHeader className="space-y-3 border-border/50 border-b pb-6">
314314
<div className="flex items-center gap-3">
315315
<div className="rounded border p-3">
316-
<KeyIcon className="h-6 w-6" weight="duotone" />
316+
<KeyIcon
317+
className="h-6 w-6 not-dark:text-primary"
318+
weight="duotone"
319+
/>
317320
</div>
318321
<div>
319322
<SheetTitle className="font-semibold text-foreground text-xl">
@@ -335,7 +338,10 @@ export function ApiKeyDetailDialog({
335338
<div className="rounded border p-4">
336339
<div className="flex items-center gap-4">
337340
<div className="flex h-12 w-12 flex-shrink-0 items-center justify-center rounded bg-muted">
338-
<KeyIcon className="h-6 w-6" weight="duotone" />
341+
<KeyIcon
342+
className="h-6 w-6 not-dark:text-primary"
343+
weight="duotone"
344+
/>
339345
</div>
340346
<div className="flex-1">
341347
<div className="font-semibold text-foreground text-lg">
@@ -361,7 +367,10 @@ export function ApiKeyDetailDialog({
361367
{/* Configuration Form */}
362368
<div className="space-y-4">
363369
<div className="flex items-center gap-2">
364-
<PencilIcon className="h-5 w-5" weight="duotone" />
370+
<PencilIcon
371+
className="h-5 w-5 not-dark:text-primary"
372+
weight="duotone"
373+
/>
365374
<h3 className="font-semibold text-base text-foreground">
366375
Configuration
367376
</h3>

apps/dashboard/components/organizations/api-key-list.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export function ApiKeyList({
7575
return (
7676
<div className="rounded border p-6 text-center">
7777
<div className="mx-auto mb-3 flex h-12 w-12 items-center justify-center rounded-full bg-muted">
78-
<KeyIcon className="h-6 w-6 text-muted-foreground" weight="duotone" />
78+
<KeyIcon className="h-6 w-6 not-dark:text-primary" weight="duotone" />
7979
</div>
8080
<div className="font-semibold text-foreground text-sm">
8181
Failed to load API keys
@@ -108,7 +108,7 @@ export function ApiKeyList({
108108
</div>
109109
</div>
110110
<Button onClick={onCreateNew} type="button">
111-
<PlusIcon className="mr-2 h-4 w-4" />
111+
<PlusIcon className="mr-2 h-4 w-4 not-dark:text-primary" />
112112
Create Key
113113
</Button>
114114
</div>
@@ -215,7 +215,7 @@ export function ApiKeyList({
215215
<div className="rounded border border-dashed p-8 text-center">
216216
<div className="mx-auto mb-4 flex h-12 w-12 items-center justify-center rounded-full bg-muted">
217217
<KeyIcon
218-
className="h-6 w-6 text-muted-foreground"
218+
className="h-6 w-6 not-dark:text-primary text-muted-foreground"
219219
weight="duotone"
220220
/>
221221
</div>
@@ -226,7 +226,7 @@ export function ApiKeyList({
226226
Create your first API key to start integrating with our platform.
227227
</div>
228228
<Button onClick={onCreateNew} type="button">
229-
<PlusIcon className="mr-2 h-4 w-4" />
229+
<PlusIcon className="mr-2 h-4 w-4 not-dark:text-primary" />
230230
Create Your First Key
231231
</Button>
232232
</div>

0 commit comments

Comments
 (0)