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 */}