From 8a07d5c2e6eae5d0eda71c6a08f0b5e9d99d502d Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sun, 9 Nov 2025 09:27:08 +0000 Subject: [PATCH] completionId: cgen-25ad5640701c4b20a02011b9296ab83f cgen-25ad5640701c4b20a02011b9296ab83f --- client/components/docs/QuickStartSection.tsx | 28 +++++++++++++++----- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/client/components/docs/QuickStartSection.tsx b/client/components/docs/QuickStartSection.tsx index f1bb2928..9e227332 100644 --- a/client/components/docs/QuickStartSection.tsx +++ b/client/components/docs/QuickStartSection.tsx @@ -16,6 +16,7 @@ import { Link as LinkIcon, LucideIcon, } from "lucide-react"; +import { useDocsTheme } from "@/contexts/DocsThemeContext"; export interface QuickStartCard { title: string; @@ -87,36 +88,51 @@ interface QuickStartSectionProps { export default function QuickStartSection({ cards = defaultCards, }: QuickStartSectionProps) { + const { colors, theme } = useDocsTheme(); + return (
-

Quick Start

+

+ Quick Start +

{cards.map((card, index) => { const Icon = card.icon; + const hoverBorderColor = + theme === "professional" ? "hover:border-gray-400" : "hover:border-purple-500/50"; + const iconColor = + theme === "professional" ? "text-gray-700" : "text-purple-400"; + const hoverTitleColor = + theme === "professional" ? "group-hover:text-gray-900" : "group-hover:text-purple-400"; + return (
- + {card.isNew && ( New )}
- + {card.title}
- + {card.description} -
+
{card.duration} {card.difficulty}