🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Update component styles for improved visual consistency and accessibility
Bill Yangfa5730a6435c
diff --git a/docs/src/app/(home)/page.tsx b/docs/src/app/(home)/page.tsxindex 9ac63ede7..dca4a677a 100644--- a/docs/src/app/(home)/page.tsx+++ b/docs/src/app/(home)/page.tsx@@ -386,7 +386,7 @@ export default function HomePage() {return (<divkey={feature.title}- className="bg-neutral-100/50 dark:bg-neutral-900 border border-neutral-300/50 dark:border-neutral-800/50 rounded-lg p-5 transition-colors"+ className="bg-neutral-100/50 dark:bg-neutral-800/20 border border-neutral-300/50 dark:border-neutral-800/50 rounded-lg p-5 transition-colors"><h3 className="font-semibold mb-2 flex items-center gap-2"><Icon size={20} className="text-neutral-600 dark:text-neutral-400" />diff --git a/docs/src/components/Cards/RealTimeAnalytics.tsx b/docs/src/components/Cards/RealTimeAnalytics.tsxindex ee90d77e6..999ab8da4 100644--- a/docs/src/components/Cards/RealTimeAnalytics.tsx+++ b/docs/src/components/Cards/RealTimeAnalytics.tsx@@ -109,7 +109,7 @@ function EventCard({ event, index, isNew }: { event: Event; index: number; isNewreturn (<div- className="absolute w-full rounded-md bg-neutral-200/50 dark:bg-neutral-800/50 overflow-hidden p-2 flex flex-col transition-all duration-500"+ className="absolute w-full rounded-md border border-neutral-300/50 dark:border-neutral-800/50 bg-neutral-100/50 dark:bg-neutral-800/20 overflow-hidden p-2 flex flex-col transition-all duration-500"style={{transform: isAnimating && index === 0 ? `translateY(-70px)` : `translateY(${index * 70}px)`,opacity: isAnimating && index === 0 ? 0 : index < 4 ? 1 : 0,diff --git a/docs/src/components/Cards/SessionReplay.tsx b/docs/src/components/Cards/SessionReplay.tsxindex af51202f1..6793fac3f 100644--- a/docs/src/components/Cards/SessionReplay.tsx+++ b/docs/src/components/Cards/SessionReplay.tsx@@ -59,14 +59,14 @@ export function SessionReplay() {{/* Mock website content */}<div className="relative overflow-hidden">{/* Browser chrome */}- <div className="bg-neutral-300 dark:bg-neutral-800 h-7 flex items-center px-2 gap-2 rounded-t-lg">+ <div className="bg-neutral-200 dark:bg-neutral-800 h-7 flex items-center px-2 gap-2 rounded-t-lg"><div className="flex gap-1"><div className="w-2 h-2 rounded-full bg-red-500"></div><div className="w-2 h-2 rounded-full bg-yellow-500"></div><div className="w-2 h-2 rounded-full bg-green-500"></div></div><div className="flex-1 mx-3">- <div className="bg-neutral-400 dark:bg-neutral-700 rounded px-2 py-0.5 text-[10px] text-neutral-900 dark:text-neutral-300">+ <div className="bg-neutral-100 dark:bg-neutral-700 rounded px-2 py-0.5 text-[10px] text-neutral-900 dark:text-neutral-300">https://example.com/products</div></div>@@ -158,7 +158,7 @@ export function SessionReplay() {</div>{/* Video controls */}- <div className="bg-neutral-300/50 dark:bg-neutral-800/50 backdrop-blur-sm p-2 pb-10">+ <div className="bg-neutral-100/50 dark:bg-neutral-800/20 backdrop-blur-sm p-2 pb-10"><div className="flex items-center gap-3">{/* Play/Pause button */}<buttondiff --git a/docs/src/components/Integration.tsx b/docs/src/components/Integration.tsxindex 34211c511..fcb6268d4 100644--- a/docs/src/components/Integration.tsx+++ b/docs/src/components/Integration.tsx@@ -87,8 +87,8 @@ const PlatformLogo = ({ name, icon: Icon, path }: { name: string; icon: Componen<divclassName={cn("flex flex-col justify-center gap-4 p-4 w-32",- "bg-neutral-100/50 dark:bg-neutral-900 backdrop-blur-sm rounded-lg",- "border border-neutral-300/50 dark:border-neutral-700/50 hover:border-neutral-500 dark:hover:border-neutral-500 transition-colors duration-200",+ "bg-neutral-100/50 dark:bg-neutral-800/20 backdrop-blur-sm rounded-lg",+ "border border-neutral-300/50 dark:border-neutral-800/50 hover:border-neutral-500 dark:hover:border-neutral-700 transition-colors duration-200","cursor-pointer hover:scale-105 transition-transform")}>