Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

fix: light mode issues (#1076)

Ayush Kumar Yadav0d4c93514c66
diff --git a/apps/web/src/app/[locale]/_components/hero.tsx b/apps/web/src/app/[locale]/_components/hero.tsx
index aea210e5..576fd8ea 100644
--- a/apps/web/src/app/[locale]/_components/hero.tsx
+++ b/apps/web/src/app/[locale]/_components/hero.tsx
@@ -212,11 +212,11 @@ export async function Hero() {
{session ? (
<Button
asChild
- className="hero-join-button group relative mx-auto w-fit overflow-hidden rounded-xl p-[2px] font-bold transition-all duration-300 hover:bg-transparent hover:shadow-[0_0_2rem_-0.5rem_#FFB800] dark:hidden md:mr-0 lg:mr-auto"
+ className="hero-join-button group relative mx-auto w-fit overflow-hidden rounded-xl p-[2px] font-bold transition-all duration-300 hover:bg-transparent hover:shadow-[0_0_2rem_-0.5rem_#3B82F6] dark:hidden md:mr-0 lg:mr-auto"
variant="outline"
>
<Link href="/explore">
- <span className="inline-flex h-full w-fit items-center gap-2 rounded-[10px] bg-white px-4 py-2 text-[#FFB800] transition-all duration-300">
+ <span className="text-primary inline-flex h-full w-fit items-center gap-2 rounded-[10px] bg-white px-4 py-2 transition-all duration-300">
<Compass className="h-4 w-4" />
Explore
</span>
diff --git a/packages/ui/src/components/toast.tsx b/packages/ui/src/components/toast.tsx
index 7a19ef95..a3407751 100644
--- a/packages/ui/src/components/toast.tsx
+++ b/packages/ui/src/components/toast.tsx
@@ -59,7 +59,7 @@ const ToastAction = React.forwardRef<
>(({ className, ...props }, ref) => (
<ToastPrimitives.Action
className={cn(
- 'ring-offset-background hover:bg-secondary focus:ring-ring group-[.destructive]:border-destructive-foreground group-[.destructive]:dark:hover:text-destructive-foreground group-[.destructive]:hover:bg-destructive-foreground group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive inline-flex h-8 shrink-0 items-center justify-center rounded-md border border-white bg-transparent px-3 text-sm font-medium transition-colors hover:text-[#27272a] focus:outline-none focus:ring-2 focus:ring-offset-0 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:hover:text-[#27272a] dark:hover:border-[#27272a] dark:hover:text-white group-[.destructive]:dark:hover:border-[#27272a] group-[.destructive]:dark:hover:bg-[#27272a]',
+ 'ring-offset-background hover:bg-secondary focus:ring-ring group-[.destructive]:border-destructive-foreground group-[.destructive]:dark:hover:text-destructive-foreground group-[.destructive]:hover:bg-destructive-foreground group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive inline-flex h-8 shrink-0 items-center justify-center rounded-md border border-white bg-transparent px-3 text-sm font-medium text-black transition-colors hover:text-[#27272a] focus:outline-none focus:ring-2 focus:ring-offset-0 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:hover:text-[#27272a] dark:hover:border-[#27272a] dark:hover:text-white group-[.destructive]:dark:hover:border-[#27272a] group-[.destructive]:dark:hover:bg-[#27272a]',
className,
)}
ref={ref}