Skip to content

Commit

Permalink
feat(comp): use only subpixel antialiasing
Browse files Browse the repository at this point in the history
Signed-off-by: Irvan Malik <irvanmalik48@gmail.com>
  • Loading branch information
irvanmalik48 committed Jun 11, 2024
1 parent 9169f7c commit 4c87a05
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/custom/fab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default function FAB() {
</Button>
</PopoverTrigger>
<PopoverContent
className={`p-0 overflow-hidden z-[999] dark:subpixel-antialiased antialiased ${jetbrainsMono.variable} ${mPlus.variable} font-sans`}
className={`p-0 overflow-hidden z-[999] subpixel-antialiased ${jetbrainsMono.variable} ${mPlus.variable} font-sans`}
align="end"
sideOffset={16}
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/default.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default function DefaultLayout({
}}
></motion.div>
<motion.main
className={`w-full flex flex-col min-h-screen bg-background text-foreground font-sans dark:subpixel-antialiased antialiased ${jetbrainsMono.variable} ${mPlus.variable}`}
className={`w-full flex flex-col min-h-screen bg-background text-foreground font-sans subpixel-antialiased ${jetbrainsMono.variable} ${mPlus.variable}`}
initial={{ opacity: 0, y: 20, scaleY: 1.02, originY: 0 }}
animate={{ opacity: 1, y: 0, scaleY: 1, originY: 0 }}
exit={{ opacity: 0, y: -20 }}
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/toaster.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function Toaster() {
return (
<Toast key={id} {...props}>
<div
className={`grid gap-1 dark:subpixel-antialiased antialiased ${jetbrainsMono.variable} ${mPlus.variable} font-sans`}
className={`grid gap-1 subpixel-antialiased ${jetbrainsMono.variable} ${mPlus.variable} font-sans`}
>
{title && <ToastTitle>{title}</ToastTitle>}
{description && (
Expand Down

0 comments on commit 4c87a05

Please sign in to comment.