Skip to content

Commit a595071

Browse files
committed
fix: replace phosphor for lucide
1 parent dcd4771 commit a595071

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

website/app/components/sidebar.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Link, useLocation } from '@remix-run/react';
22

33
import { DocsRoutes } from '@/docs.routes';
44
import { cn } from '@/utils/index';
5-
import { ArrowUpRight } from '@phosphor-icons/react';
5+
import { ArrowUpRight } from 'lucide-react';
66

77
const SidebarContent = () => {
88
const location = useLocation();
@@ -51,7 +51,7 @@ const SidebarContent = () => {
5151
className="flex items-center py-1 text-neutral-600 transition-colors duration-100 hover:text-black dark:text-neutral-400 dark:decoration-neutral-700 dark:hover:text-white"
5252
>
5353
<span>Create an issue</span>
54-
<ArrowUpRight height={10} />
54+
<ArrowUpRight height={14} />
5555
</a>
5656
</div>
5757
</nav>

website/app/components/theme-toggle.tsx

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Moon, Sun } from '@phosphor-icons/react';
1+
import { Moon, Sun } from 'lucide-react';
22
import { Theme, useTheme } from 'remix-themes';
33

44
import {
@@ -16,7 +16,11 @@ export function ModeToggle() {
1616
<DropdownMenu>
1717
<DropdownMenuTrigger asChild>
1818
<Button variant="ghost" size="icon">
19-
{theme === Theme.LIGHT ? <Moon size={20} /> : <Sun size={20} />}
19+
{theme === Theme.LIGHT ? (
20+
<Moon size={22} strokeWidth={1.5} />
21+
) : (
22+
<Sun size={22} strokeWidth={1.5} />
23+
)}
2024
<span className="sr-only">Toggle theme</span>
2125
</Button>
2226
</DropdownMenuTrigger>

website/app/routes/_index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { MetaFunction } from '@vercel/remix';
22
import { useToast } from '@pheralb/toast';
33
import { SparkleCard } from '@/ui/sparkle-card';
44
import { Button } from '@/ui/button';
5-
import { Sparkle } from '@phosphor-icons/react';
5+
import { Sparkles } from 'lucide-react';
66

77
export const meta: MetaFunction = () => {
88
return [
@@ -35,7 +35,7 @@ export default function Index() {
3535
})
3636
}
3737
>
38-
<Sparkle height={14} width={14} />
38+
<Sparkles height={14} width={14} />
3939
<span>Render a toast</span>
4040
</Button>
4141
<Button

website/app/ui/dropdown-menu.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import * as React from 'react';
44
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
5-
import { Check, ArrowRight, CheckCircle } from '@phosphor-icons/react';
5+
import { Check, ArrowRight, CheckCircle } from 'lucide-react';
66

77
import { cn } from '@/utils';
88

0 commit comments

Comments
 (0)