From 99e212d5118fa7bc25b1cd4eff14ef57a50b847d Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sun, 9 Nov 2025 09:09:05 +0000 Subject: [PATCH] completionId: cgen-d84ed894d6de4ba28ab6e04070fa2692 cgen-d84ed894d6de4ba28ab6e04070fa2692 --- client/components/docs/DocsLayout.tsx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/client/components/docs/DocsLayout.tsx b/client/components/docs/DocsLayout.tsx index f8a3b38b..b91c9ff9 100644 --- a/client/components/docs/DocsLayout.tsx +++ b/client/components/docs/DocsLayout.tsx @@ -115,8 +115,22 @@ export default function DocsLayout({ const isCurrentPage = (path: string) => location.pathname === path; + const gridPatternStyle = + theme === "professional" + ? { + backgroundImage: ` + linear-gradient(0deg, transparent 24%, rgba(59, 130, 246, 0.05) 25%, rgba(59, 130, 246, 0.05) 26%, transparent 27%, transparent 74%, rgba(59, 130, 246, 0.05) 75%, rgba(59, 130, 246, 0.05) 76%, transparent 77%, transparent), + linear-gradient(90deg, transparent 24%, rgba(59, 130, 246, 0.05) 25%, rgba(59, 130, 246, 0.05) 26%, transparent 27%, transparent 74%, rgba(59, 130, 246, 0.05) 75%, rgba(59, 130, 246, 0.05) 76%, transparent 77%, transparent) + `, + backgroundSize: "50px 50px", + } + : undefined; + return ( -
+
{/* Sidebar */}